Hi All!

I'm using protobuf-2.6.1 and I would like to make cross compiling for 
PowerPC e300c3.

export CC=powerpc-e300c3-linux-gnu-c++
export CXX=powerpc-e300c3-linux-gnu-g++

./configure --host=powerpc-e300c3-linux 

But I get these errors:

/bin/bash ../libtool --tag=CXX --mode=link powerpc-e300c3-linux-gnu-g++ 
-pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 
-g -DNDEBUG -pthread -o protoc google/protobuf/compiler/main.o -lpthread 
libprotobuf.la libprotoc.la -lz 
libtool: link: powerpc-e300c3-linux-gnu-g++ -pthread -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -pthread -o 
.libs/protoc google/protobuf/compiler/main.o -lpthread 
./.libs/libprotobuf.so ./.libs/libprotoc.so -lz -pthread -Wl,-rpath 
./.libs/libprotobuf.so: undefined reference to 
google::protobuf::internal::Release_Store(int volatile*, int)' 
./.libs/libprotobuf.so: undefined reference 
togoogle::protobuf::internal::Acquire_CompareAndSwap(int volatile, int, 
./.libs/libprotobuf.so: undefined reference to 
`google::protobuf::internal::Acquire_Load(int const volatile)'
collect2: ld returned 1 exit status
make[3]: *** [protoc] Error 1
make[3]: Leaving directory /home/user/protobuf-2.6.1/src' make[2]: *** 
[all] Error 2 make[2]: Leaving directory/home/user/protobuf-2.6.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/protobuf-2.6.1/protobuf-2.6.1'

make: *** [all] Error 2

What I'm doing wrong???



You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to