gtcasl / gpuocelot

GPUOCelot: A dynamic compilation framework for PTX
http://gpuocelot.gatech.edu/
BSD 3-Clause "New" or "Revised" License
280 stars 69 forks source link

Linker error on build #98

Open jwang323 opened 9 years ago

jwang323 commented 9 years ago

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

wanglu1991 commented 6 years ago

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)