Menu

#2 FreeBSD compilation failure on libpcap

open
nobody
None
5
2002-03-19
2002-03-19
Anonymous
No

For FreeBSD 4.3 to compile the nmap/libpcap-
possiblymodified/nametoaddr.c file, the following
patch needs to be applied:

--- nmap/libpcap-possiblymodified/nametoaddr.c.orig
Mon Mar 11 17:32:19 2002
+++ nmap/libpcap-possiblymodified/nametoaddr.c Mon
Mar 11 17:32:52 2002
@@ -330,7 +330,7 @@
}
#else

-#ifndef sgi
+#if !defined (sgi) && !defined (__FreeBSD__)
extern int ether_hostton(char *, struct ether_addr *);
#endif

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.