gtcasl/gpuocelot

Linker error on build

jwang323 opened this issue · 1 comments

From jgilb...@gmail.com on October 31, 2014 20:27:01

Problem: when i run
$sudo ./build.py --install
on ubuntu 14.04 i get:

undefined reference to setupterm' undefined reference totigetnum'
undefined reference to set_curterm' undefined reference todel_curterm'

Cause:
-ltinfo needs to be included AFTER the LLVM dependencies

Solution/Workaround:
on line 136 of SConscript replace:
ocelot_libs = ocelot_libs + ocelot_dep_libs

with:
ocelot_libs = ocelot_libs + ocelot_dep_libs + ['-ltinfo']

Original issue: http://code.google.com/p/gpuocelot/issues/detail?id=99

hi, I have the similar problem. When I build gpuocelot, is shows
problem like this:

/usr/local/lib/libocelot.so: undefined reference to `hydrazine::isinf(float)