I am attempting to cross-compile the libprotobuf library so I can use
it on native android c/c++ code. Due to the ues of bionic as the
android libc, I am getting the following error when I do a make.

  libtool: link: g++ -Wall -Wwrite-strings -Woverloaded-virtual -Wno-
sign-compare -O2 -g -DNDEBUG -o .libs/protoc main.o  ./.libs/
libprotobuf.so ./.libs/libprotoc.so -lz -Wl,-rpath -Wl,/usr/local/
./.libs/libprotobuf.so: undefined reference to `pthread_once'

I am using the standalone compiler that comes with the NDK.  Thanks in
advance for any help.

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to