Hello All,

I am getting the following error:

$ ./configure $CROSSOPTS --prefix=protoinstall 
--with-protoc=tmppro/protobuf-2.6.0/src/protoc CXXFLAGS=-D__MIPSEB__

make
make  all-recursive
make[1]: Entering directory `/home/stowkhir/workout/protobuf-2.6.0'
Making all in .
make[2]: Entering directory `/home/stowkhir/workout/protobuf-2.6.0'
make[2]: Leaving directory `/home/stowkhir/workout/protobuf-2.6.0'
Making all in src
make[2]: Entering directory `/home/stowkhir/workout/protobuf-2.6.0/src'
make  all-am
make[3]: Entering directory `/home/stowkhir/workout/protobuf-2.6.0/src'
depbase=`echo google/protobuf/stubs/atomicops_internals_x86_gcc.lo | sed 
's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX   --mode=compile 
mips64_octeon2-target-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..    -pthread 
-Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare  -D__MIPSEB__ 
-MT google/protobuf/stubs/atomicops_internals_x86_gcc.lo -MD -MP -MF 
$depbase.Tpo -c -o google/protobuf/stubs/atomicops_internals_x86_gcc.lo 
google/protobuf/stubs/atomicops_internals_x86_gcc.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  mips64_octeon2-target-linux-gnu-g++ -DHAVE_CONFIG_H -I. 
-I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare 
-D__MIPSEB__ -MT google/protobuf/stubs/atomicops_internals_x86_gcc.lo -MD 
-MP -MF google/protobuf/stubs/.deps/atomicops_internals_x86_gcc.Tpo -c 
google/protobuf/stubs/atomicops_internals_x86_gcc.cc -o 
google/protobuf/stubs/atomicops_internals_x86_gcc.o
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:77: 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:198: error: stray '#' in program
./google/protobuf/stubs/atomicops.h:198: error: expected constructor, 
destructor, or type conversion before string constant
make[3]: *** [google/protobuf/stubs/atomicops_internals_x86_gcc.lo] Error 1
make[3]: Leaving directory `/home/stowkhir/workout/protobuf-2.6.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/stowkhir/workout/protobuf-2.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stowkhir/workout/protobuf-2.6.0'
make: *** [all] Error 2

Is the MIPS 64 architecture supported and am I configuring the command 
properly?
Any help is appreciated.

Regards,
Towkhir

-- 
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.

Reply via email to