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 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] ------- Additional Comments From [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
