Download Protocol Buffers 2.6.1. Run ./configure CXX=xlC successfully but immediately run gmake failed:
bash-2.05a# gmake gmake all-recursive gmake[1]: Entering directory `/home/dyang/protobuf/protobuf-2.6.1' Making all in . gmake[2]: Entering directory `/home/dyang/protobuf/protobuf-2.6.1' gmake[2]: Leaving directory `/home/dyang/protobuf/protobuf-2.6.1' Making all in src gmake[2]: Entering directory `/home/dyang/protobuf/protobuf-2.6.1/src' source='google/protobuf/stubs/atomicops_internals_x86_gcc.cc' object='google/protobuf/stubs/atomicops_internals_x86_gcc. lo' libtool=yes \ DEPDIR=.deps depmode=xlc /bin/sh ../depcomp \ /bin/sh ../libtool --tag=CXX --mode=compile xlC -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -DNDEBUG -c -o google/pr otobuf/stubs/atomicops_internals_x86_gcc.lo google/protobuf/stubs/atomicops_internals_x86_gcc.cc libtool: compile: xlC -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -DNDEBUG -c google/protobuf/stubs/atomicops_internals_x86 _gcc.cc -Wp,-qmakedep=gcc,-MFgoogle/protobuf/stubs/.deps/atomicops_internals_x86_gcc.TPlo -DPIC -o google/protobuf/stub s/.libs/atomicops_internals_x86_gcc.o "./google/protobuf/stubs/atomicops.h", line 214.1: 1540-0825 (W) The character "#" is not allowed. "./google/protobuf/stubs/platform_macros.h", line 90.1: 1540-0825 (W) The character "#" is not allowed. "./google/protobuf/stubs/platform_macros.h", line 90.1: 1540-0040 (S) The text ""Host platform was not detected as suppo rted by protobuf"" is unexpected. "error" may be undeclared or ambiguous. gmake[2]: *** [google/protobuf/stubs/atomicops_internals_x86_gcc.lo] Error 1 gmake[2]: Leaving directory `/home/dyang/protobuf/protobuf-2.6.1/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/dyang/protobuf/protobuf-2.6.1' gmake: *** [all] Error 2 Anyone successfully build on AIX? Thank you. Dannis -- 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.
