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 nitin shitole <ni...@gmail.com> on 2006/03/09 05:36:22 UTC
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
Re: Xerces-c 2.7 on AIX using g++
Posted by nitin shitole <ni...@gmail.com>.
That's not the issue,
I am taking care of reflecting the changes done in makefile.incl everytime.
On 3/8/06, Saurabh Bhatnagar <sa...@oracle.com> wrote:
>
> 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:nitin.now@gmail.com]
> *Sent:* Thursday, March 09, 2006 10:06 AM
> *To:* c-dev@xerces.apache.org
> *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
>
Re: Xerces-c 2.7 on AIX using g++
Posted by nitin shitole <ni...@gmail.com>.
Thanks David,
I'll try running a perl script and let you know the result of it.
Thanks again,
Nitin
On 3/9/06, David Cargill <ca...@ca.ibm.com> wrote:
>
> 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
> cargilld@ca.ibm.com
>
>
>
> "Saurabh
> Bhatnagar"
> <saurabh.b.bhatna To
> gar@oracle.com> <c-...@xerces.apache.org>
> 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:nitin.now@gmail.com]
> Sent: Thursday, March 09, 2006 10:06 AM
> To: c-dev@xerces.apache.org
> 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: c-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: c-dev-help@xerces.apache.org
>
>
RE: Xerces-c 2.7 on AIX using g++
Posted by David Cargill <ca...@ca.ibm.com>.
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
cargilld@ca.ibm.com
"Saurabh
Bhatnagar"
<saurabh.b.bhatna To
gar@oracle.com> <c-...@xerces.apache.org>
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:nitin.now@gmail.com]
Sent: Thursday, March 09, 2006 10:06 AM
To: c-dev@xerces.apache.org
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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
RE: Xerces-c 2.7 on AIX using g++
Posted by Saurabh Bhatnagar <sa...@oracle.com>.
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:nitin.now@gmail.com]
Sent: Thursday, March 09, 2006 10:06 AM
To: c-dev@xerces.apache.org
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