2008/5/19 Thomas Anders <[EMAIL PROTECTED]>:
> Rakesh Pandit wrote:
>> [2] https://bugzilla.redhat.com/show_bug.cgi?id=389631
>
> AFAICS that bugreport (against net-snmp) is closed with resolution
> NOTABUG and the last entry is from Bernard Johnson saying that he'll try
> fixing the bug on his side.
>
This problem is faced while building rpm even now with net-snmp-5.4.1.
I have reproduced it The reason for closing this bug was that Bernard
Johnson had no time continuing contributing to this bug[1] and rpm build
(as mentioned in last remark at [2]).
SNMP_FREE assume that the value passed there is l-value, but
net-snmp passes r-value -> compilation error at
include/net-snmp/library/container.h: Line 440
int CONTAINER_FREE(netsnmp_container *x)
{
int rc2, rc = 0;
/** start at last container */
while(x->next)
x = x->next;
while(x) {
netsnmp_container *tmp;
tmp = x->prev;
if (NULL != x->container_name)
SNMP_FREE(x->container_name); /*
<=========== */
rc2 = x->cfree(x);
if (rc2) {
snmp_log(LOG_ERR,"error on subcontainer cfree (%d)\n", rc2);
rc = rc2;
}
x = tmp;
}
return rc;
}
--
Rakesh Pandit
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders