Albert Chin wrote:
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".
Known issue. I've just added a note in README.aix about it.
That said, there's patch #1102156 in the SF patch tracker that claims to
add support for host/hr_storage and host/sw_run on AIX. Would you be
willing to give it a try and report back?
Also, did you run into any of the other issues mentioned in README.aix?
Does the build and "make test" succeed if you omit the "host" module?
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------
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