Hi David,

I have a code that compiles with the g++ 2.96. Now, my configuration has
changed and I have the g++ v3.2. This code has changed only in certain
declaration (string.h and *stream.h) but I haven't changed XERCES. Now I
have the problem.
You said that it does not work. I have to compile XERCES with g++ 3.2 to
resolve the problem.

Is it easy to do that? Because some parts of the XERCES code have to be
modify ?

Is that OK?

        BR

Michel


-----Original Message-----
From: David N Bertoni/Cambridge/IBM [mailto:[EMAIL PROTECTED]]
Sent: mardi 21 janvier 2003 17:37
To: [EMAIL PROTECTED]
Subject: RE: XERCES anc C++ V3.2






Hi Michel,

Just to be clear -- Are you trying to link the original Xerces-C
distribution, which was built with a much older version of GCC, with your
code that was built with 3.2?  That definitely won't work.  Can you confirm
that you've built Xerces 1.7 with GCC 3.2?

You will not be able to mix C++ executables built with older versions of
GCC with C++ executables built with newer versions because the ABI has
changed.

Dave




                      "Michel GUIRAUDOU"
                      <michel.guiraudou@mo         To:
<[EMAIL PROTECTED]>
                      torola.com>                  cc:      (bcc: David N
Bertoni/Cambridge/IBM)
                                                   Subject: RE: XERCES anc
C++ V3.2
                      01/21/2003 05:57 AM
                      Please respond to
                      xerces-c-dev





             Hi Gareth,

Here an extract of messages I have on the compilation:

/home/CRS/Cismundus/shared/tools/XercesTool.h:182: undefined reference to
`SAXParseException::getSystemId() const'
/home/CRS/Cismundus/shared/tools/XercesTool.h:184: undefined reference to
`XMLString::transcode(unsigned short const*)'

...

My compiler is g++, I have tried with gcc I haven't seen any difference but
I haven't got any experience in compilation

             Thanks a lot for your help,

             Michel


-----Original Message-----
From: Gareth Reakes [mailto:[EMAIL PROTECTED]]
Sent: mardi 21 janvier 2003 14:27
To: [EMAIL PROTECTED]
Subject: RE: XERCES anc C++ V3.2


Hi,
             gcc 3.2 now handles namespaces correctly. This has lead me to
some compiler errors with things like iostream and what was incorrect use
of namespaces in our code. Send me a copy of the linker erros and I will
take a quick look.

Gareth


On Tue, 21 Jan 2003, Michel GUIRAUDOU wrote:

>
> Yes, my code compile with the C++ version 2.96. The difference is that in
> 3.2 version some declaration has changed (e.g: <string.h> is now <string>
> and <*stream.h> is now <*stream>), at the final link there are a lot of
> undefined reference due (I think) to this difference.
>
> I use the g++ compiler on Linux machine Mandrake Linux 9.0 kernel 2.4.19.
>
>            Thanks for your answers,
>
>            Michel Guiraudou
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: mardi 21 janvier 2003 14:09
> To: [EMAIL PROTECTED]
> Subject: RE: XERCES anc C++ V3.2
>
>
> I have compiled Xerces 1.5.2 successfully under HP-UX 11.0 using GCC 3.2
> (as built by HP).
> Once I had fudged Makefile.incl (as documented in the list archives), and
> cranked up the stack limit a bit, it was quite clean.
> I didn't mention this earlier as it doesn't really seem to help.
>
> --
> Mike.
>
>
>
>
> Gareth Reakes <[EMAIL PROTECTED]>
> 21/01/2003 12:41
> Please respond to xerces-c-dev
>
>
>         To:     [EMAIL PROTECTED]
>         cc:
>         Subject:        RE: XERCES anc C++ V3.2
>
>
> > I think you can assume that no one has tried this (speak up if you
> > have :)). The most recent code base definitely compiles with 3.2. Have
> you
> > checked that the code you have with the settings you have compile under
> > 2.96?
>
>
> On Tue, 21 Jan 2003, Michel GUIRAUDOU wrote:
> >> I have no answer on my request; Could I expect an answer?
> >> Thank to give me an answer.
> >>
> >> -----Original Message-----
> >> From: Michel GUIRAUDOU [mailto:[EMAIL PROTECTED]]
> >> Sent: jeudi 16 janvier 2003 16:24
> >> To: [EMAIL PROTECTED]
> >> Subject: XERCES anc C++ V3.2
> >>
> >>               Hi,
> >>
> >> I would like to know if the XERCES version 1.70 is compatible with the
> C++
> >> version 3.2.
> >> I work on Linux platform Mandrake release 9.0 and the kernel version
is
> >> 2.4.19
> >>
> >> Because I have a software that running with a previous version of C++,
> now
> >> with the 3.2 version, the compiler makes a lot of errors.
> >> Style of errors:
> >>               "undefined reference to 'XMLString::transcode(unsigned
> short const*)'"
> >> or            "undefined reference to
> 'SAXParseException::getLineNumber() const'"
> >>               ....
> >>
> >> Can somebody help me?
> >>
> >>               Many thanks
> >>
> >>               Michel GUIRAUDOU
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

--
Gareth Reakes, Head of Product Development  +44-1865-203192
DecisionSoft Limited                        http://www.decisionsoft.com
XML Development and Services




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



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





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



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

Reply via email to