Ethereal

Re: [Ethereal-users] RE: Problem in compiling ethereal9.7 on HP-UX
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-users: November 2002


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