Nmap Development mailing list archives
netinet/if_ether.h warnings
From: Matt Selsky <selsky () columbia edu>
Date: Sun, 1 Sep 2002 00:32:44 -0400
I'm building nmap-3.10ALPHA2 on solaris8 with gcc-3.2 and I get the
following warning during ./configure (it still compiled successfully):
WARNING: netinet/if_ether.h: present but cannot be compiled
WARNING: netinet/if_ether.h: check for missing prerequisite headers?
WARNING: netinet/if_ether.h: proceeding with the preprocessor's result
I poked around in config.log and found this:
configure:4083: checking netinet/if_ether.h usability
configure:4092: gcc -c -g -O2 conftest.c >&5
In file included from
/opt/gcc-3.2/lib/gcc-lib/sparc-sun-solaris2.8/3.2/include/netinet/if_ether.h:37,
from configure:4120:
/usr/include/net/if_arp.h:61: field `arp_pa' has incomplete type
/usr/include/net/if_arp.h:62: field `arp_ha' has incomplete type
/usr/include/net/if_arp.h:64: confused by earlier errors, bailing out
It is complaining about sockaddr not being defined:
struct arpreq {
struct sockaddr arp_pa; /* protocol address */
struct sockaddr arp_ha; /* hardware address */
int arp_flags; /* flags */
};
sockaddr is defined in /usr/include/sys/socket.h Should nmap be
including that header when trying to use netinet/if_ether.h?
---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).
Current thread:
- netinet/if_ether.h warnings Matt Selsky (Aug 31)
