[tcpdump-workers] Fix FreeBSD capsicum build on FreeBSD 10.1

Guy Harris guy at alum.mit.edu
Sun Dec 7 02:41:51 EST 2014


On Dec 6, 2014, at 9:19 PM, Loganaden Velvindron <logan at elandsys.com> wrote:

> Here's the config.log output:
> 
> configure:4540: checking for cap_rights_init
> configure:4540: cc -o conftest -g -O2   conftest.c  >&5
> /tmp/conftest-942ee0.o: In function `main':
> /root/tcpdump/tcpdump-4.6.2/conftest.c:66: undefined reference to `cap_rights_init'
> cc: error: linker command failed with exit code 1 (use -v to see invocation)

So, in FreeBSD 10.1, is cap_rights_init() a function in libc, or is it a macro that calls a function with a different name? The linker seems to be indicating that it's not present in the standard library.



More information about the tcpdump-workers mailing list