On Sat, Dec 06, 2014 at 11:41:51PM -0800, Guy Harris wrote: > > On Dec 6, 2014, at 9:19 PM, Loganaden Velvindron <lo...@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.
According to the man page, it's part of the standard libc: CAP_RIGHTS_INIT(3) FreeBSD Library Functions Manual CAP_RIGHTS_INIT(3) NAME cap_rights_init, cap_rights_set, cap_rights_clear, cap_rights_is_set, cap_rights_is_valid, cap_rights_merge, cap_rights_remove, cap_rights_contains -- manage cap_rights_t structure LIBRARY Standard C Library (libc, -lc) > > _______________________________________________ tcpdump-workers mailing list tcpdump-workers@lists.tcpdump.org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers