Error in installing GPUOcelot using subversion

339 views
Skip to first unread message

Lokesh Jain

unread,
Jan 15, 2015, 1:02:03 AM1/15/15
to gpuo...@googlegroups.com
I have followed Ankur Anandapu's guide for GPUOcelot installation. The guide is given on this link http://bt.nitk.ac.in/r/GPU-Ocelot-Manual-Ankur.pdf. I used subversion to get the full ocelot package. But the ocelot build failed with the following error.

/usr/local/lib/libocelot.so: undefined reference to `setupterm'
/usr/local/lib/libocelot.so: undefined reference to `tigetnum'
/usr/local/lib/libocelot.so: undefined reference to `set_curterm'
/usr/local/lib/libocelot.so: undefined reference to `del_curterm'
collect2: error: ld returned 1 exit status
scons: *** [.release_build/OcelotConfig] Error 1
Build failed...
Build failed

I have installed all the dependencies. Can somebody help me fix this error?




Si Li

unread,
Jan 16, 2015, 12:35:44 PM1/16/15
to gpuo...@googlegroups.com
This sounds like the error is related to LLVM. What version do you have installed and what is your OS version?
Message has been deleted

Lokesh Jain

unread,
Jan 17, 2015, 5:58:26 AM1/17/15
to gpuo...@googlegroups.com
My OS version is ubuntu 14.10 and llvm version is llvm 3.4.

Si Li

unread,
Jan 18, 2015, 7:03:48 PM1/18/15
to gpuo...@googlegroups.com
Try llvm 3.5, that might solve your problem.

Lokesh Jain

unread,
Jan 20, 2015, 7:33:00 AM1/20/15
to gpuo...@googlegroups.com
 I have installed llvm 3.5. But now I am getting this error.

g++ -o .release_build/ocelot/ir/implementation/ExternalFunctionSet.os -c -O2 -Wall -std=c++0x -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -I. -I/usr/include -I/usr/include -I/usr/local/include -I.release_build -I. ocelot/ir/implementation/ExternalFunctionSet.cpp
ocelot/ir/implementation/ExternalFunctionSet.cpp: In destructor 'ir::ExternalFunctionSet::~ExternalFunctionSet()':
ocelot/ir/implementation/ExternalFunctionSet.cpp:412:33: error: 'class llvm::ExecutionEngine' has no member named 'freeMachineCodeForFunction'
    executive::LLVMState::jit()->freeMachineCodeForFunction(function);
                                 ^
ocelot/ir/implementation/ExternalFunctionSet.cpp: In member function 'void ir::ExternalFunctionSet::remove(const string&)':
ocelot/ir/implementation/ExternalFunctionSet.cpp:451:32: error: 'class llvm::ExecutionEngine' has no member named 'freeMachineCodeForFunction'
   executive::LLVMState::jit()->freeMachineCodeForFunction(llvmFunction);
                                ^
scons: *** [.release_build/ocelot/ir/implementation/ExternalFunctionSet.os] Error 1
Build failed...
Build failed

Leiming Yu

unread,
Apr 11, 2015, 11:35:18 PM4/11/15
to gpuo...@googlegroups.com
Hello,

   I have the same issue. Did you find a way to solve it?

Thanks,
LY

Lokesh Jain

unread,
Apr 12, 2015, 2:30:11 AM4/12/15
to gpuo...@googlegroups.com
Hie

This blog would be helpful. They had a similar error. You can follow their method to solve your problem. There is simply a problem in the directories and file names which have been included.

Regards
Lokesh

Regards,
Lokesh Jain
M.Sc. (Hons.) Mathematics | B.E. (Hons.) Computer Science Engineering

Birla Institute of Technology & Science, Pilani
Pilani CampusPilani 333031, Rajasthan, India
Email Address: f201...@pilani.bits-pilani.ac.in
Phone: +91 9772050107

--
You received this message because you are subscribed to a topic in the Google Groups "gpuocelot" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gpuocelot/j8Hb70S4yoQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gpuocelot+...@googlegroups.com.
To post to this group, send email to gpuo...@googlegroups.com.
Visit this group at http://groups.google.com/group/gpuocelot.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages