[klibc] getting dmraid to use klibc
H. Peter Anvin
hpa at zytor.com
Mon Oct 17 11:15:38 PDT 2005
Filippo Giunchedi wrote:
> I'm trying to get dmraid 1.0.0rc9  to compile with --enable-klibc, however I
> have some troubles with mkfifo defined in /usr/lib/klibc/include/sys/stat.h.
> /usr/lib/klibc/include/sys/stat.h: In function 'mkfifo':
> /usr/lib/klibc/include/sys/stat.h:28: error: 'S_IFMT' undeclared (first use in
> this function)
> after investigating a little I found out that <features.h> is being included (is this
> right?) and defines __GLIBC__ and thus S_IFMT is not being defined from
Looks like you're using a broken set of Linux headers. The claim that
you're including /usr/include/linux/stat.h is a good indication of that.
How is your klibc installation set up?
More information about the klibc