[Buildroot] [PATCH 3/3] libpcap: canusb support needs pthreads

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jun 26 14:23:21 UTC 2012


Le Tue, 26 Jun 2012 11:19:50 -0300,
Gustavo Zacarias <gustavo at zacarias.com.ar> a écrit :

> canusb support in libpcap uses pthreads but the configure script doesn't
> account for -lpthread usage so it doesn't get added into LIBS which in
> turn doesn't add the appropiate entry in pcap-config, causing build
> failures for programs that link to libpcap that don't use pthreads
> themselves (for example tcpdump).
> Also add the conditional dependency on BR2_PACKAGE_LIBUSB for canusb.

So maybe we need an additional BR2_TOOLCHAIN_HAS_THREADS dependency
somewhere?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list