jigardhaval8 / gpuocelot

Automatically exported from code.google.com/p/gpuocelot
0 stars 0 forks source link

Linker error on build #99

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Problem: when i run 
$sudo ./build.py --install 
on ubuntu 14.04 i get:

undefined reference to `setupterm'
undefined reference to `tigetnum'
undefined reference to `set_curterm'
undefined reference to `del_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 reported on code.google.com by jgilb...@gmail.com on 1 Nov 2014 at 12:27