[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#671064: nmap: FTBFS[kfreebsd]: error: 'CLOCK_MONOTONIC' undeclared

Package: src:nmap
Version: 5.51.6-0.1
Severity: serious
Tags: sid wheezy
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org
Justification: fails to build from source (but built successfully in the past)


Your package failed to build on the kfreebsd-* buildds:

gcc -O2 -Wall -D_GNU_SOURCE -O2 -O2 -Wall -D_GNU_SOURCE -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./pcap-bpf.c
./pcap-bpf.c: In function 'pcap_next_zbuf':
./pcap-bpf.c:334:3: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
./pcap-bpf.c:334:24: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
./pcap-bpf.c:334:24: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [pcap-bpf.o] Error 1

Full build log at

This is with eglibc -31



If you have further questions please mail debian-bsd@lists.debian.org

9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer

Reply to: