I tried building 5.2.2.pre3 on AIX 5.1/5.2 with the IBM C compiler:
  ./configure --with-cc=xlc --enable-internal-md5 --with-sys-contact= \
  --with-sys-location= --enable-shared --enable-static \
  --with-mibdirs=$HOME/.snmp/mibs:/opt/TWWfsw/netsnmp522/share/mibs \
  --with-mib-modules="host mibII/mta_sendmail disman/event-mib \
  ucd-snmp/diskio --enable-mfd-rewrites \
  --with-default-snmp-version=3 --prefix=/opt/TWWfsw/netsnmp522

The build fails with the following error:
/bin/sh ../../libtool  --mode=compile xlc -I../../include -I. -I../../agent 
-I../../agent/mibgroup -I../../snmplib   -O2 -qro -qroconst -qmaxmem=-1 
-qarch=com -Daix5 -I/usr/include/rpm  -c -o host/hr_swrun.lo host/hr_swrun.c
 xlc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib 
-O2 -qro -qroconst -qmaxmem=-1 -qarch=com -Daix5 -I/usr/include/rpm -c 
host/hr_swrun.c  -DPIC -o host/.libs/hr_swrun.o
"host/hr_swrun.c", line 918.42: 1506-022 (S) "p_stat" is not a member of 
"struct proc".
"host/hr_swrun.c", line 1062.48: 1506-022 (S) "p_utime" is not a member of 
"struct proc".
"host/hr_swrun.c", line 1063.38: 1506-022 (S) "p_utime" is not a member of 
"struct proc".
"host/hr_swrun.c", line 1064.38: 1506-022 (S) "p_stime" is not a member of 
"struct proc".
"host/hr_swrun.c", line 1065.38: 1506-022 (S) "p_stime" is not a member of 
"struct proc".
"host/hr_swrun.c", line 1376.44: 1506-022 (S) "p_stat" is not a member of 
"struct proc".
"host/hr_swrun.c", line 1407.27: 1506-022 (S) "p_stat" is not a member of 
"struct proc".
gmake[2]: *** [host/hr_swrun.lo] Error 1
gmake[2]: Leaving directory `/opt/build/net-snmp-5.2.2.pre3/agent/mibgroup'

-- 
albert chin ([EMAIL PROTECTED])


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to