[xsd-users] error trying to build examples

Neeraj Vaidya neeraj.vaidya at yahoo.co.in
Wed Aug 21 13:00:13 EDT 2013


Hi Boris,
 
I built the xerces-3.1.1 source package using the g++ compiler, but still get the same error.
What could be wrong ?
 
Regards,
Neeraj


________________________________
From: Neeraj Vaidya <neeraj.vaidya at yahoo.co.in>
To: "xsd-users at codesynthesis.com" <xsd-users at codesynthesis.com> 
Sent: Wednesday, 21 August 2013 9:45 PM
Subject: Re: [xsd-users] error trying to build examples


Hi Boris,
 
Thanks for your reply.
I am actually using the default xerces package supplied by apache for Solaris 10 Sparc.
I will try building the Xerces library using g++ and then try the xsd samples again.
But for my information, what is the difference between using different compilers ? I thought if the OS is the same, the built binaries should work on both platforms.
 
Regards,
Neeraj


________________________________
From: Boris Kolpackov <boris at codesynthesis.com>
To: Neeraj Vaidya <neeraj.vaidya at yahoo.co.in> 
Cc: "xsd-users at codesynthesis.com" <xsd-users at codesynthesis.com> 
Sent: Wednesday, 21 August 2013 8:51 PM
Subject: Re: [xsd-users] error trying to build examples


Hi Neeraj,

Neeraj Vaidya <neeraj.vaidya at yahoo.co.in> writes:

> I am using xsd on the Solaris 10 for SPARC platform. 
>
> [...]
>
> The compilation goes through fine, though. Just the linker which
> starts complaining.

I am 99.9% sure you are using Xerces-C++ built with Sun CC while
your application is built with g++. If that's the case, you need
to re-build Xerces-C++ with g++.

Boris


More information about the xsd-users mailing list