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

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

Hello Hilko,

you NMU'd nmap to introduce a new upstream version. It generated an
FTBFS on kfreebsd-*, which has been unanswered for a whole month. Can
you please fix the RC bugginess you introduced? That should be
especially easy since GNU/kFreeBSD porters already supplied a patch?

Steven Chamberlain <steven@pyro.eu.org> (01/05/2012):
> tags 671064 + patch
> thanks

Thanks Steven for the patch.

> On 01/05/12 17:23, Christoph Egger wrote:
> > 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

Thanks Christoph for the report.


Attachment: signature.asc
Description: Digital signature

Reply to: