Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 670 by [email protected]: Not Able to compile protobuf for
mips platform
https://code.google.com/p/protobuf/issues/detail?id=670
What steps will reproduce the problem?
1. executed ./configure --prefix=/home/inigo/
--with-protoc=../bin/protoc --host=mips-linux --build=mips-linux-uclibc
CC=/home/inigo/bin/mips-linux-uclibc-gcc
CXX=/home/inigo/bin/mips-linux-uclibc-g++
2.make
3.
What is the expected output?
it should compile without any issues.
What do you see instead?
In file included from ./google/protobuf/stubs/atomicops.h:59,
from
google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
./google/protobuf/stubs/platform_macros.h:61:2: error: #error Host
architecture was not detected as supported by protobuf
In file included from
google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
./google/protobuf/stubs/atomicops.h:188: error: stray '#' in program
./google/protobuf/stubs/atomicops.h:188: error: expected constructor,
destructor, or type conversion before string constant
make[3]: *** [atomicops_internals_x86_gcc.lo] Error 1
Please use labels and text to provide additional information.
Help me to resolve the issue.
--
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.