Thank you for your reply!
I have now configured 5.3.0.1 and by the following:
./configure --disable-shared --without-openssl --with-mib-modules=host
This completes without errors.
When I run make, however, I get the following:
/bin/sh ../../libtool --mode=compile gcc -I../../include -I.
-I../../agent -I../../agent/mibgroup -I../../snmplib -g -O2 -Daix5
-c -o host/hr_swrun.lo host/hr_swrun.c
gcc -I../../include -I. -I../../agent -I../../agent/mibgroup
-I../../snmplib -g -O2 -Daix5 -c host/hr_swrun.c -o host/hr_swrun.o
host/hr_swrun.c: In function `var_hrswrun':
host/hr_swrun.c:935: error: structure has no member named `p_stat'
host/hr_swrun.c:1085: error: structure has no member named `p_utime'
host/hr_swrun.c:1086: error: structure has no member named `p_utime'
host/hr_swrun.c:1087: error: structure has no member named `p_stime'
host/hr_swrun.c:1088: error: structure has no member named `p_stime'
host/hr_swrun.c: In function `Get_Next_HR_SWRun':
host/hr_swrun.c:1406: error: structure has no member named `p_stat'
host/hr_swrun.c: In function `count_processes':
host/hr_swrun.c:1437: error: structure has no member named `p_stat'
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.
-Derrick
-----Original Message-----
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 22, 2006 9:26 AM
To: Beery, Derrick [DAS]
Cc: [email protected]
Subject: Re: net-snmp
On Wed, 18 Jan 2006 17:42:43 -0600 Derrick wrote:
DB> I have built net-snmp-5.3 from source on AIX 5.2 ML 7 running 64 bit
DB> kernel.
You should get 5.3.0.1, since you are using rocommunity.
DB> When I do an snmpwalk from another host, all I can get from
DB> .1.3.6.1.2.1.2.1 is:
DB>
DB> ifNumber.0 = 0
Which is correct. That is the only object under the oid you specified.
DB> And there is nothing under .1.3.6.1.2.1.25
Which is to be expected, since you didn't configure in the host module.
Add
--with-mib-modules=host to your configure line.
--
NOTE: messages sent directly to me, instead of the lists, will be
deleted
unless they are requests for paid consulting services.
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive:
<http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>
You are lost in a twisty maze of little standards, all different.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders