Hi,
Makefile.incl does not get over written only the Makefile (s) get
regenerated when runConfigure is run.
If you are only getting ld: 0711-224 WARNING.... then there probably isn't
a problem, even when we build with xlC we get lots of warning messages.
Can you try running sanityTest.pl in the scripts directory? (perl
scripts/sanityTest.pl >logout 2>&1) and diff -w logout scripts/*.log - the
only difference should be the time reported. You will need to set the
PATH=$XERCESCROOT/bin:$PATH and LIBPATH=$XERCESCROOT/lib.
Regards,
David A. Cargill
XML Parser Development
IBM Toronto Lab
(905) 413-2371, tie 969
[EMAIL PROTECTED]
"Saurabh
Bhatnagar"
<saurabh.b.bhatna To
[EMAIL PROTECTED]> <[email protected]>
cc
03/09/2006 12:16
AM Subject
RE: Xerces-c 2.7 on AIX using g++
Please respond to
c-dev
Everytime you runconfigure the makefile.incl gets over written.
So, you need to make changes to makefile.incl.in which is
included/generates makefile.incl.
Saurabh
From: nitin shitole [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 10:06 AM
To: [email protected]
Subject: Xerces-c 2.7 on AIX using g++
Hi,
I am trying to build the xerces library (version 2.7) on AIX (version 5.3)
using GCC compiler (version 4.0.2), and getting compilation errors.
I searched "Xerces-C Mailing list ARChives" and got the following
information, from David A. Cargill
--------------START-------------------------------
...
For you link problem, the build for AIX assumes you are using xlC. So when
you specify a compiler of gcc/g++ it still uses xlC for the link. You
would need to override the Makefile.incl in /src/xercesc to test the
compiler and then point to the appropriate libraries for g++ and invoke
something other than makeC++SharedLib_r.
Regards,
David A. Cargill
-----------------END----------------------------
According to David, he is specifying 3 modifications:
1) Test the compiler
2) Pointing to the appropriate libraries for g++
3) Invoking something other than makeC++SharedLib_r
Could David/you guys please elaborate above 3 points?
I modifed Makefile.incl to get rid of compilation and linking errors.
Now the xerces librarary is built, but I am getting several linking
warnings:
ld: 0711-224 WARNING....
I will let you know the changes done in Makefile.incl if you want to have a
look at them.
Thanks in advance,
Nitin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]