util-linux 2.12 -- Mount / loop error

John PAUL john.paul at wanadoo.fr
Mon Feb 9 00:27:02 PST 2004


Hi,
I got this error message when I compiled mount from util-linux.
I'm using, LFS 5.1 with kernel 2.6.1 headers. 
Is there a patch to apply ?
John

fs at pii-400:/media/lfs/sources/util-linux-2.12> make -C mount  mount umount
make: Entering directory `/media/lfs/sources/util-linux-2.12/mount'
cc -c -pipe -O2 -mcpu=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1   -D_FILE_OFFSET_BITS=64 
-DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" 
-DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DHAVE_NFS mount.c
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: *** [mount.o] Error 1make: Leaving directory `/media/lfs/sources/util-linux-2.12/mount'lfs at pii-400:/media/lfs/sources/util-linux-2.12>



More information about the lfs-support mailing list