Had to make these changes to compile under HP-UX 11.00
1. in edline.c KEY_END is undefined anywhere comment out this case
2. in options.c u_int32_t is uint32_t in HP-UX (sys/types.h) struct if_nameindex is struct ifnet in HP-UX (net/if.h)
3. in resolver.c wait() requires an argument of type int * changed wait() to wait( (int *) (pid_t) -1)
4. in ui.c before #include <curses.h> add #define _XOPEN_SOURCE_EXTENDED
5. in addrs_dlpi.c add #include <netdb.h>
Got through the compile phase with these changes, but at load time, 'ld' choked when trying to find if_freenameindex() and if_nameindex()
Can anyone suggest where I might find these functions? Or is the port hopeless because different data structures are being used for kernel if structures?
===== John Caywood biliary two thousand at yahoo dot calm
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
On Wed, Apr 28, 2004 at 07:51:36AM -0700, John Caywood wrote:
Got through the compile phase with these changes, but at load time, 'ld' choked when trying to find if_freenameindex() and if_nameindex()
Can anyone suggest where I might find these functions?
These are sort-of standard. Linux and SunOS provide them. Not sure about HPUX, but is this: http://devrsrc1.external.hp.com/STKL/impacts/i14.html any help?
--- Chris Lightfoot chris@ex-parrot.com wrote:
On Wed, Apr 28, 2004 at 07:51:36AM -0700, John Caywood wrote:
Got through the compile phase with these changes,
but
at load time, 'ld' choked when trying to find if_freenameindex() and if_nameindex()
Can anyone suggest where I might find these
functions?
These are sort-of standard. Linux and SunOS provide them. Not sure about HPUX, but is this:
http://devrsrc1.external.hp.com/STKL/impacts/i14.html
any help?
Thanks, Chris. That looks like just what I need.
iftop-users mailing list iftop-users@lists.beasts.org http://lists.beasts.org/mailman/listinfo/iftop-users
===== John Caywood biliary two thousand at yahoo dot calm
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover