New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable USB capture support #149

Merged
merged 1 commit into from Dec 5, 2018

Conversation

Projects
None yet
1 participant
@busterb
Contributor

busterb commented Dec 5, 2018

Currently we let autoconf decide, and it can make mistakes that lead to compilation failures.

Specifically:

03:15:47 Building libpcap for x86_64-linux-musl
03:15:49 �[01m�[K./pcap-usb-linux.c:�[m�[K In function '�[01m�[Kusb_findalldevs�[m�[K':
03:15:49 �[01m�[K./pcap-usb-linux.c:264:19:�[m�[K �[01;31m�[Kerror: �[m�[K'�[01m�[KPATH_MAX�[m�[K' undeclared (first use in this function); did you mean '�[01m�[KAF_MAX�[m�[K'?
03:15:49   char usb_mon_dir[�[01;31m�[KPATH_MAX�[m�[K];
03:15:49                    �[01;31m�[K^~~~~~~~�[m�[K
03:15:49                    �[32m�[KAF_MAX�[m�[K
03:15:49 �[01m�[K./pcap-usb-linux.c:264:19:�[m�[K �[01;36m�[Knote: �[m�[Keach undeclared identifier is reported only once for each function it appears in
03:15:49 �[01m�[K./pcap-usb-linux.c:�[m�[K In function '�[01m�[Kprobe_devices�[m�[K':
03:15:49 �[01m�[K./pcap-usb-linux.c:419:41:�[m�[K �[01;31m�[Kerror: �[m�[K'�[01m�[KNAME_MAX�[m�[K' undeclared (first use in this function); did you mean '�[01m�[KAF_MAX�[m�[K'?
03:15:49   char buf[sizeof("/dev/bus/usb/000/") + �[01;31m�[KNAME_MAX�[m�[K];
03:15:49                                          �[01;31m�[K^~~~~~~~�[m�[K
03:15:49                                          �[32m�[KAF_MAX�[m�[K
03:15:49 make[1]: *** [pcap-usb-linux.o] Error 1
03:15:49 �[01m�[K./pcap-usb-linux.c:�[m�[K In function '�[01m�[Kusb_findalldevs�[m�[K':
03:15:49 �[01m�[K./pcap-usb-linux.c:264:19:�[m�[K �[01;31m�[Kerror: �[m�[K'�[01m�[KPATH_MAX�[m�[K' undeclared (first use in this function); did you mean '�[01m�[KAF_MAX�[m�[K'?

@busterb busterb merged commit e349319 into rapid7:master Dec 5, 2018

busterb added a commit that referenced this pull request Dec 5, 2018

@busterb busterb self-assigned this Dec 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment