Re: AIX compilation error

[email protected] (Jason E. Stewart)
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
"Horne, Bill" <[email protected]> writes:

> Apologies in advance if this is not the appropriate forum ....

Nope, you got it right. This is the place for both user- and dev-
questions.


> I hit the following error when attempting to compile xerces-p on AIX 5.2
> with VisualAge compiler v5 any ideas? 

Hmmmm.... You are the first person I know of who has attempted this
OS/compiler combination, so we may need different flags for the AIX
hints file.

> Note (probably harmless): No library found for -lxerces-c

Nope, not harmless (damn Perl) - libxerces is not in you library
path. Even if you do get it to compile it won't link.

> cc -c -I. -IHandler
> -I/backup/Xerces/c/xerces-c_2_3_0-AIX51_6.00/include -D_REENTRANT -O
> -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -I/usr/opt/perl5/lib/5.6.
> 0/aix/CORE PerlCallbackHandler.cpp
> 
> "/usr/vacpp/include/stdlib.h", line 123.13: 1540-0040 (S) The text "llabs"
> is unexpected.  "undef" may be undeclared or ambiguous.

Looks like there is a #define conflict between Perl and the system
header files.

> "PerlCallbackHandler.cpp", line 23.18: 1540-1102 (W) "callbackObj" might be
> used  before it is set.

???

This might be a consequence of the first problem. Otherwise I'm
confused.

Cheers,
jas.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.