On Wed, Nov 06, 2002 at 12:52:05PM +0530, Mudium, Ravi Kumar (Ravi) wrote: > /usr/bin/ld: Unsatisfied symbols: > htonl (code) Unfortunately, that's not the GNU loader, so it doesn't say where "htonl()" was used, but try applying the attached patch to "packet-netflow.c" (the change is in the current CVS tree, so it'll be in the next release).
*** packet-netflow.c.orig Sun Sep 22 09:13:21 2002
--- packet-netflow.c Wed Nov 6 15:17:01 2002
***************
*** 796,802 ****
{
guint32 gprefix;
! gprefix = *address & htonl((0xffffffff << (32 - prefix)));
return (ip_to_str(&gprefix));
}
--- 796,802 ----
{
guint32 gprefix;
! gprefix = *address & g_htonl((0xffffffff << (32 - prefix)));
return (ip_to_str(&gprefix));
}
Powered by MHonArc 2.6.10