My attempt to use default hash_map implementation in source leads to infinite loop. So I tried to links source with STLport 4.6.1 version for AIX. For XLC i provided tempinc option to create default directory for template instantiation. But I am not able to compile it. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_alloc.h",
line 60.12: 1540-0836 (S) The #include file <stl/_new.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_alloc.h", line 64.11: 1540-0836 (S) The #include file <stl/_threads.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_alloc.h", line 68.11: 1540-0836 (S) The #include file <stl/_construct.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_function_ba se.h", line 34.10: 1540-0836 (S) The #include file <stl/_config.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_iterator_ba se.h", line 44.11: 1540-0836 (S) The #include file <stl/type_traits.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_iterator_ba se.h", line 152.12: 1540-0836 (S) The #include file <stl/ _ptrs_specialize.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_string.h", line 31.12: 1540-0836 (S) The #include file <stl/_string_fwd.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_string.h", line 38.11: 1540-0836 (S) The #include file <stl/_ctraits_fns.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_string.h", line 40.11: 1540-0836 (S) The #include file <stl/_algobase.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_string.h", line 44.11: 1540-0836 (S) The #include file <stl/_iterator.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_string.h", line 1490.12: 1540-0836 (S) The #include file <stl/_string.c> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_string.h", line 1493.11: 1540-0836 (S) The #include file <stl/_string_io.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_string.h", line 1494.11: 1540-0836 (S) The #include file <stl/_string_hash.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_tree.h", line 54.12: 1540-0836 (S) The #include file <stl/_algobase.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_tree.h", line 58.12: 1540-0836 (S) The #include file <stl/_alloc.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_tree.h", line 62.12: 1540-0836 (S) The #include file <stl/_iterator.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_tree.h", line 66.12: 1540-0836 (S) The #include file <stl/_construct.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_tree.h", line 70.12: 1540-0836 (S) The #include file <stl/_function_base.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/_tree.h", line 591.12: 1540-0836 (S) The #include file <stl/_tree.c> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/char_traits. h", line 46.11: 1540-0836 (S) The #include file <stl/type_traits.h> is not found. "/net/bld9-ibm/XYZ01/build/tools/Development/STLport/AIX/STLport-4.6.1/ stlport/stl/char_traits. h", line 50.12: 1540-0836 (S) The #include file <stl/_cwchar.h> is not found. "/work/vpatil/protobuf-2.1.0/src/./google/protobuf/descriptor.h", line 59.10: 1540-0836 (S) The #include file <google/protobuf/stubs/common.h> is not found. "/work/vpatil/protobuf-2.1.0/src/./google/protobuf/descriptor.pb.h", line 8.10: 1540-0836 (S) The #include file <google/protobuf/stubs/common.h> is not found. "/work/vpatil/protobuf-2.1.0/src/./google/protobuf/descriptor.pb.h", line 11.2: 1540-0859 (S) #error directive: This file was generated by a newer version of protoc which is. "/work/vpatil/protobuf-2.1.0/src/./google/protobuf/descriptor.pb.h", line 12.2: 1540-0859 (S) #error directive: incompatible with your Protocol Buffer headers. Please update. "/work/vpatil/protobuf-2.1.0/src/./google/protobuf/descriptor.pb.h", line 13.2: 1540-0859 (S) #error directive: your headers.. "/work/vpatil/protobuf-2.1.0/src/./google/protobuf/descriptor.pb.h", line 21.10: 1540-0836 (S) The #include file <google/protobuf/generated_message_reflection.h> is not found. "/work/vpatil/protobuf-2.1.0/src/./google/protobuf/descriptor.pb.h", line 22.10: 1540-0836 (S) The #include file <google/protobuf/repeated_field.h> is not found. "/work/vpatil/protobuf-2.1.0/src/./google/protobuf/descriptor.pb.h", line 23.10: 1540-0836 (S) The #include file <google/protobuf/extension_set.h> is not found. "/work/vpatil/protobuf-2.1.0/src/./google/protobuf/extension_set.h", line 47.10: 1540-0836 (S) The #include file <google/protobuf/stubs/common.h> is not found. "/work/vpatil/protobuf-2.1.0/src/./google/protobuf/extension_set.h", line 48.10: 1540-0836 (S) The #include file <google/protobuf/message.h> is not found. "/work/vpatil/protobuf-2.1.0/src/./google/protobuf/message.h", line 139.10: 1540-0836 (S) The #include file <google/protobuf/stubs/common.h> is not found. /usr/vacpp/bin/xlC_r: 1501-240 Previous errors were found when compiling tempinc/_tree.C Please share some insights regarding this Thanks & Regards, Vikram On Jun 26, 6:00 pm, Kenton Varda <ken...@google.com> wrote: > This isn't telling me much. Can you interrupt and continue a few times to > get a few different stack traces, in order to find out what the common part > of the trace is? This should allow us to determine which loop is failing to > terminate. > > On Fri, Jun 26, 2009 at 2:49 PM, vikram <patilvik...@gmail.com> wrote: > > > @Kentan > > > I built with debug info and got following stack trace . > > location of compiler is at /usr/vacpp/bin if its not by default. > > > #0 0xd1afa248 in > > > __lt__3stdHcQ2_3std11char_traitsXTc_Q2_3std9allocatorXTc__RCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__RCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc_ > > (_...@0xc, _...@0x2ff2221c) at /usr/vacpp/include/string:134 > > #1 0xd1afa374 in > > > __cl__Q3_6google8protobuf4hashXTQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc___CFRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__RCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__ > > (this=0xf04ca4e0, a...@0xc, b...@0x2ff2221c) at ./google/protobuf/stubs/ > > hash.h:177 > > #2 0xd1d1bbc8 in > > > _Lbound__Q2_3std5_TreeXTQ2_3std12_Tmap_traitsXTQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__TQ3_6google8protobuf25FieldDescriptorProto_TypeTQ3_6google8protobuf4hashXTQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc___TQ2_3std9allocatorXTQ2_3std4pairXTCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__TQ3_6google8protobuf25FieldDescriptorProto_Type__SP0__CFRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__ > > (this=0xf04ca4e0, _...@0x2ff2221c) at /usr/vacpp/include/xtree.t:376 > > #3 0xd1d22878 in > > > lower_bound__Q2_3std5_TreeXTQ2_3std12_Tmap_traitsXTQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__TQ3_6google8protobuf25FieldDescriptorProto_TypeTQ3_6google8protobuf4hashXTQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc___TQ2_3std9allocatorXTQ2_3std4pairXTCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__TQ3_6google8protobuf25FieldDescriptorProto_Type__SP0__CFRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__ > > (this=0xf04ca4e0, __classretu...@0x2ff21e70, _...@0x2ff2221c) at /usr/ > > vacpp/include/xtree:377 > > #4 0xd1d28f34 in > > > find__Q2_3std5_TreeXTQ2_3std12_Tmap_traitsXTQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__TQ3_6google8protobuf25FieldDescriptorProto_TypeTQ3_6google8protobuf4hashXTQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc___TQ2_3std9allocatorXTQ2_3std4pairXTCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__TQ3_6google8protobuf25FieldDescriptorProto_Type__SP0__CFRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__ > > (this=0xf04ca4e0, __classretu...@0x2ff21ed0, _...@0x2ff2221c) at /usr/ > > vacpp/include/xtree:365 > > #5 0xd1d2fd34 in > > > ParseType__Q4_6google8protobuf8compiler6ParserFPQ3_6google8protobuf25FieldDescriptorProto_TypePQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__ > > (this=0x2ff22268, > > type=0x2ff21f24, type_name=0x2ff21f28) at google/protobuf/compiler/ > > parser.cc:1000 > > #6 0xd1d31438 in > > > ParseMessageField__Q4_6google8protobuf8compiler6ParserFPQ3_6google8protobuf20FieldDescriptorProtoPQ3_6google8protobuf16RepeatedPtrFieldXTQ3_6google8protobuf15DescriptorProto_ > > ( > > this=0x2ff22268, field=0x2000f538, messages=0x2000f458) at google/ > > protobuf/compiler/parser.cc:443 > > #7 0xd1d30f50 in > > google::protobuf::compiler::Parser::ParseMessageStatement > > (this=0x2ff22268, message=0x2000f3f8) at google/protobuf/compiler/ > > parser.cc:428 > > #8 0xd1d310c4 in > > google::protobuf::compiler::Parser::ParseMessageBlock > > (this=0x2ff22268, message=0x2000f3f8) at google/protobuf/compiler/ > > parser.cc:402 > > #9 0xd1d30c80 in > > google::protobuf::compiler::Parser::ParseMessageDefinition > > (this=0x2ff22268, message=0x2000f3f8) at google/protobuf/compiler/ > > parser.cc:389 > > #10 0xd1d3250c in > > google::protobuf::compiler::Parser::ParseTopLevelStatement > > (this=0x2ff22268, file=0x2ff22310) at google/protobuf/compiler/ > > parser.cc:362 > > #11 0xd1d32c80 in google::protobuf::compiler::Parser::Parse > > (this=0x2ff22268, input=0x2ff22218, file=0x2ff22310) at google/ > > protobuf/compiler/parser.cc:321 > > #12 0xd1d4965c in > > > FindFileByName__Q4_6google8protobuf8compiler28SourceTreeDescriptorDatabaseFRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc > > (this=0x2ff22538, filena...@0x2000bc98, > > output=0x2ff22310) at google/protobuf/compiler/importer.cc:145 > > #13 0xd1b4a4f0 in > > > TryFindFileInFallbackDatabase__Q3_6google8protobuf14DescriptorPoolCFRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__ > > (this=0x2ff2255c, na...@0x2000bc98) > > at google/protobuf/descriptor.cc:1230 > > #14 0xd1b4a844 in > > > FindFileByName__Q3_6google8protobuf14DescriptorPoolCFRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__ > > (this=0x2ff2255c, na...@0x2000bc98) > > at google/protobuf/descriptor.cc:875 > > #15 0xd1d47ad4 in > > > Import__Q4_6google8protobuf8compiler8ImporterFRCQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__ > > (this=0x2ff22538, filena...@0x2000bc98) > > at google/protobuf/compiler/importer.cc:194 > > #16 0xd1757ea0 in > > google::protobuf::compiler::CommandLineInterface::Run > > (this=0x2ff22740, argc=3, argv=0x2ff228e0) at google/protobuf/compiler/ > > command_line_interface.cc:352 > > #17 0x10002894 in main (argc=3, argv=0x2ff228e0) at google/protobuf/ > > compiler/main.cc:59 > > #18 0x100001ec in __start () > > > Vikram > > > On Jun 26, 2:14 pm, Kenton Varda <ken...@google.com> wrote: > > > Can you do a build with debug info to get line numbers? > > > > On Fri, Jun 26, 2009 at 1:29 PM, vikram <patilvik...@gmail.com> wrote: > > > > > bash-3.00$ gdb src/.libs/lt-protoc > > > > GNU gdb 5.1.1 > > > > Copyright 2002 Free Software Foundation, Inc. > > > > GDB is free software, covered by the GNU General Public License, and > > > > you are > > > > welcome to change it and/or distribute copies of it under certain > > > > conditions. > > > > Type "show copying" to see the conditions. > > > > There is absolutely no warranty for GDB. Type "show warranty" for > > > > details. > > > > This GDB was configured as "powerpc-ibm-aix4.3.2.0"...(no debugging > > > > symbols found)... > > > > (gdb) run > > > > CHANGES.txt Makefile.in > > > > config.h.in depcomp > > > > java src > > > > CONTRIBUTORS.txt README.txt > > > > config.log editors > > > > libtool stamp-h1 > > > > COPYING.txt aclocal.m4 > > > > config.status examples > > > > ltmain.sh vsprojects > > > > INSTALL.txt autogen.sh > > > > config.sub generate_descriptor_proto.sh > > > > m4 warning.txt > > > > Makefile config.guess > > > > configure gtest missing > > > > Makefile.am config.h > > > > configure.ac install-sh python > > > > (gdb) run > > > > CHANGES.txt Makefile.in > > > > config.h.in depcomp > > > > java src > > > > CONTRIBUTORS.txt README.txt > > > > config.log editors > > > > libtool stamp-h1 > > > > COPYING.txt aclocal.m4 > > > > config.status examples > > > > ltmain.sh vsprojects > > > > INSTALL.txt autogen.sh > > > > config.sub generate_descriptor_proto.sh > > > > m4 warning.txt > > > > Makefile config.guess > > > > configure gtest missing > > > > Makefile.am config.h > > > > configure.ac install-sh python > > > > (gdb) run src/g > > > > generated_message_reflection.lo google > > > > gzip_stream.lo > > > > (gdb) run src/google/protobuf/test > > > > test.proto test1.proto test_util.cc test_util.h testdata > > > > testing > > > > (gdb) run src/google/protobuf/test.proto --cpp_out=. > > > > Starting program: /work/vpatil/protobuf-2.1.0/src/.libs/lt-protoc src/ > > > > google/protobuf/test.proto --cpp_out=. > > > > *********************************** > > > > HOST: Undefined variable. > > > > (no debugging symbols found)...(no debugging symbols found)...(no > > > > debugging symbols found)...(no debugging symbols found)...(no > > > > debugging symbols found)...(no debugging symbols found)... > > > > (no debugging symbols found)...(no debugging symbols found)...(no > > > > debugging symbols found)...(no debugging symbols found)...(no > > > > debugging symbols found)...(no debugging symbols found)... > > > > > Program received signal SIGINT, Interrupt. > > > > 0xd1cfe90c in __384 () from /work/vpatil/protobuf-2.1.0/src/.libs/ > > > > libprotobuf.a(libprotobuf.so.4) > > > > (gdb) backtrace > > > > #0 0xd1cfe90c in __384 () from /work/vpatil/protobuf-2.1.0/src/.libs/ > > > > libprotobuf.a(libprotobuf.so.4) > > > > #1 0xd1cfe900 in __384 () from /work/vpatil/protobuf-2.1.0/src/.libs/ > > > > libprotobuf.a(libprotobuf.so.4) > > > > #2 0xd1d056c0 in __384 () from /work/vpatil/protobuf-2.1.0/src/.libs/ > > > > libprotobuf.a(libprotobuf.so.4) > > > > #3 0xd1d0bd48 in > > > > google::protobuf::compiler::SourceLocationTable::__ct () from /work/ > > > > vpatil/protobuf-2.1.0/src/.libs/libprotobuf.a(libprotobuf.so.4) > > > > #4 0xd1d128b8 in > > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---