You are not logged in.

#1 2016-06-10 21:23:28

bernardogo
Member
Registered: 2015-10-26
Posts: 22

Error while isntalling CAFFE with CUDA

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

#2 2016-06-23 05:02:12

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: Error while isntalling CAFFE with CUDA

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

#3 2016-06-23 17:46:23

bernardogo
Member
Registered: 2015-10-26
Posts: 22

Re: Error while isntalling CAFFE with CUDA

CUDA-8 does not work with gcc6. Instead it uses gcc 5

Offline

#4 2016-06-26 03:20:20

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: Error while isntalling CAFFE with CUDA

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

#5 2016-06-26 18:42:01

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,919

Re: Error while isntalling CAFFE with CUDA

aur protobuf3 changes wrote:

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

#6 2016-06-27 13:46:26

jayendra
Member
Registered: 2016-06-10
Posts: 39

Re: Error while isntalling CAFFE with CUDA

I cannot see that comment, but I am afraid of this.

greyltc commented on 2016-05-24 13:44 wrote:

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

Board footer

Powered by FluxBB