Skip to content

issue when installing gpuocelot (linker issue) #92

@jwang323

Description

@jwang323

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions