Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue when installing gpuocelot (linker issue) #93

Open
GoogleCodeExporter opened this issue Mar 15, 2016 · 0 comments
Open

issue when installing gpuocelot (linker issue) #93

GoogleCodeExporter opened this issue Mar 15, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link


hi Everyone,

I am trying to install gpuocelot on my laptop machine :
os : Linux Ubunto 12.10
g++ version is 4.7.2


I installed all the dependencies (LLVM,FLEX,BISONS,SCONS, etc), i followed the 
troubleshooting procedure but i am still getting an issue.

I am getting the following error message :

It looks like a linker prolem, 

C -lLLVMObject -lLLVMCore -lLLVMSupport
.release_build/ocelot/ocelot/tools/OcelotLinker.o:OcelotLinker.cpp:function 
tools::link(std::string const&, std::string const&, bool): error: undefined 
reference to 'transforms::ModuleLinkerPass::ModuleLinkerPass(bool)'
.release_build/ocelot/ocelot/tools/OcelotLinker.o:OcelotLinker.cpp:function 
tools::link(std::string const&, std::string const&, bool): error: undefined 
reference to 'transforms::PassManager::addPass(transforms::Pass*)'
.release_build/ocelot/ocelot/tools/OcelotLinker.o:OcelotLinker.cpp:function 
tools::link(std::string const&, std::string const&, bool): error: undefined 
reference to 'transforms::PassManager::~PassManager()'
.release_build/ocelot/ocelot/tools/OcelotLinker.o:OcelotLinker.cpp:function 
tools::link(std::string const&, std::string const&, bool): error: undefined 
reference to 'transforms::ModuleLinkerPass::linkedModule() const'
.release_build/ocelot/ocelot/tools/OcelotLinker.o:OcelotLinker.cpp:function 
tools::link(std::string const&, std::string const&, bool): error: undefined 
reference to 'ir::Module::writeIR(std::ostream&, ir::PTXEmitter::Target) const'
.release_build/ocelot/ocelot/tools/OcelotLinker.o:OcelotLinker.cpp:function 
tools::link(std::string const&, std::string const&, bool): error: undefined 
reference to 'transforms::ModuleLinkerPass::~ModuleLinkerPass()'
.release_build/ocelot/ocelot/tools/OcelotLinker.o:OcelotLinker.cpp:function 
tools::link(std::string const&, std::string const&, bool): error: undefined 
reference to 'transforms::ModuleLinkerPass::getAllUndefinedSymbols() const'
.release_build/ocelot/ocelot/tools/OcelotLinker.o:OcelotLinker.cpp:function 
tools::link(std::string const&, std::string const&, bool): error: undefined 
reference to 'hydrazine::demangleCXXString(std::string const&)'
.release_build/ocelot/ocelot/tools/OcelotLinker.o:OcelotLinker.cpp:function 
tools::link(std::string const&, std::string const&, bool): error: undefined 
reference to 'hydrazine::isMangledCXXString(std::string const&)'
.release_build/ocelot/ocelot/tools/OcelotLinker.o:OcelotLinker.cpp:function 
tools::link(std::string const&, std::string const&, bool): error: undefined 
reference to 'transforms::ModuleLinkerPass::~ModuleLinkerPass()'
.release_build/ocelot/ocelot/tools/OcelotLinker.o:OcelotLinker.cpp:function 
tools::link(std::string const&, std::string const&, bool): error: undefined 
reference to 'transforms::PassManager::~PassManager()'
.release_build/ocelot/ocelot/tools/OcelotLinker.o:OcelotLinker.cpp:function 
tools::link(std::string const&, std::string const&, bool): error: undefined 
reference to 'transforms::PassManager::~PassManager()'
collect2: error: ld returned 1 exit status
scons: *** [.release_build/ocelot/OcelotLinker] Error 1

Can anyone please help me.

Thanks in advance, 

regards YM

Original issue reported on code.google.com by [email protected] on 9 Jul 2014 at 2:12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant