Jakub Wilk <jw...@debian.org> writes:

>>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

> I think that clock_gettime is in libc on "true" FreeBSD, but it's in
> librt on GNU/* systems. The attached patch should fix this bug. (At
> least I could rebuild freeradius successfuly on kfreebsd-i386.)

Duh, my bad, it's because I enabled zerocopy BPF again.

Thanks for the patch, I'll merge it asap.

-- 
Romain Francoise <rfranco...@debian.org>
http://people.debian.org/~rfrancoise/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to