Open vldmr-d opened 4 years ago
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -static -o libscalpel_test libscalpel_test.o libscalpel.la -ltre -lpthread -lm libtool: link: g++ -g -O2 -o libscalpel_test libscalpel_test.o ./.libs/libscalpel.a -ltre -lpthread -lm ./.libs/libscalpel.a(dig.o): In function `gpu_handler(void*)': /home/vld/scalpel/src/dig.cpp:926: undefined reference to `copytodevicepattern(char (*) [20])' /home/vld/scalpel/src/dig.cpp:927: undefined reference to `copytodevicelookup_headers(char (*) [16])' /home/vld/scalpel/src/dig.cpp:928: undefined reference to `copytodevicelookup_footers(char (*) [16])' /home/vld/scalpel/src/dig.cpp:933: undefined reference to `gpu_init(int)' /home/vld/scalpel/src/dig.cpp:942: undefined reference to `gpuSearchBuffer(char*, int, char*, int, char)' /home/vld/scalpel/src/dig.cpp:951: undefined reference to `gpuSearchBuffer(char*, int, char*, int, char)' /home/vld/scalpel/src/dig.cpp:958: undefined reference to `gpu_cleanup()' ./.libs/libscalpel.a(dig.o): In function `init_store()': /home/vld/scalpel/src/dig.cpp:2635: undefined reference to `ourCudaMallocHost(void**, int)' collect2: error: ld returned 1 exit status Makefile:485: recipe for target 'libscalpel_test' failed make[1]: *** [libscalpel_test] Error 1 make[1]: Leaving directory '/home/vld/scalpel/src' Makefile:524: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1