Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile with GPU #39

Open
vldmr-d opened this issue May 6, 2020 · 0 comments
Open

Does not compile with GPU #39

vldmr-d opened this issue May 6, 2020 · 0 comments

Comments

@vldmr-d
Copy link

vldmr-d commented May 6, 2020

/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant