You are viewing a plain text version of this content. The canonical link for it is here.
Posted to addressing-dev@ws.apache.org by "Ali M Ibrahim (JIRA)" <ji...@apache.org> on 2005/08/23 20:10:10 UTC

[jira] Created: (ADDR-8) Xerces C++ 2.5.0 Samples Build Failure

Xerces C++ 2.5.0 Samples Build Failure 
---------------------------------------

         Key: ADDR-8
         URL: http://issues.apache.org/jira/browse/ADDR-8
     Project: Addressing
        Type: Bug
 Environment: CPU Type is              sparc
App Architecture is      sparc
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


The configuration runs successfully as shown below, however, there was an issue in the build when I executed gmake. It seems there were some undefined symbols, can anyone help me, this is urgent:

aibrahim@mmxx:542% runConfigure -psolaris -cgcc -xg++
Generating makefiles with the following options ...
Platform: solaris
C Compiler: gcc
C++ Compiler: g++
Thread option: none
bitsToBuild option: 32
Extra compile options: 
Extra link options: 
Debug is OFF

creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc   -w -O  -DAPP_NO_THREADS -DXML_USE_NO_THREADS      ) works... yes
checking whether the C compiler (gcc   -w -O  -DAPP_NO_THREADS -DXML_USE_NO_THREADS      ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++   -w -O  -DAPP_NO_THREADS -DXML_USE_NO_THREADS      ) works... yes
checking whether the C++ compiler (g++   -w -O  -DAPP_NO_THREADS -DXML_USE_NO_THREADS      ) is a cross-compiler... yes
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for a BSD compatible install... /lsi/soft/CFR/bin/install -c
checking for autoconf... autoconf
checking for floor in -lm... yes
checking for pthread_create in -lpthread... yes
checking how to run the C preprocessor... gcc -E
checking for inttypes.h... yes
checking host system type... sparc-sun-solaris2.8
updating cache ./config.cache
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

Having build problems? Read instructions at http://xml.apache.org/xerces-c/build.html

In future, you may also directly type the following commands to create the Makefiles.

export THREADS="none"
export BITSTOBUILD="32"
export CC="gcc"
export CXX="g++"
export CXXFLAGS=" -w -O -DAPP_NO_THREADS -DXML_USE_NO_THREADS "
export CFLAGS=" -w -O -DAPP_NO_THREADS -DXML_USE_NO_THREADS "
export LDFLAGS=" "
export EXTRA_LIBS=" "
configure

If the result of the above commands look OK to you, go to the directory
/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/samples and type "gmake" to make the samples.


aibrahim@mmxx:571% gmake
Building SAXPrint
gmake -C SAXPrint 
gmake[1]: Entering directory `/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/samples/SAXPrint'
mkdir -p /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_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_5_0/bin/obj/SAXPrint/SAXPrint.o /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o -o /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/SAXPrint -L/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib -lxerces-c -lc 
Undefined                       first referenced
 symbol                             in file
std::ios_base::Init::~Init [in-charge]()/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
__cxa_pure_virtual                  /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_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_5_0/bin/obj/SAXPrint/SAXPrint.o
__cxa_end_catch                     /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
vtable for __cxxabiv1::__si_class_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
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_5_0/bin/obj/SAXPrint/SAXPrint.o
vtable for __cxxabiv1::__vmi_class_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
vtable for __cxxabiv1::__enum_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
std::cout                           /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
operator new[](unsigned)            /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
typeinfo for int                    /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
vtable for __cxxabiv1::__class_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
operator delete(void*)              /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
__cxa_rethrow                       /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
operator new(unsigned)              /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
__gxx_personality_v0                /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
__cxa_throw                         /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
std::basic_ostream<char, std::char_traits<char> >& std::endl<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_5_0/bin/obj/SAXPrint/SAXPrint.o
operator delete[](void*)            /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
std::cerr                           /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
std::basic_ostream<char, std::char_traits<char> >::operator<<(long)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
std::basic_ostream<char, std::char_traits<char> >::operator<<(unsigned long)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
__cxa_allocate_exception            /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
std::basic_ostream<char, std::char_traits<char> >::write(char const*, int)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
std::basic_ostream<char, std::char_traits<char> >::flush()/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
__cxa_begin_catch                   /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
ld: fatal: Symbol referencing errors. No output written to /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/SAXPrint
collect2: ld returned 1 exit status
gmake[1]: *** [/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/SAXPrint] Error 1
gmake[1]: Leaving directory `/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_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: addressing-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: addressing-dev-help@ws.apache.org


[jira] Resolved: (ADDR-8) Xerces C++ 2.5.0 Samples Build Failure

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/ADDR-8?page=all ]
     
Davanum Srinivas resolved ADDR-8:
---------------------------------

    Resolution: Invalid

wrong project :(

-- dims

> Xerces C++ 2.5.0 Samples Build Failure
> --------------------------------------
>
>          Key: ADDR-8
>          URL: http://issues.apache.org/jira/browse/ADDR-8
>      Project: Addressing
>         Type: Bug
>  Environment: CPU Type is              sparc
> App Architecture is      sparc
> 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

>
> The configuration runs successfully as shown below, however, there was an issue in the build when I executed gmake. It seems there were some undefined symbols, can anyone help me, this is urgent:
> aibrahim@mmxx:542% runConfigure -psolaris -cgcc -xg++
> Generating makefiles with the following options ...
> Platform: solaris
> C Compiler: gcc
> C++ Compiler: g++
> Thread option: none
> bitsToBuild option: 32
> Extra compile options: 
> Extra link options: 
> Debug is OFF
> creating cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc   -w -O  -DAPP_NO_THREADS -DXML_USE_NO_THREADS      ) works... yes
> checking whether the C compiler (gcc   -w -O  -DAPP_NO_THREADS -DXML_USE_NO_THREADS      ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for c++... g++
> checking whether the C++ compiler (g++   -w -O  -DAPP_NO_THREADS -DXML_USE_NO_THREADS      ) works... yes
> checking whether the C++ compiler (g++   -w -O  -DAPP_NO_THREADS -DXML_USE_NO_THREADS      ) is a cross-compiler... yes
> checking whether we are using GNU C++... yes
> checking whether g++ accepts -g... yes
> checking for a BSD compatible install... /lsi/soft/CFR/bin/install -c
> checking for autoconf... autoconf
> checking for floor in -lm... yes
> checking for pthread_create in -lpthread... yes
> checking how to run the C preprocessor... gcc -E
> checking for inttypes.h... yes
> checking host system type... sparc-sun-solaris2.8
> updating cache ./config.cache
> 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
> Having build problems? Read instructions at http://xml.apache.org/xerces-c/build.html
> In future, you may also directly type the following commands to create the Makefiles.
> export THREADS="none"
> export BITSTOBUILD="32"
> export CC="gcc"
> export CXX="g++"
> export CXXFLAGS=" -w -O -DAPP_NO_THREADS -DXML_USE_NO_THREADS "
> export CFLAGS=" -w -O -DAPP_NO_THREADS -DXML_USE_NO_THREADS "
> export LDFLAGS=" "
> export EXTRA_LIBS=" "
> configure
> If the result of the above commands look OK to you, go to the directory
> /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/samples and type "gmake" to make the samples.
> aibrahim@mmxx:571% gmake
> Building SAXPrint
> gmake -C SAXPrint 
> gmake[1]: Entering directory `/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/samples/SAXPrint'
> mkdir -p /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_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_5_0/bin/obj/SAXPrint/SAXPrint.o /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o -o /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/SAXPrint -L/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib -lxerces-c -lc 
> Undefined                       first referenced
>  symbol                             in file
> std::ios_base::Init::~Init [in-charge]()/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> __cxa_pure_virtual                  /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_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_5_0/bin/obj/SAXPrint/SAXPrint.o
> __cxa_end_catch                     /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> vtable for __cxxabiv1::__si_class_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> 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_5_0/bin/obj/SAXPrint/SAXPrint.o
> vtable for __cxxabiv1::__vmi_class_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> vtable for __cxxabiv1::__enum_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
> std::cout                           /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> operator new[](unsigned)            /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
> typeinfo for int                    /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
> std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> vtable for __cxxabiv1::__class_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> operator delete(void*)              /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> __cxa_rethrow                       /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
> operator new(unsigned)              /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
> __gxx_personality_v0                /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> __cxa_throw                         /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> std::basic_ostream<char, std::char_traits<char> >& std::endl<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_5_0/bin/obj/SAXPrint/SAXPrint.o
> operator delete[](void*)            /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
> std::cerr                           /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> std::basic_ostream<char, std::char_traits<char> >::operator<<(long)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> std::basic_ostream<char, std::char_traits<char> >::operator<<(unsigned long)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> __cxa_allocate_exception            /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> std::basic_ostream<char, std::char_traits<char> >::write(char const*, int)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> std::basic_ostream<char, std::char_traits<char> >::flush()/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> __cxa_begin_catch                   /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> ld: fatal: Symbol referencing errors. No output written to /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/SAXPrint
> collect2: ld returned 1 exit status
> gmake[1]: *** [/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/SAXPrint] Error 1
> gmake[1]: Leaving directory `/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_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: addressing-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: addressing-dev-help@ws.apache.org


[jira] Resolved: (ADDR-8) Xerces C++ 2.5.0 Samples Build Failure

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/ADDR-8?page=all ]
     
Davanum Srinivas resolved ADDR-8:
---------------------------------

    Resolution: Invalid

wrong project :(

-- dims

> Xerces C++ 2.5.0 Samples Build Failure
> --------------------------------------
>
>          Key: ADDR-8
>          URL: http://issues.apache.org/jira/browse/ADDR-8
>      Project: Addressing
>         Type: Bug
>  Environment: CPU Type is              sparc
> App Architecture is      sparc
> 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

>
> The configuration runs successfully as shown below, however, there was an issue in the build when I executed gmake. It seems there were some undefined symbols, can anyone help me, this is urgent:
> aibrahim@mmxx:542% runConfigure -psolaris -cgcc -xg++
> Generating makefiles with the following options ...
> Platform: solaris
> C Compiler: gcc
> C++ Compiler: g++
> Thread option: none
> bitsToBuild option: 32
> Extra compile options: 
> Extra link options: 
> Debug is OFF
> creating cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc   -w -O  -DAPP_NO_THREADS -DXML_USE_NO_THREADS      ) works... yes
> checking whether the C compiler (gcc   -w -O  -DAPP_NO_THREADS -DXML_USE_NO_THREADS      ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for c++... g++
> checking whether the C++ compiler (g++   -w -O  -DAPP_NO_THREADS -DXML_USE_NO_THREADS      ) works... yes
> checking whether the C++ compiler (g++   -w -O  -DAPP_NO_THREADS -DXML_USE_NO_THREADS      ) is a cross-compiler... yes
> checking whether we are using GNU C++... yes
> checking whether g++ accepts -g... yes
> checking for a BSD compatible install... /lsi/soft/CFR/bin/install -c
> checking for autoconf... autoconf
> checking for floor in -lm... yes
> checking for pthread_create in -lpthread... yes
> checking how to run the C preprocessor... gcc -E
> checking for inttypes.h... yes
> checking host system type... sparc-sun-solaris2.8
> updating cache ./config.cache
> 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
> Having build problems? Read instructions at http://xml.apache.org/xerces-c/build.html
> In future, you may also directly type the following commands to create the Makefiles.
> export THREADS="none"
> export BITSTOBUILD="32"
> export CC="gcc"
> export CXX="g++"
> export CXXFLAGS=" -w -O -DAPP_NO_THREADS -DXML_USE_NO_THREADS "
> export CFLAGS=" -w -O -DAPP_NO_THREADS -DXML_USE_NO_THREADS "
> export LDFLAGS=" "
> export EXTRA_LIBS=" "
> configure
> If the result of the above commands look OK to you, go to the directory
> /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/samples and type "gmake" to make the samples.
> aibrahim@mmxx:571% gmake
> Building SAXPrint
> gmake -C SAXPrint 
> gmake[1]: Entering directory `/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/samples/SAXPrint'
> mkdir -p /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_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_5_0/bin/obj/SAXPrint/SAXPrint.o /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o -o /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/SAXPrint -L/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib -lxerces-c -lc 
> Undefined                       first referenced
>  symbol                             in file
> std::ios_base::Init::~Init [in-charge]()/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> __cxa_pure_virtual                  /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_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_5_0/bin/obj/SAXPrint/SAXPrint.o
> __cxa_end_catch                     /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> vtable for __cxxabiv1::__si_class_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> 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_5_0/bin/obj/SAXPrint/SAXPrint.o
> vtable for __cxxabiv1::__vmi_class_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> vtable for __cxxabiv1::__enum_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
> std::cout                           /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> operator new[](unsigned)            /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
> typeinfo for int                    /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
> std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> vtable for __cxxabiv1::__class_type_info/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> operator delete(void*)              /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> __cxa_rethrow                       /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
> operator new(unsigned)              /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
> __gxx_personality_v0                /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> __cxa_throw                         /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> std::basic_ostream<char, std::char_traits<char> >& std::endl<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_5_0/bin/obj/SAXPrint/SAXPrint.o
> operator delete[](void*)            /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/lib/libxerces-c.so
> std::cerr                           /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> std::basic_ostream<char, std::char_traits<char> >::operator<<(long)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> std::basic_ostream<char, std::char_traits<char> >::operator<<(unsigned long)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> __cxa_allocate_exception            /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> std::basic_ostream<char, std::char_traits<char> >::write(char const*, int)/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> std::basic_ostream<char, std::char_traits<char> >::flush()/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> __cxa_begin_catch                   /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
> ld: fatal: Symbol referencing errors. No output written to /lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/SAXPrint
> collect2: ld returned 1 exit status
> gmake[1]: *** [/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_0/bin/SAXPrint] Error 1
> gmake[1]: Leaving directory `/lsi/minn/61a/cwqa/aibrahim/XML/Apache-C++-Parser/xerces-c-src_2_5_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: addressing-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: addressing-dev-help@ws.apache.org