I finally figured out what was happening to tcpdump - sort of.  I 
narrowed it down to a function: ether_ntohost (in addrtoname.c, line 
695).  Rather than fix it (never did find out how) I removed support 
for "ether_ntohost" from tcpdump by commenting out 
HAVE_ETHER_NTOHOST and recompiling.

Why did this happen?  Debian Slink 2.1 had no problem with this; 
Oxygen produced a SegFault on ether_ntohost().

I suspect that it is because there was no library function to match - 
but why doesn't it say: "no library function ether_ntohost" instead 
of *BLOWING UP* eh?

I always felt like a SegFault was an indication of not programming 
for a potential error.  A SegFault should NEVER occur - right?

One sidebar: as a result of this debugging hunt I managed to get 
gdb into a package.  I forget who was asking, but I got it.  It loads 
libreadline and libm (quickest way to get it done!) but I can strip 
those out or move them or compile them in or something - Oxygen 
packages contain libm.lrp and librdln3.lrp ...

-- 
David Douthitt
UNIX Systems Administrator
HP-UX, Linux, Unixware
[EMAIL PROTECTED]

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to