[protobuf] Android Cross Compile

2011-03-09 Thread Evol
Hello, 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

Re: [protobuf] Android Cross Compile

2011-03-24 Thread Pherl Liu
Looks like pthread library is missing. This should have been covered by the acx_pthread.m4 script. Could you please try to manually run the linker(the g++ line you pasted in email), by adding extra -pthread and/or -lpthread parameters? On Thu, Mar 10, 2011 at 3:42 AM, Evol wrote: > Hello, > > I a

Re: [protobuf] Android Cross Compile

2011-03-24 Thread Pherl Liu
Please also take a look at the config.log file, generated after running ./configure, in the project root directory; search for "checking for pthreads library" "checking whether pthreads work without any flags" There should be a line, after debug info, saying "result: no" or "result: yes" >From your