What steps will reproduce the problem?
1.configure --prefix=my path CXXFLAGS =-brtl -qmkshrobj
2.make
3.
What is the expected output? What do you see instead?
the output is :
" /bin/sh ../libtool --tag=CXX --mode=link xlC_r -D_THREAD_SAFE
-brtl -qmkshrobj -O2 -g -DNDEBUG -brtl -D_THREAD_SAFE -o protoc main.o
-lpthreads libprotobuf.la libprotoc.la
libtool: link: xlC_r -D_THREAD_SAFE -brtl -qmkshrobj -O2 -g -DNDEBUG -brtl
-D_THREAD_SAFE -o .libs/protoc main.o
-L/crmpdpp/hcai/work/zhr/protobuf-2.3.0/src/.libs -L./.libs -lprotoc -lprotobuf
-lpthreads
-blibpath:/crmpdpp/hcai/work/zhr/protobuf-2.3.0/lib:/usr/vac/lib:/usr/lib/thread
s:/usr/vacpp/lib:/usr/lib:/lib
oldpwd=`pwd` && ( cd . && $oldpwd/protoc -I. --cpp_out=$oldpwd google/protobuf/unittest.proto google/protobuf/unittest_empty.proto google/protobuf/unittest_import.proto google/protobuf/unittest_mset.proto google/protobuf/unittest_optimize_for.proto google/protobuf/unittest_embed_optimize_for.proto google/protobuf/unittest_custom_options.proto google/protobuf/unittest_lite.proto google/protobuf/unittest_import_lite.proto google/protobuf/unittest_lite_imports_nonlite.proto google/protobuf/unittest_no_generic_services.proto google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto )
exec(): 0509-036 Cannot load program
/crmpdpp/hcai/work/zhr/protobuf-2.3.0/src/.libs/lt-protoc because of the
following errors:
0509-151 The program does not have an entry point or
the o_snentry field in the auxiliary header is invalid.
0509-194 Examine file headers with the 'dump -ohv' command.
make: 1254-004 The error code from the last command is 255."
What version of the product are you using? On what operating system?
protobuf2.3.0,2.4.1, tar.gz;aix 5.3.0.0
Please provide any additional information below.
Original issue reported on code.google.com by yanwujiu...@gmail.com on 7 Apr 2014 at 1:12
Original issue reported on code.google.com by
yanwujiu...@gmail.com
on 7 Apr 2014 at 1:12