build link error

23 views
Skip to first unread message

王璐

unread,
Mar 28, 2018, 12:30:45 PM3/28/18
to gpuocelot
I met a problem when compile and build gpuocelot. Actually, it can not find hydrazine library.

The problem is shown below when I would like to install gpuocelot:


Install file: ".release_build/libocelot.so" as "/usr/local/lib/libocelot.so"
g++ -o .release_build/OcelotConfig .release_build/ocelot/tools/OcelotConfig.o -L/usr/local/lib -locelot -lboost_system -lboost_filesystem -lboost_thread -lhydralize -ldl -lrt -lpthread
g++ -o .release_build/LoadPtx .release_build/ocelot/tools/LoadPtx.o -L/usr/local/lib -locelot -lboost_system -lboost_filesystem -lboost_thread -lhydralize -ldl -lrt -lpthread
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::isinf(float)'
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::fegetround()'
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::fesetround(int)'
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::trunc(float)'
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::nearbyintf(float)'
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::log2f(float)'
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::copysign(float, float)'
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::isnormal(float)'
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::decompress(void*, unsigned long&, void const*, unsigned long)'
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::exp2f(float)'
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::trunc(double)'
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::isnan(float)'
/usr/local/lib/libocelot.so: undefined reference to `hydrazine::nearbyintf(double


Any ideas?

Reply all
Reply to author
Forward
0 new messages