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) #92

Open
jwang323 opened this issue Mar 29, 2015 · 0 comments
Open

issue when installing gpuocelot (linker issue) #92

jwang323 opened this issue Mar 29, 2015 · 0 comments

Comments

@jwang323
Copy link
Contributor

From [email protected] on July 09, 2014 10:12:44

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: http://code.google.com/p/gpuocelot/issues/detail?id=93

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