Over at The Net-SNMP Project, we're suffering from build problems when using embedded Perl on AIX 5.3 with the OS-supplied Perl 5.8.2 and the IBM C compiler: /usr/vac/bin/xlc -I../include -I/home/anders/src/net-snmp-5.4svn/include -I. -I../agent -I/home/anders/src/net-snmp-5.4svn/agent -I../agent/mibgroup -I/home/anders/src/net-snmp-5.4svn/agent/mibgroup -I../snmplib -I/home/anders/src/net-snmp-5.4svn/snmplib -I/my/libopenssl097/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE -DNETSNMP_ENABLE_IPV6 -O2 -qro -qroconst -qmaxmem=-1 -qarch=ppc -Daix5=aix5 -c /home/anders/src/net-snmp-5.4svn/agent/snmp_perl.c -DPIC -o .libs/snmp_perl.o "/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 619.16: 1506-007 (S) "struct drand48_data" is undefined. "/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 727.16: 1506-007 (S) "struct random_data" is undefined. "/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 775.16: 1506-007 (S) "struct random_data" is undefined. "/home/anders/src/net-snmp-5.4svn/agent/snmp_perl.c", line 20.23: 1506-280 (W) Function argument assignment between types "void(*)(struct interpreter*,struct cv*)" and "void(*)(struct cv*)" is not allowed. "/home/anders/src/net-snmp-5.4svn/agent/snmp_perl.c", line 50.29: 1506-280 (W) Function argument assignment between types "void(*)(struct interpreter*)" and "void(*)(void)" is not allowed. gmake[1]: *** [snmp_perl.lo] Error 1 gmake[1]: Leaving directory `/home/anders/build/5.4svn/agent' The snmp_perl.c code is here: http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/trunk/net-snmp/agent/snmp_perl.c?revision=15040&view=markup Further details can be found in the corresponding bug report: http://sf.net/support/tracker.php?aid=1600099 Similar configurations build and work fine on at least Linux, Solaris, HP-UX and others with different versions of Perl. Are there any known problems in this regard with the system-supplied Perl 5.8.2 on AIX 5.3? Any thoughts on how to fix this? (We're ramping up for the 5.4.1 release and like to get this resolved.) Cheers, +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) Net-SNMP Project Core Developer -- http://www.net-snmp.org Wanted: Perl Developer in Berlin/Germany http://www.it-jobs.stepstone.de/it-jobs.cfm?id=648372Thread Next