hello all,
has anyone managed to compile DBI on AIX 5.2 with IBM xlc compiler? i tried and it breaks like this:
...
xlc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O2 -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -I/opt/freeware/lib/perl5/5.6.1/ppc-aix/CORE -DDBI_NO_THREADS DBI.c
"DBI.xs", line 571.5: 1506-045 (S) Undeclared identifier va_alist.
make: 1254-004 The error code from the last command is 1.


va_alist seem to be declared in /usr/include/varargs.h, but including that did not seem to help.
perl is 5.6.1 (yes, downgraded from default 5.8) from IBM
--------
10:00:20 aix1:~/DBI-1.42> rpm -qi perl-5.6.1-6
Name : perl Relocations: /opt/freeware
Version : 5.6.1 Vendor: (none)
Release : 6 Build Date: Fri Apr 25 20:35:37 EETDST 2003
Install date: Tue Nov 11 15:33:27 EET 2003 Build Host: emperor.aixpclab.austin.ibm.com
Group : Development/Languages Source RPM: perl-5.6.1-6.src.rpm
Size : 26352487 License: Artistic
URL : http://www.perl.com
Summary : The Perl programming language.
--------
many thanks in advance,
ivars

Reply via email to