Date: Wed, 15 Mar 2017 05:34:09 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 217794] pcap-int.h of contrib/libpcap missing in /usr/include Message-ID: <bug-217794-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217794 Bug ID: 217794 Summary: pcap-int.h of contrib/libpcap missing in /usr/include Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: ohartmann@walstatt.org While trying to compile port security/dsniff on a recent CURRENT (FreeBSD 12.0-CURRENT #18 r315187: Mon Mar 13 06:32:50 CET 2017 amd64) I ran into a compilation error due to a missing header file, see below. I guess this PR is better with the main source list than ports, since taken from the error below, it's matter of the core system. [...] cc -O2 -pipe -O3 -fstack-protector -fno-strict-aliasing -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DHAVE_SOCKADDR_SA_LEN -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include -I/usr/include/pcap -I/usr/local/include -I/usr/local/include -c ./pcaputil.c --- webmitm --- cc -fstack-protector -o webmitm webmitm.o base64.o buf.o decode_http.o record.o -lrpcsvc -L. -lmd -L/usr/local/lib -lnet -lssl -lcrypto --- webspy --- cc -fstack-protector -o webspy webspy.o base64.o buf.o remote.o -lrpcsvc -L. -lmd -L/usr/local/lib -lnids `pkg-config --libs gthread-2.0` -lpcap -L/usr/local/lib -lnet -L/usr/local/lib -lSM -lICE -lXmu -lX11 --- pcaputil.o --- ./pcaputil.c:22:10: fatal error: '/usr/include/pcap-int.h' file not found #include </usr/include/pcap-int.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** [pcaputil.o] Error code 1 make[2]: stopped in /usr/ports/security/dsniff/work/dsniff-2.4 1 error make[2]: stopped in /usr/ports/security/dsniff/work/dsniff-2.4 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/security/dsniff *** Error code 1 Stop. make: stopped in /usr/ports/security/dsniff root@freyja:/usr/ports/security/dsniff # find /usr -name pcap-int.h -print /usr/obj/usr/src/tmp/usr/include/pcap-int.h /usr/obj/usr/src/lib32/usr/include/pcap-int.h /usr/src/contrib/libpcap/pcap-int.h -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217794-8>
