>From mike_s Thu Oct 11 16:55:27 2007
>To: Ritu.Kamboj at Sun.COM
>Cc: Prashant.Srinivasan at Sun.COM, Stefan.Teleman at Sun.COM,
> sfwnv-discuss at opensolaris.org
>Subject: Re: [sfwnv-discuss] Build issues
>
>>From Ritu.Kamboj at Sun.COM Thu Oct 11 16:40:02 2007
>
>>1) file arp-ioctl.c in /usr/src/cmd/nmap/nmap-4.20/libdnet-stripped/src
>>does not compile due to following error:
the function that references RNF_ROOT does not seem to be present
in my arp-ioctl.o, so I suspect configure didn't decide to
enable that for me but did for you. Mine seems to enable
HAVE_STREAMS_MIB2 which does not go down that path, and
the test seems to be for /usr/include/inet/mib2.h and /dev/ip
being there and a character device.
>
>>2) /usr/src//cmd/quagga/quagga-0.99.8/zebra/rtread_sysctl.c fails to
>>compile with following error:
>
Actually my builds don't seem to even compile rtread_sysctl.c.
They seem to use rtread_getmsg instead. So I wonder why your
configure decided to use sysctl? getmsg seems to be enabled if
you have /dev/ip but the configure doesn't have -freebsd in it.
If you don't (and you don't have /proc/net/route) the default
appears to be sysctl whicih clearly doesn't work.
So the common thing here may be /dev/ip.
{mike_s:zod:171} ls -l /dev/ip
lrwxrwxrwx 1 root other 25 Oct 11 11:33 /dev/ip ->
../devices/pseudo/ip at 0:ip
{mike_s:zod:172} ls -lL /dev/ip
crw-rw-rw- 1 root sys 3, 0 Oct 11 17:38 /dev/ip
Though I'd also make sure you have the headers too, i may be
misinterpreting configure.
Mike