Comment #5 on issue 670 by Not Able to compile protobuf for mips platform

After I manually define the __MIPSEL__ in the compilation then the above .h file is getting included in the compilation and I am getting the following error. Please let me know if there is any issue with my compilation. If I dont define then the above .h file didnt get included in the compilation.
./configure --prefix=/home/inigo/gbp/ --with-protoc=../bin/protoc --host=mips-linux CC=/home/inigo/bin/mips-linux-uclibc-gcc CXX=/home/inigo/bin/mips-linux-uclibc-g++ CXXFLAGS=-D__MIPSEL__


and getting the following compilation error.
./configure --prefix=/home/inigo/gbp/ --with-protoc=../bin/protoc --host=mips-linux CC=/home/inigo/bin/mips-linux-uclibc-gcc CXX=/home/inigo/bin/mips-linux-uclibc-g++ CXXFLAGS=-D__MIPSEL__

libtool: compile: /home/inigo/bin/mips-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -D__MIPSEL__ -MT google/protobuf/stubs/common.lo -MD -MP -MF google/protobuf/stubs/.deps/common.Tpo -c google/protobuf/stubs/ -fPIC -DPIC -o google/protobuf/stubs/.libs/common.o
/tmp/ccXLEEIv.s: Assembler messages:
/tmp/ccXLEEIv.s:232: Error: opcode not supported on this processor: mips1 (mips1) `sync'
make[3]: *** [google/protobuf/stubs/common.lo] Error 1
make[3]: Leaving directory `/home/inigo/gbp/protobuf-2.6.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/inigo/gbp/protobuf-2.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/inigo/gbp/protobuf-2.6.0'
make: *** [all] Error 2

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

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 post to this group, send email to
Visit this group at
For more options, visit

Reply via email to