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

caffe.cpp:(.text+0x261c): undefined reference to `void caffe::caffe_gpu_dot... #4406

Closed
guchensmile opened this issue Jul 3, 2016 · 1 comment

Comments

@guchensmile
Copy link

Hello, there is a issue when I compile it with Make as follow:
CXX/LD -o .build_release/tools/train_net.bin
.build_release/tools/caffe.o: In function time()': caffe.cpp:(.text+0x261c): undefined reference tovoid caffe::caffe_gpu_dot(int, float const_, float const_, float_)'
collect2: error: ld returned 1 exit status
make: *_* [.build_release/tools/caffe.bin] Error 1
make: *** Waiting for unfinished jobs....

But it's OK when following CMake Build.

@guchensmile
Copy link
Author

I reinstall cuda, it's Ok.

I suppose there are multi cuda release in machine, and clean all the lib under /usr/local/cuda and /usr/local/cuda-7.5

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