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

Re: Bug#637693: hivex: FTBFS (kfreebsd): error: 'O_CLOEXEC' undeclared (first use in this function)



* Christoph Egger:

> Your package failed to build on the kfreebsd-* buildds:
> /bin/bash ../libtool --silent --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../lib -I..  -I../../../gnulib/lib -I../../../lib    -g -O2 -c -o libhivex_la-hivex.lo `test -f 'hivex.c' || echo '../../../lib/'`hivex.c
> ../../../lib/hivex.c: In function 'hivex_open':
> ../../../lib/hivex.c:296:38: error: 'O_CLOEXEC' undeclared (first use in this function)
> ../../../lib/hivex.c:296:38: note: each undeclared identifier is reported only once for each function it appears in
> make[5]: *** [libhivex_la-hivex.lo] Error 1

Looks like a header file is not included -- or some definition is
missing. I'd expect O_CLOEXEC to be defined if fcntl.h is included which
is the case. Is there anything else that needs to be defined or
included?

> Full build log at
> https://buildd.debian.org/status/fetch.php?pkg=hivex&arch=kfreebsd-i386&ver=1.2.8-1&stamp=1313169860

Cheers,
-Hilko


Reply to: