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 2003/07/11 17:24:11 UTC
DO NOT REPLY [Bug 21057] -
Fail to build xercesc C++ Parser library in AIX 5.1
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=21057>.
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=21057
Fail to build xercesc C++ Parser library in AIX 5.1
cargilld@ca.ibm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|xerces-c-dev@xml.apache.org |cargilld@ca.ibm.com
------- Additional Comments From cargilld@ca.ibm.com 2003-07-11 15:24 -------
Where are you picking up stdlib.h from? On the AIX 5.1 system I tried, we have
VAC++ 5.02 and 6.00 installed so we have header files installed with the
compilers as well as in /usr/include (and they are not all the same). On this
system /usr/include/stdlib.h has #define div(x,y) __div(x,y) which I think is
causing the problem you have encountered.
When I specify -I/usr/include then I am able to reproduce the problem you
reported. If I allow the compiler to pick up the headers files according to
what is specified in the xlC script for the export __xlC_test_incpath then it
works fine for me. Check the xlC script and see what the order of the header
file includes is on the export __xlC_test_incpath. The Visual Age C++ header
files should be listed before /usr/include.
BTW, one way to check where you are getting the include files from is to
specify -qsource as a compiler option and check the resulting .lst file for
FILE TABLE SECTION, which lists where the include files were resolved from.
I hope this resolves the problem you are having.
David A. Cargill
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org