Hello:

> I am trying to build libpcap for QNX 4.25, and am experiencing the
following error:

> Unable to open 'ifaddrs.h'"

> The configure script reports:

> checking ifaddrs.h usability... yes
> checking ifaddrs.h presence... no
> checking for ifaddrs.h... no

> What can I do about this?  (The file does not exist.)

For my next trick (nothing up my sleeve!!!) I will answer my own question.

>From the TCP/IP Library Reference / System Library Functions Manual

NAME
     getifaddrs - get interface addresses

SYNOPSIS
     #include <sys/types.h>
     #include <sys/socket.h>
     #include <ifaddrs.h>

     int
     getifaddrs(struct ifaddrs **ifap);

    The getifaddrs() function first appeared in BSDI BSD/OS.  The function
is
     supplied on OpenBSD since OpenBSD 2.7.

Hmmmm.... So now I must scarf this file from an OpenBSD distro so that I
can continue and build libpcap 0.8.3 for QNX 4.25 ??

Egads, the slope gets more slippery.

Paul Thomas
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to