[oe] falloc.h missing: util-linux-ng-2.17 build fails against 2.6.24

Thilo Fromm t.fromm at dresearch.de
Mon Sep 27 15:15:11 UTC 2010


Hello *.*,

When building the latest trunk against kernel 2.6.24 the build fails for 
at least util-linux-ng-2.17 because the kernel header file "falloc.h" is 
not present:

|
| fallocate.c:40:54: error: linux/falloc.h: No such file or directory
| fallocate.c: In function 'main':
| fallocate.c:132: error: 'FALLOC_FL_KEEP_SIZE' undeclared (first use in 
this function)
| fallocate.c:132: error: (Each undeclared identifier is reported only once
| fallocate.c:132: error: for each function it appears in.)
| make[2]: *** [fallocate.o] Error 1
| make[2]: *** Waiting for unfinished jobs....


This happens because linux-libc-headers for 2.6.24 does not provide 
falloc.h - although it's present in the kernel it is not exported during 
make headers_install.

Regards,
Thilo

-- 
Dipl.-Ing (FH) Thilo Fromm, MSc., Embedded Systems Developer
DResearch Digital Media Systems GmbH
Otto-Schmirgal-Str. 3, D-10319 Berlin, Germany
Tel: +49 (30) 515 932 228   mailto:t.fromm at dresearch.de
Fax: +49 (30) 515 932 77    http://www.dresearch.de
Amtsgericht: Berlin Charlottenburg, HRB:54412
Ust.-IDNr. DE169013825; WEEE Reg.-Nr. DE 85995642
Geschäftsführer: Dr. M. Weber, W. Mögle




More information about the Openembedded-devel mailing list