Comment #5 on issue 670 by [email protected]: Not Able to compile
protobuf for mips platform
https://code.google.com/p/protobuf/issues/detail?id=670
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.
Steps
./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__
make
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/common.cc -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
-bash-3.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:
https://code.google.com/hosting/settings
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.