Skip to content

Commit 5131395

Browse files
committed
Update the error message when checking for pcap_loop()
Add a first error case when trying to build a 32-bit tcpdump with a 64-bit libpcap or vice versa. (cherry picked from commit 4211615) [skip ci]
1 parent fa42fbe commit 5131395

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

aclocal.m4

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -856,8 +856,10 @@ AC_DEFUN(AC_LBL_LIBPCAP,
856856
AC_CHECK_FUNC(pcap_loop,,
857857
[
858858
AC_MSG_ERROR(
859-
[This is a bug, please follow the guidelines in CONTRIBUTING.md and include the
860-
config.log file in your report. If you have downloaded libpcap from
859+
[
860+
1. Do you try to build a 32-bit tcpdump with a 64-bit libpcap or vice versa?
861+
2. This is a bug, please follow the guidelines in CONTRIBUTING.md and include
862+
the config.log file in your report. If you have downloaded libpcap from
861863
tcpdump.org, and built it yourself, please also include the config.log
862864
file from the libpcap source directory, the Makefile from the libpcap
863865
source directory, and the output of the make process for libpcap, as

0 commit comments

Comments
 (0)