[ http://issues.apache.org/jira/browse/XERCESC-1482?page=all ]

Ali M Ibrahim updated XERCESC-1482:
-----------------------------------

    Attachment: gmake_apache.log

> Unable to Build Xerces C Samples in SunOS5.8
> --------------------------------------------
>
>          Key: XERCESC-1482
>          URL: http://issues.apache.org/jira/browse/XERCESC-1482
>      Project: Xerces-C++
>         Type: Bug
>   Components: Samples/Tests
>     Versions: 2.6.0
>  Environment: 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]
>     Reporter: Ali M Ibrahim
>     Priority: Critical
>  Attachments: gmake_apache.log
>
> I executed the configure script and it passed successfully:
> [EMAIL PROTECTED]: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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to