util-linux-2.12 (1.3.3 and 20040304) fails build

Chris sums3l at yahoo.de
Mon Mar 8 13:58:00 GMT 2004


nestu wrote:
> Dennis,
> I have tried a patch for 2.6 kernel headers w/o luck:
> http://ep09.pld-linux.org/~mmazur/glibc-kernel-headers/patches/util-linux.patch 
> 
> I have kernl-headers-2.6 and gcc3.3.3 installed.
> 
> I get this error:
> In file included from mount.c:65:
> loop.h:20: error: parse error before "__kernel_dev_t"
> loop.h:20: warning: no semicolon at end of struct or union
> loop.h:22: error: parse error before "lo_rdevice"
> loop.h:22: warning: type defaults to `int' in declaration of `lo_rdevice'
> loop.h:22: warning: data definition has no type or storage class
> loop.h:31: error: parse error before '}' token
> make[1]: *** [mount.o] Error 1
> make[1]: Leaving directory `/usr/src/util-linux-2.12/mount'
> make: *** [all] Error 1
> 
> Maybe you are more lucky?
> CU,
> nestu ;)))
> 

Try these two patches:
http://tldp.org/HOWTO/Cryptoloop-HOWTO/userspace-tools.html

Using these util-linux compiled fine on 2.6.3 + gcc 3.3.3

Regards
Chris


More information about the Lunar mailing list