logo       

Re: Questions: msg#00251

network.net-snmp.user

Subject: Re: Questions

On Fri, 23 Jan 2004 12:00:38 +0000 Dave wrote:
DS> > 2) netsnmp_check_varbind_size seems to constrain valid sets id
DS> > MIB objects declared DisplayString only to "equal to the full length"
DS> > of the MIB object being set.
DS>
DS> The only places where this is used in the code as distributed
DS> are checks against an INTEGER value, which will have a fixed size.
DS>
DS> No - it's not a bug.

I think he mentioned 'array' code, and there is a bug in the code generated by
array user for strings. It will check that a set is for the full size of an
array, which is a bug.

DS> > 4) What's the ./configure option to say "don't use .so libraries -
DS> > link it statically"?
DS>
DS> Try
DS> ./configure --disable-shared

That will disable building them, but if a previous version was installed, the
linker may choose to use old libraries. If you want completely static binaries,
use
--with-ldflags='-Wl,-Bstatic'

--
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@xxxxxxxxxxxxxxxxxxxxx
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise