xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Lin Zhang" <chun_lin_zh...@hotmail.com>
Subject How to build on solaris machine -- error messages
Date Wed, 28 Apr 2004 08:11:52 GMT
Anybody can help me to solve this problem? Thank you very much.



The steps I used.

1, ./src/xercesc/autoconf
2, ./src/xercesc/runConfigure -psolaris -cgcc -xg++ -minmem -nsocket -tnative -rpthread
3, gmake

I didn't get any error.

Then I go to ./samples
1, ./runConfigure -psolaris -cgcc -xg++
2, gmake

I got the following error message.

Building SAXPrint
gmake -C SAXPrint 
gmake[1]: Entering directory `/tools/xerces-c-src_2_5_0/samples/SAXPrint'
mkdir -p /tools/xerces-c-src_2_5_0/bin/obj/SAXPrint
g++ -DSOLARIS -fpic  -L/usr/lib -L/usr/local/lib /tools/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
/tools/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o -o /tools/xerces-c-src_2_5_0/bin/SAXPrint
-L/tools/xerces-c-src_2_5_0/lib -lxerces-c -lc 
ld: warning: global symbol `_GLOBAL_OFFSET_TABLE_' has non-global binding:
        (file /usr/local/lib/libgcc_s.so.1 value=LOCL);
Undefined                       first referenced
 symbol                             in file
cerr                                /tools/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
cout                                /tools/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
ostream::flush(void)                /tools/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
ostream::write(char const *, int)   /tools/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
ostream::operator<<(char const *)   /tools/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
endl(ostream &)                     /tools/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrint.o
ostream::operator<<(int)            /tools/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o
ld: fatal: Symbol referencing errors. No output written to /tools/xerces-c-src_2_5_0/bin/SAXPrint
collect2: ld returned 1 exit status
gmake[1]: *** [/tools/xerces-c-src_2_5_0/bin/SAXPrint] Error 1
gmake[1]: Leaving directory `/tools/xerces-c-src_2_5_0/samples/SAXPrint'
gmake: *** [saxprint] Error 2

The gcc version is gcc version 2.95.3 20010315 (release)

View raw message