Net-SNMP version: NET-SNMP 5.4.2.1
OS Name: Aix
oslevel
6.1.2.0
NET-SNMP Configuration
-------------------------------------
./configure --disable-shared --disable-embedded-perl --disable-mib-loading --enable-static --with-libs= --with-cc=/usr/bin/gcc --with-cflags=-L/oldbuild/cirbasnmpd-commonEnv/thirdparty/openssl/compiled/aix/6.1-64/openssl-0.9.8h --with-openssl=/oldbuild/cirbasnmpd-commonEnv/thirdparty/openssl/compiled/aix/6.1-64/openssl-0.9.8h --with-persistent-directory=/var/opt/CRBAsnmpd/confs --with-default-snmp-version=3 --with-sys-contact=- --with-sys-location=- --with-logfile=/var/opt/CRBAsnmpd/log/cirba-snmpd.log --with-mib-modules=mibII ucd_snmp ucd-snmp/extensible agentx/protocol agentx/client agentx/master_admin agentx/agentx_config agentx smux ucd-snmp/dlmod snmpv3mibs
making all in /oldbuild/cirbasnmpd-commonEnv/thirdparty/netsnmp-new/compiled/aix/6.1-64/net-snmp-5.4.2.1-patched/agent/mibgroup
/bin/sh ../../libtool --mode=compile /usr/bin/gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/oldbuild/cirbasnmpd-commonEnv/thirdparty/openssl/compiled/aix/6.1-64/openssl-0.9.8h/include -L/oldbuild/cirbasnmpd-commonEnv/thirdparty/openssl/compiled/aix/6.1-64/openssl-0.9.8h -Uaix6 -Daix6=aix6 -c -o mibII/ip.lo mibII/ip.c
/usr/bin/gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/oldbuild/cirbasnmpd-commonEnv/thirdparty/openssl/compiled/aix/6.1-64/openssl-0.9.8h/include -L/oldbuild/cirbasnmpd-commonEnv/thirdparty/openssl/compiled/aix/6.1-64/openssl-0.9.8h -Uaix6 -Daix6=aix6 -c mibII/ip.c -o mibII/ip.o
In file included from /usr/include/sys/corral.h:25,
from /usr/include/libperfstat.h:28,
from mibII/ip.c:37:
/usr/include/netinet/in6_var.h:65: error: array type has incomplete element type
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.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
Configure log
Came across the following reference which seems to address the problem though the 5.4 patch branch doesn't contain any fixes similar to this and has the same issue
http://www.nabble.com/coreutils-%7B6,7%7D-will-not-compile-on-AIX-6.1-td21260134.html
Should each individual file be patched? Or should the patch just be applied to /usr/include/libperfstat.h? Still unclear why my machine exhibits this problem though. Any thoughts would be appreciated.