New: ngrep - requires --with-pcap-includes fully defined to find bpf.h
https://bugs.busybox.net/show_bug.cgi?id=7370
Summary: ngrep - requires --with-pcap-includes fully defined to
find bpf.h
Product: buildroot
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: lonnie at abelbeck.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
For the ngrep package, with the following change:
--
- --with-pcap-includes=$(STAGING_DIR)/usr/include \
+ --with-pcap-includes=$(STAGING_DIR)/usr/include/pcap \
--
The bpf.h include file is now properly found, such that the following are defined in config.h:
--
#define HAVE_DLT_RAW 1
#define HAVE_DLT_LOOP 1
#define HAVE_DLT_LINUX_SLL 1
#define HAVE_DLT_IEEE802_11 1
#define HAVE_DLT_IEEE802_11_RADIO 1
--
One benefit is that "ngrep -d any" now works since HAVE_DLT_LINUX_SLL is defined.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 7370] ngrep - requires --with-pcap-includes fully defined to find bpf.h
https://bugs.busybox.net/show_bug.cgi?id=7370
--- Comment #1 from Thomas De Schampheleire <[email protected]> 2014-09-08 18:55:10 UTC --- Thanks for reporting this.
Would you mind sending this as a proper patch to the mailing list? This will definitely help us.
If you're unsure on how to send patches, have a look at
http://buildroot.uclibc.org/downloads/manual/manual.html#submitting-patches
Thanks in advance!
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 7370] ngrep - requires --with-pcap-includes fully defined to find bpf.h
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7370
--- Comment #2 from Thomas De Schampheleire <[email protected]> 2014-10-22 10:35:54 UTC --- Patch sent to the list: http://patchwork.ozlabs.org/patch/401242/
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 7370] ngrep - requires --with-pcap-includes fully defined to find bpf.h
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7370
--- Comment #3 from Thomas Petazzoni <[email protected]> 2014-10-22 20:49:04 UTC --- Patch applied, thanks!
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 7370] ngrep - requires --with-pcap-includes fully defined to find bpf.h
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7370
Thomas De Schampheleire <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXEDSignature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.