caffe icon indicating copy to clipboard operation
caffe copied to clipboard

/usr/bin/ld: .build_release/lib/libcaffe.a(syncedmem.o): undefined reference to symbol 'cudaMalloc' //usr/local/cuda-6.5/lib64/libcudart.so.6.5: error adding symbols: DSO missing from command line collect2: ld returned 1 exit status make: *** [.build_release/tools/caffe.bin] Error 1

Open kingvision opened this issue 12 years ago • 2 comments

/usr/bin/ld: .build_release/lib/libcaffe.a(syncedmem.o): undefined reference to symbol 'cudaMalloc' //usr/local/cuda-6.5/lib64/libcudart.so.6.5: error adding symbols: DSO missing from command line collect2: ld returned 1 exit status make: *** [.build_release/tools/caffe.bin] Error 1

who can tell me where is the error?

kingvision avatar Nov 06 '14 08:11 kingvision

You'd need to provide more information on your operating system and software configuration.

beniz avatar Nov 06 '14 10:11 beniz

The DSO means Dynamic Shared Object, and from what you are presenting here this might be a problem with the linker. It cannot find the reference to cudaMalloc(). Are you compiling Caffe's master or dev or have you made some changes yourself? It is needed to provide some more information.

cNikolaou avatar Nov 06 '14 19:11 cNikolaou