I remove the "enable-mini-agent" in the configure,
But I got compile errors as following:
mibII/at.c: In function `ARP_Scan_Next':
mibII/at.c:830: arithmetic on pointer to an incomplete type
mibII/at.c:836: dereferencing pointer to incomplete type
mibII/at.c:839: `ifIndex' undeclared (first use in this function)
mibII/at.c:839: (Each undeclared identifier is reported only once
mibII/at.c:839: for each function it appears in.)
make[2]: *** [mibII/at.lo] Error 1
make[2]: Leaving directory `/work/snmp/net-snmp-5.5/agent/mibgroup'
make[1]: *** [subdirs] Error 1

What is the correct configure parameters in QNX?

Chi


-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Friday, January 29, 2010 2:05 AM
To: Guan, Chi @ Datron
Cc: [email protected]
Subject: Re: How to disable/enable SNMP V1 and V2 on the fly?

On 29 January 2010 00:03,  <[email protected]> wrote:
> I use the following line to configure in QNX:
> ./configure --enable-mini-agent --with-defaults
> --with-out-transports="Callback Unix" --with-transports="UDP"
> --with-out-transports="TCP"
> --with-out-mib-modules="agent/mibII/vacm_config"

Delete this line.
"enable-mini-agent" removes all but the bare essentials.
Removing the VACM config is biting into this core functionality.

Leave the access control modules in place.


> May be I should "--with-mib-modules= agent/mibII/vacm_config", right?

You don't have to explicitly include this.
Just don't take it out in the first place!

Dave

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to