You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/05/24 13:24:50 UTC

DO NOT REPLY [Bug 9380] New: - Unable to build Xerces C samples with gcc on SCO OpenServer

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9380>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9380

Unable to build Xerces C samples with gcc on SCO OpenServer

           Summary: Unable to build Xerces C samples with gcc on SCO
                    OpenServer
           Product: Xerces-C++
           Version: 1.7.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Samples/Tests
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: giorgio.prossen@elsag.it


I downloaded the Xerces C++ sources to build on a SCO OpenServer machine.
SCO OpenServer version is 5.0.5.
I use the GCC Compiler version 2.95.2

I run configure script as it follows:

runConfigure -popenserver -cgcc -xg++ -rnone

and then I execute make and compilation of XML library succeded.

Then I tried to configure and compile samples.
I run configure script as it follows:

runConfigure -popenserver -cgcc -xg++


Then, I executed the command to compile the samples and I got the following 
error description:


Building SAXPrint
gmake -C SAXPrint
gmake[1]: Entering directory `/usr/testuser/xerces-c-src1_7_0/samples/SAXPrint'
mkdir -p /usr/testuser/xerces-c-src1_7_0/bin/obj/SAXPrint
mkdir: cannot make directory: /usr/testuser/xerces-c-src1_7_0/bin/obj/SAXPrint: 
File exists (error 17)
gmake[1]: [makedir] Error 1 (ignored)
g++ -DOPENSERVER -fPIC  -L/usr/lib -L/usr/local/lib /usr/testuser/xerces-c-
src1_7_0/bin/obj/SAXPrint/SAXPrint.o /usr/testuser/xerces-c-src1_7
_0/bin/obj/SAXPrint/SAXPrintHandlers.o -o /usr/testuser/xerces-c-
src1_7_0/bin/SAXPrint -L/usr/testuser/xerces-c-src1_7_0/lib -lxerces-c1_7_0
-lc -lsocket
/usr/local/lib/libstdc++.so: fatal error: symbol `__user_type_info virtual 
table` multiply defined in two shared objects /usr/testuser/xerce
s-c-src1_7_0/lib/libxerces-c1_7_0.so: size = 32; /usr/local/lib/libstdc++.so: 
size = 48
collect2: ld returned 1 exit status
gmake[1]: *** [/usr/testuser/xerces-c-src1_7_0/bin/SAXPrint] Error 1
gmake[1]: Leaving directory `/usr/testuser/xerces-c-src1_7_0/samples/SAXPrint'
gmake: *** [saxprint] Error 2

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org