vfat does not compile in 2.1.47

Rune =?ISO-8859-1?Q?S=E6tre?= (runes@bonzai.idi.ntnu.no)
Wed, 30 Jul 1997 20:34:21 +0000 ( )


Hi!

Kernel v.2.1.47 will not compile when the vfat filesystem is included. It
seems to me that the file linux/fs/vfat/namei.c should have been updated
to match te declarations in linux/include/linux/msdos_fs.h. Is this fixed
somewhere yet, so I can compile this kernel? And by the way, where are the
new kernels first to be found?

The error-message from the compilation is as follows:
...
make[3]: Entering directory `/home/runes/usr/src/linux/fs/vfat'
gcc -D__KERNEL__ -I/home/runes/usr/src/linux/include -Wall
-Wstrict-prototypes O2 -fomit-frame-pointer -D__SMP__ -pipe
-fno-strength-reduce -m386 -DCPU=386 -D_SMP__ -DEXPORT_SYMTAB -c namei.c
namei.c:72: warning: initialization from incompatible pointer type
namei.c:75: warning: initialization from incompatible pointer type
namei.c:77: warning: initialization from incompatible pointer type
namei.c:915: conflicting types for `vfat_lookup'
/home/runes/usr/src/linux/include/linux/msdos_fs.h:279: previous
declaration of`vfat_lookup'
namei.c:1022: conflicting types for `vfat_create'
/home/runes/usr/src/linux/include/linux/msdos_fs.h:269: previous
declaration of`vfat_create'
namei.c:1275: conflicting types for `vfat_rmdir'
/home/runes/usr/src/linux/include/linux/msdos_fs.h:272: previous
declaration of`vfat_rmdir'
namei.c:1315: conflicting types for `vfat_mkdir'
/home/runes/usr/src/linux/include/linux/msdos_fs.h:271: previous
declaration of`vfat_mkdir'
namei.c:1344: conflicting types for `vfat_unlink'
/home/runes/usr/src/linux/include/linux/msdos_fs.h:270: previous
declaration of`vfat_unlink'
namei.c:1355: conflicting types for `vfat_rename'
/home/runes/usr/src/linux/include/linux/msdos_fs.h:274: previous
declaration of`vfat_rename'
namei.c:1547: warning: initialization from incompatible pointer type
namei.c:1548: warning: initialization from incompatible pointer type
namei.c:1550: warning: initialization from incompatible pointer type
namei.c:1552: warning: initialization from incompatible pointer type
namei.c:1553: warning: initialization from incompatible pointer type
namei.c:1555: warning: initialization from incompatible pointer type
namei.c:1559: warning: initialization from incompatible pointer type
make[3]: *** [namei.o] Error 1
make[3]: Leaving directory `/home/runes/usr/src/linux/fs/vfat'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/runes/usr/src/linux/fs/vfat'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/home/runes/usr/src/linux/fs'
make: *** [linuxsubdirs] Error 2

---

Thanks for any help

Rune Saetre email: runes.idi.ntnu.no