You are not logged in.
Pages: 1
Hello, I'm trying to install caffe and it is giving me this error:
AR -o .build_release/lib/libcaffe.a
LD -o .build_release/lib/libcaffe.so.1.0.0-rc3
CXX tools/convert_imageset.cpp
CXX/LD -o .build_release/tools/convert_imageset.bin
.build_release/lib/libcaffe.so: undefined reference to `google::base::CheckOpMessageBuilder::NewString()'
.build_release/lib/libcaffe.so: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)'
.build_release/lib/libcaffe.so: undefined reference to `caffe::BlockingQueue<caffe::Batch<double>*>::pop(std::string const&)'
.build_release/lib/libcaffe.so: undefined reference to `caffe::BlockingQueue<caffe::Batch<float>*>::pop(std::string const&)'
collect2: error: ld returned 1 exit status
Makefile:616: recipe for target '.build_release/tools/convert_imageset.bin' failed
make: *** [.build_release/tools/convert_imageset.bin] Error 1
I've installed protobuf from AUR.
I have already changed the GCC for 4.9 also.
Offline
I am too getting this error. I am using gcc49 for both cuda and to build caffe. It seems that the installed protobuf library has been compiled with newer gcc. CUDA-8 is out now does it works with gcc6? if so how to install it, I can't see arch-linux while downloading from the nvidia web-site.
Last edited by jayendra (2016-06-23 05:05:56)
Offline
CUDA-8 does not work with gcc6. Instead it uses gcc 5
Offline
I saw somewhere this https://gist.github.com/wangruohui/679b05fcd1466bb0937f but it is not working for me. I assume we have to compile all conflicting-dependencies with gcc-4.9., but I haven't tried it yet.
Last edited by jayendra (2016-06-26 03:20:45)
Offline
2016-05-22 Added workaround to build package with clang while gcc fails. Aleksey Filippov
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
I cannot see that comment, but I am afraid of this.
Does this need to conflict(/provide) with protobuf or is there a way where both can live in harmony? As it is now, this package breaks Evolution (email) which is a bummer.
https://aur.archlinux.org/pkgbase/protobuf3
Last edited by jayendra (2016-06-27 13:46:58)
Offline
Pages: 1