/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
/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?
You'd need to provide more information on your operating system and software configuration.
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.