On 11/18/09 09:46, Danek Duvall wrote: > Darren Reed wrote: > >> With my integration today of: >> >> 6808014 tcpdump to be included into SFW consolidation >> 6863377 libpcap needs to be built to support BPF >> 6841989 libpcap needs to be updated version 1.0.0 >> >> >> it is now necessary for the host building the SFW gate >> to be running build 125 or later of Nevada. >> >> On hosts that are running earlier builds of nevada, >> libpcap will fail to build. > > I'm running build 126 of OpenSolaris, so I'm up to date, but I might be > missing something. I'm getting the following errors building both libpcap > and tcpdump: > > "./pcap-libdlpi.c", line 116: undefined symbol: DLPI_SYSERR > "./pcap-libdlpi.c", line 159: undefined symbol: promisc > "./pcap-libdlpi.c", line 182: undefined symbol: snaplen > "./pcap-libdlpi.c", line 212: undefined symbol: pcap_cleanup_libdlpi > "./pcap-libdlpi.c", line 212: warning: improper pointer/integer > combination: op "=" > "./pcap-libdlpi.c", line 216: function designator is not of function type > "./pcap-libdlpi.c", line 218: cannot recover from previous errors > cc: acomp failed for ./pcap-libdlpi.c > > but I also looked through /usr/include on jurassic, which is running build > 127, and DLPI_SYSERR doesn't show up anywhere there, either. Nor does it > show up in ON's cscope. But some of the other errors don't seem to have > anything to do with that. > > Any ideas?
My bet is that you do not have BPF (SUNWpacketu) installed and thus the auto-configure fails over from BPF to DLPI. To compound matters, libpcap 1.0.0 (now in SFW) never had the patches integrated for compilation under Nevada, so DLPI_SYSERR is not present anywhere in our sources (including under deleted_files.) Upon further examination, SUNWlibpcap gets built with the wrong dependencies, even though the correct ones are listed in usr/src/pkgdefs/SUNWlibpcap/depend with SCCS - see 6902662. If you're building for OpenSolaris, you might want to ensure that IPS has the correct dependency information (as per SCCS) and not that which comes from the build. Darren -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/sfwnv-discuss/attachments/20091118/352db4e1/attachment.html>
