Loading ...
Sorry, an error occurred while loading the content.

10205Undefined symbols using gcc 3.4.3

Expand Messages
  • nospampeeps
    May 2, 2005
    • 0 Attachment
      I'm having trouble making gsoap on Solaris 10 using gcc 3.4.3. The
      link fails on undefined symbols for various _Rc_tree_xxx symbols as
      follows:

      g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../soapcpp2 -m64 -c -o
      soap.o `test -f 'soap.cpp' || echo './'`soap.cpp
      g++ -m64 -I../../soapcpp2 -o wsdl2h wsdl2h.o wsdl.o schema.o
      types.o service.o soap.o wsdlC.cpp ../../soapcpp2/libgsoap++.a -
      lxnet -lsocket -lnsl
      Undefined first referenced
      symbol in file
      std::_Rb_tree_increment(std::_Rb_tree_node_base const*)wsdl.o
      std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*,
      std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)wsdl.o
      std::_Rb_tree_decrement(std::_Rb_tree_node_base*)wsdl.o
      ld: fatal: Symbol referencing errors. No output written to wsdl2h
      collect2: ld returned 1 exit status
      make[5]: *** [wsdl2h] Error 1
      make[5]: Leaving directory `/voltds/doug/deps/gsoap/soapcpp2/wsdl'
      make[4]: *** [all] Error 2
      make[4]: Leaving directory `/voltds/doug/deps/gsoap/soapcpp2/wsdl'
      make[3]: *** [all-recursive] Error 1
      make[3]: Leaving directory `/voltds/doug/deps/gsoap/soapcpp2'
      make[2]: *** [all] Error 2
      make[2]: Leaving directory `/voltds/doug/deps/gsoap/soapcpp2'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/voltds/doug/deps/gsoap'
      make: *** [all] Error 2