I'm having a make issue with the 5.4.1 net-snmp on an AIX 5.3 server and was wondering if folks have seen this scenario/errors before and what I might be doing wrong. Any help would be appreciated
I downloaded the 5.4.1 tar. Untarred it into /usr/lpp/. Went into /usr/lpp/net-snmp-5.4.1 and ran ./configure --enable-as-needed. That seemed to work fine config.status: creating include/net-snmp/net-snmp-config.h config.status: include/net-snmp/net-snmp-config.h is unchanged config.status: executing default commands --------------------------------------------------------- Net-SNMP configuration summary: --------------------------------------------------------- SNMP Versions Supported: 1 2c 3 Net-SNMP Version: 5.4.1 Building for: aix5 Network transport support: Callback Unix TCP UDP SNMPv3 Security Modules: usm Agent MIB code: default_modules => snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host Embedded Perl support: enabled SNMP Perl modules: building -- embeddable SNMP Python modules: disabled Authentication support: MD5 Encryption support: --------------------------------------------------------- then I ran the make and got the following errors 4 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE -g -Daix5=aix5 -c 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. "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. "snmp_perl.c", line 50.29: 1506-280 (W) Function argument assignment between types "void(*)(struct interpreter*)" and "void(*)(void)" is not allowed. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. # ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users