Closed imjiangjun closed 6 years ago
make -j8
Could you please give some advice? Thanks a lot! @hszhao PS:
未定义的引用
undefined reference to
sudo
./configure --prefix=/home/jiangjun/matio --enable-mat73=yes --with-hdf5=/home/jiangjun/hdf5
Here is the information. ...... AR -o .build_release/lib/libcaffe.a LD -o .build_release/lib/libcaffe.so.1.0.0-rc3 CXX/LD -o .build_release/tools/test_net.bin CXX/LD -o .build_release/tools/extract_features.bin CXX/LD -o .build_release/tools/compute_image_mean.bin CXX/LD -o .build_release/tools/device_query.bin CXX/LD -o .build_release/tools/convert_imageset.bin CXX/LD -o .build_release/tools/caffe.bin CXX/LD -o .build_release/tools/finetune_net.bin CXX/LD -o .build_release/tools/upgrade_solver_proto_text.bin CXX/LD -o .build_release/tools/upgrade_net_proto_text.bin CXX/LD -o .build_release/tools/train_net.bin CXX/LD -o .build_release/tools/upgrade_net_proto_binary.bin CXX/LD -o .build_release/tools/net_speed_benchmark.bin /home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用 collect2: error: ld returned 1 exit status CXX/LD -o .build_release/examples/cpp_classification/classification.bin Makefile:619: recipe for target '.build_release/tools/upgrade_solver_proto_text.bin' failed make: *** [.build_release/tools/upgrade_solver_proto_text.bin] Error 1 make: *** 正在等待未完成的任务.... /home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用 collect2: error: ld returned 1 exit status Makefile:619: recipe for target '.build_release/tools/extract_features.bin' failed make: *** [.build_release/tools/extract_features.bin] Error 1 /home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用 collect2: error: ld returned 1 exit status Makefile:619: recipe for target '.build_release/tools/compute_image_mean.bin' failed make: *** [.build_release/tools/compute_image_mean.bin] Error 1 /home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用 collect2: error: ld returned 1 exit status Makefile:619: recipe for target '.build_release/tools/convert_imageset.bin' failed make: *** [.build_release/tools/convert_imageset.bin] Error 1 /home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用 collect2: error: ld returned 1 exit status Makefile:619: recipe for target '.build_release/tools/caffe.bin' failed make: *** [.build_release/tools/caffe.bin] Error 1 /home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用 collect2: error: ld returned 1 exit status Makefile:619: recipe for target '.build_release/tools/upgrade_net_proto_text.bin' failed make: *** [.build_release/tools/upgrade_net_proto_text.bin] Error 1 /home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用 collect2: error: ld returned 1 exit status Makefile:619: recipe for target '.build_release/tools/upgrade_net_proto_binary.bin' failed make: *** [.build_release/tools/upgrade_net_proto_binary.bin] Error 1 /home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用 collect2: error: ld returned 1 exit status Makefile:624: recipe for target '.build_release/examples/cpp_classification/classification.bin' failed make: *** [.build_release/examples/cpp_classification/classification.bin] Error 1
AR -o .build_release/lib/libcaffe.a
LD -o .build_release/lib/libcaffe.so.1.0.0-rc3
CXX/LD -o .build_release/tools/test_net.bin
CXX/LD -o .build_release/tools/extract_features.bin
CXX/LD -o .build_release/tools/compute_image_mean.bin
CXX/LD -o .build_release/tools/device_query.bin
CXX/LD -o .build_release/tools/convert_imageset.bin
CXX/LD -o .build_release/tools/caffe.bin
CXX/LD -o .build_release/tools/finetune_net.bin
CXX/LD -o .build_release/tools/upgrade_solver_proto_text.bin
CXX/LD -o .build_release/tools/upgrade_net_proto_text.bin
CXX/LD -o .build_release/tools/train_net.bin
CXX/LD -o .build_release/tools/upgrade_net_proto_binary.bin
CXX/LD -o .build_release/tools/net_speed_benchmark.bin
/home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用
collect2: error: ld returned 1 exit status
CXX/LD -o .build_release/examples/cpp_classification/classification.bin
Makefile:619: recipe for target '.build_release/tools/upgrade_solver_proto_text.bin' failed
make: *** [.build_release/tools/upgrade_solver_proto_text.bin] Error 1
make: *** 正在等待未完成的任务....
Makefile:619: recipe for target '.build_release/tools/extract_features.bin' failed
make: *** [.build_release/tools/extract_features.bin] Error 1
Makefile:619: recipe for target '.build_release/tools/compute_image_mean.bin' failed
make: *** [.build_release/tools/compute_image_mean.bin] Error 1
Makefile:619: recipe for target '.build_release/tools/convert_imageset.bin' failed
make: *** [.build_release/tools/convert_imageset.bin] Error 1
Makefile:619: recipe for target '.build_release/tools/caffe.bin' failed
make: *** [.build_release/tools/caffe.bin] Error 1
Makefile:619: recipe for target '.build_release/tools/upgrade_net_proto_text.bin' failed
make: *** [.build_release/tools/upgrade_net_proto_text.bin] Error 1
Makefile:619: recipe for target '.build_release/tools/upgrade_net_proto_binary.bin' failed
make: *** [.build_release/tools/upgrade_net_proto_binary.bin] Error 1
Makefile:624: recipe for target '.build_release/examples/cpp_classification/classification.bin' failed
make: *** [.build_release/examples/cpp_classification/classification.bin] Error 1
I have fixed it. Thank you all the same.
I have installed hdf5-1.8.20 and matio-1.5.2 following their user guide, however I meet this error when using
make -j8
.Could you please give some advice? Thanks a lot! @hszhao PS:
未定义的引用
meansundefined reference to
sudo
because of my limitted permission. Please avoid suggesting usingsudo
../configure --prefix=/home/jiangjun/matio --enable-mat73=yes --with-hdf5=/home/jiangjun/hdf5
to install matio successfully.Here is the information. ......
AR -o .build_release/lib/libcaffe.a
LD -o .build_release/lib/libcaffe.so.1.0.0-rc3
CXX/LD -o .build_release/tools/test_net.bin
CXX/LD -o .build_release/tools/extract_features.bin
CXX/LD -o .build_release/tools/compute_image_mean.bin
CXX/LD -o .build_release/tools/device_query.bin
CXX/LD -o .build_release/tools/convert_imageset.bin
CXX/LD -o .build_release/tools/caffe.bin
CXX/LD -o .build_release/tools/finetune_net.bin
CXX/LD -o .build_release/tools/upgrade_solver_proto_text.bin
CXX/LD -o .build_release/tools/upgrade_net_proto_text.bin
CXX/LD -o .build_release/tools/train_net.bin
CXX/LD -o .build_release/tools/upgrade_net_proto_binary.bin
CXX/LD -o .build_release/tools/net_speed_benchmark.bin
/home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用
collect2: error: ld returned 1 exit status
CXX/LD -o .build_release/examples/cpp_classification/classification.bin
Makefile:619: recipe for target '.build_release/tools/upgrade_solver_proto_text.bin' failed
make: *** [.build_release/tools/upgrade_solver_proto_text.bin] Error 1
make: *** 正在等待未完成的任务....
/home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/extract_features.bin' failed
make: *** [.build_release/tools/extract_features.bin] Error 1
/home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/compute_image_mean.bin' failed
make: *** [.build_release/tools/compute_image_mean.bin] Error 1
/home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/convert_imageset.bin' failed
make: *** [.build_release/tools/convert_imageset.bin] Error 1
/home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/caffe.bin' failed
make: *** [.build_release/tools/caffe.bin] Error 1
/home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/upgrade_net_proto_text.bin' failed
make: *** [.build_release/tools/upgrade_net_proto_text.bin] Error 1
/home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/upgrade_net_proto_binary.bin' failed
make: *** [.build_release/tools/upgrade_net_proto_binary.bin] Error 1
/home/jiangjun/matio/lib/../lib/libmatio.so:对‘H5Rdereference’未定义的引用
collect2: error: ld returned 1 exit status
Makefile:624: recipe for target '.build_release/examples/cpp_classification/classification.bin' failed
make: *** [.build_release/examples/cpp_classification/classification.bin] Error 1