sundeepdhaka / gpuocelot

Automatically exported from code.google.com/p/gpuocelot
0 stars 0 forks source link

issue when installing gpuocelot (linker issue) #93

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

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 y.mez...@gmail.com on 9 Jul 2014 at 2:12