Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1482

Unable to Build Xerces C Samples in SunOS5.8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.6.0
    • 3.0.1
    • Samples/Tests
    • None
    • Kernel Architecture is sun4u
      OS Name is SunOS
      OS Version is 5.8
      Kernel Version is SunOS Release 5.8 Version Generic_108528-16 [UNIX(R) System V Release 4.0]

    Description

      I executed the configure script and it passed successfully:

      aibrahim@mm67:449% configure
      loading cache ./config.cache
      checking for gcc... (cached) gcc
      checking whether the C compiler (gcc ) works... yes
      checking whether the C compiler (gcc ) is a cross-compiler... no
      checking whether we are using GNU C... (cached) yes
      checking whether gcc accepts -g... (cached) yes
      checking for c+... (cached) g+
      checking whether the C++ compiler (g++ ) works... yes
      checking whether the C++ compiler (g++ ) is a cross-compiler... yes
      checking whether we are using GNU C++... (cached) yes
      checking whether g++ accepts -g... (cached) yes
      checking for a BSD compatible install... (cached) /lsi/soft/CFR/bin/install -c
      checking for autoconf... (cached) autoconf
      checking for floor in -lm... (cached) yes
      checking for pthread_create in -lpthread... (cached) yes
      checking how to run the C preprocessor... (cached) gcc -E
      checking for inttypes.h... (cached) yes
      checking host system type... sparc-sun-solaris2.8
      creating ./config.status
      creating Makefile
      creating SAXCount/Makefile
      creating SAX2Count/Makefile
      creating DOMCount/Makefile
      creating SAXPrint/Makefile
      creating SAX2Print/Makefile
      creating DOMPrint/Makefile
      creating MemParse/Makefile
      creating Redirect/Makefile
      creating PParse/Makefile
      creating StdInParse/Makefile
      creating EnumVal/Makefile
      creating SEnumVal/Makefile
      creating CreateDOMDocument/Makefile
      creating SCMPrint/Makefile
      creating PSVIWriter/Makefile

      The gmake failed due to some undefined symbols see below:
      Building SAXPrint
      gmake -C SAXPrint
      gmake[1]: Entering directory `/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0/samples/SAXPrint'
      mkdir -p /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//bin/obj/SAXPrint
      g++ -DSOLARIS -fpic -L/usr/lib -L/usr/local/lib /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C+-Parser/xerces-c-src_2_6_0//bin/obj/SAXPrint/SAXPrint.o /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C-Parser/xerces-c-src_2_6_0//bin/obj/SAXPrint/SAXPrintHandlers.o -o /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C-Parser/xerces-c-src_2_6_0//bin/SAXPrint -L/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C+-Parser/xerces-c-src_2_6_0//lib -lxerces-c -lc
      Undefined first referenced
      symbol in file
      xercesc_2_6::HexBin::decode(unsigned short const*, xercesc_2_6::MemoryManager*)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      xercesc_2_6::XMLException::loadExceptText(xercesc_2_6::XMLExcepts::Codes) /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      std::ios_base::Init::~Init [in-charge]()/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//bin/obj/SAXPrint/SAXPrint.o
      xercesc_2_6::XMemory::operator new(unsigned int, xercesc_2_6::MemoryManager *)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      __cxa_pure_virtual /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//bin/obj/SAXPrint/SAXPrintHandlers.o
      std::ios_base::Init::Init[in-charge]()/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//bin/obj/SAXPrint/SAXPrint.o
      xercesc_2_6::XMLRegisterCleanup::registerCleanup(void (void))/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      xercesc_2_6::XMLMutex::XMLMutex(void)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      __cxa_end_catch /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//bin/obj/SAXPrint/SAXPrint.o
      xercesc_2_6::XMLException::~XMLException(void)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      xercesc_2_6::EncodingValidator::instance() /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      vtable for _cxxabiv1::_si_class_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//bin/obj/SAXPrint/SAXPrint.o
      xercesc_2_6::EncodingValidator::isValidEncoding(unsigned short const*)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      xercesc_2_6::KVStringPair::KVStringPair[in-charge](unsigned short const*, unsigned short const*, xercesc_2_6::MemoryManager*)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      __builtin_delete /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_ostream<char, std::char_traits<char> >& (std::basic_ostream<char, std::char_traits<char> >&))/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//bin/obj/SAXPrint/SAXPrint.o
      __builtin_new /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      xercesc_2_6::HexBin::getDataLength(unsigned short const*)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      vtable for _cxxabiv1::_vmi_class_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//bin/obj/SAXPrint/SAXPrintHandlers.o
      __rtti_user /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//lib/libxerces-c.so
      ......
      ....
      ...
      ..
      .
      ld: fatal: Symbol referencing errors. No output written to /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//bin/SAXPrint
      collect2: ld returned 1 exit status
      gmake[1]: *** [/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0//bin/SAXPrint] Error 1
      gmake[1]: Leaving directory `/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_6_0/samples/SAXPrint'
      gmake: *** [saxprint] Error 2

      Attachments

        1. gmake_apache.log
          17 kB
          Ali M Ibrahim

        Activity

          People

            Unassigned Unassigned
            aibrahim Ali M Ibrahim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: