* Josip Rodin <j...@debbugs.entuzijast.net>, 2011-05-10, 09:32:
checking for pcap_open_live in -lpcap... no
configure: WARNING: pcap library not found, silently disabling the RADIUS
sniffer.
Can you find the relevant config.log snippet?
We started using the system offsetof(3) in this revision as opposed to the
previous, but on the other hand - not in this code path, which says:
AC_CHECK_LIB(pcap, pcap_open_live,
[ PCAP_LIBS="-lpcap"
AC_DEFINE(HAVE_LIBPCAP, 1,
[Define to 1 if you have the `pcap' library (-lpcap).])
],
[ AC_MSG_WARN([pcap library not found, silently disabling the RADIUS
sniffer.]) ])
That sounds... generic.
From my config.log:
configure:21607: result: no
configure:21620: checking for pcap_open_live in -lpcap
configure:21655: gcc -o conftest -g -O2 -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
conftest.c -lpcap -lnsl -lresolv -lpthread >&5
/usr/lib/gcc/i486-kfreebsd-gnu/4.6.1/../../../libpcap.so: undefined reference
to `clock_gettime'
collect2: ld returned 1 exit status
configure:21661: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define ASCEND_BINARY
| #define WITH_VMPS 1
| #define WITH_UDPFROMTO
| #define HAVE_PTHREAD_H 1
| #define HAVE_LIBRESOLV 1
| #define HAVE_LIBNSL 1
| #define HAVE_LIBCRYPTO 1
| #define HAVE_LIBSSL 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pcap_open_live ();
| int
| main ()
| {
| return pcap_open_live ();
| ;
| return 0;
| }
configure:21679: result: no
configure:21690: WARNING: pcap library not found, silently disabling the RADIUS
sniffer.
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org