# oslevel -s 6100-00-02-0750 # uname -a AIX boxname 1 6 0003338AD300 # gcc -v Using built-in specs. Target: powerpc-ibm-aix5.3.0.0 Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0 Thread model: aix gcc version 4.0.0 Configure line: # ./configure --prefix=/opt/freeware --enable-as-needed --without-kmem-usage Errors during configure: hecking libperfstat.h presence... yes configure: WARNING: libperfstat.h: present but cannot be compiled configure: WARNING: libperfstat.h: check for missing prerequisite headers? configure: WARNING: libperfstat.h: see the Autoconf documentation configure: WARNING: libperfstat.h: section "Present But Cannot Be Compiled" configure: WARNING: libperfstat.h: proceeding with the preprocessor's result configure: WARNING: libperfstat.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------------------------- ## configure: WARNING: ## Report this to net-snmp-coders@lists.sourceforge.net ## configure: WARNING: ## ---------------------------------------------------- ## and checking sys/stream.h presence... yes configure: WARNING: sys/stream.h: present but cannot be compiled configure: WARNING: sys/stream.h: check for missing prerequisite headers? configure: WARNING: sys/stream.h: see the Autoconf documentation configure: WARNING: sys/stream.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/stream.h: proceeding with the preprocessor's result configure: WARNING: sys/stream.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------------------------- ## configure: WARNING: ## Report this to net-snmp-coders@lists.sourceforge.net ## configure: WARNING: ## ---------------------------------------------------- ## Error during make: /usr/include/unistd.h:916: error: parse error before 'rid_t' system.c: In function 'get_myaddr': system.c:589: error: storage size of 'ifc' isn't known system.c:605: error: invalid application of 'sizeof' to incomplete type 'struct ifreq' system.c:610: error: invalid application of 'sizeof' to incomplete type 'struct ifreq' system.c:613: error: invalid application of 'sizeof' to incomplete type 'struct ifconf' system.c:641: error: dereferencing pointer to incomplete type system.c:642: error: dereferencing pointer to incomplete type system.c:647: error: dereferencing pointer to incomplete type system.c:650: error: dereferencing pointer to incomplete type system.c:652: error: invalid application of 'sizeof' to incomplete type 'struct oifreq' system.c:655: error: dereferencing pointer to incomplete type system.c:655: error: 'IFF_UP' undeclared (first use in this function) system.c:655: error: (Each undeclared identifier is reported only once system.c:655: error: for each function it appears in.) system.c:659: error: dereferencing pointer to incomplete type system.c:666: error: invalid application of 'sizeof' to incomplete type 'struct oifreq' system.c:670: error: dereferencing pointer to incomplete 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.