make
make all-recursive
make[1]: Entering directory '/home/hduser/Downloads/protobuf-2.5.0'
Making all in .
make[2]: Entering directory '/home/hduser/Downloads/protobuf-2.5.0'
make[2]: Leaving directory '/home/hduser/Downloads/protobuf-2.5.0'
Making all in src
make[2]: Entering directory '/home/hduser/Downloads/protobuf-2.5.0/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT atomicops_internals_x86_gcc.lo -MD -MP -MF .deps/atomicops_internals_x86_gcc.Tpo -c -o atomicops_internals_x86_gcc.lo `test -f 'google/protobuf/stubs/atomicops_internals_x86_gcc.cc' || echo './'`google/protobuf/stubs/atomicops_internals_x86_gcc.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT atomicops_internals_x86_gcc.lo -MD -MP -MF .deps/atomicops_internals_x86_gcc.Tpo -c google/protobuf/stubs/atomicops_internals_x86_gcc.cc -fPIC -DPIC -o .libs/atomicops_internals_x86_gcc.o
In file included from ./google/protobuf/stubs/atomicops.h:59:0,
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
#error Host architecture was not detected as supported by protobuf
^
In file included from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:0:
./google/protobuf/stubs/atomicops.h:161:1: error: stray â#â in program
#error "Atomic operations are not supported on your platform"
^
./google/protobuf/stubs/atomicops.h:188:1: note: in expansion of macro âGOOGLE_PROTOBUF_ATOMICOPS_ERRORâ
GOOGLE_PROTOBUF_ATOMICOPS_ERROR
^
./google/protobuf/stubs/atomicops.h:161:2: error: âerrorâ does not name a type
#error "Atomic operations are not supported on your platform"
^
./google/protobuf/stubs/atomicops.h:188:1: note: in expansion of macro âGOOGLE_PROTOBUF_ATOMICOPS_ERRORâ
GOOGLE_PROTOBUF_ATOMICOPS_ERROR
^
Makefile:1481: recipe for target 'atomicops_internals_x86_gcc.lo' failed
make[2]: *** [atomicops_internals_x86_gcc.lo] Error 1
make[2]: Leaving directory '/home/hduser/Downloads/protobuf-2.5.0/src'
Makefile:669: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/hduser/Downloads/protobuf-2.5.0'
Makefile:576: recipe for target 'all' failed
make: *** [all] Error 2