problems compiling modules for linux-2.1.64

Phil Humpherys (philh@dakcs.com)
Sun, 16 Nov 1997 17:58:07 -0700


I downloaded the source for linux-2.1.64, and modules-2.1.13. I
compiled the modules package first, then I configured and made
the kernel. The kernel compile made fine, but when I did 'make
modules' it eventually barfed accordingly:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe
-fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=586 -D__SMP__ -DMODULE -c -o dir.o
dir.c
dir.c: In function `umsdos_readdir_x':
dir.c:106: structure has no member named `s_mounted'
dir.c:110: structure has no member named `s_mounted'
dir.c:155: warning: passing arg 1 of `fat_readdir' from
incompatible pointer type
dir.c:155: warning: passing arg 3 of `fat_readdir' from
incompatible pointer type
dir.c:155: too many arguments to function `fat_readdir'
dir.c: In function `umsdos_inode2entry':
dir.c:487: warning: passing arg 1 of `fat_readdir' from
incompatible pointer type
dir.c:487: warning: passing arg 3 of `fat_readdir' from
incompatible pointer type
dir.c:487: too many arguments to function `fat_readdir'
dir.c: In function `umsdos_locate_path':
dir.c:568: warning: passing arg 1 of `atomic_inc' from
incompatible pointer type
dir.c:571: structure has no member named `s_mounted'
dir.c: In function `umsdos_lookup_x':
dir.c:631: warning: passing arg 1 of `atomic_inc' from
incompatible pointer type
dir.c:634: structure has no member named `s_mounted'
dir.c:642: warning: passing arg 1 of `atomic_inc' from
incompatible pointer type
dir.c:657: structure has no member named `s_mounted'
dir.c:670: structure has no member named `s_mounted'
dir.c:671: warning: passing arg 1 of `atomic_inc' from
incompatible pointer type
dir.c: In function `umsdos_hlink2inode':
dir.c:757: structure has no member named `s_mounted'
dir.c:760: warning: passing arg 1 of `atomic_inc' from
incompatible pointer type
dir.c:755: warning: `dir' might be used uninitialized in this
function
dir.c: At top level:
dir.c:791: warning: initialization from incompatible pointer type
dir.c:793: warning: initialization from incompatible pointer type
dir.c:804: warning: initialization from incompatible pointer type
dir.c:805: warning: initialization from incompatible pointer type
dir.c:806: warning: initialization from incompatible pointer type
dir.c:807: warning: initialization from incompatible pointer type
dir.c:808: warning: initialization from incompatible pointer type
dir.c:809: warning: initialization from incompatible pointer type
dir.c:810: warning: initialization from incompatible pointer type
dir.c:811: warning: initialization from incompatible pointer type
dir.c:812: warning: initialization from incompatible pointer type
make[2]: *** [dir.o] Error 1
make[2]: Leaving directory `/usr/src/linux/fs/umsdos'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [modules] Error 2

any ideas?

-- 
Phil Humpherys  <philh@dakcs.com>                  Fax: +1.801.778.2230
Systems Administrator/Engineer                   Phone: +1.801.778.2238
DAKCS Systems Software, Inc.   WWW: http://xena.astronnet.com/~humphery
PGP:  1024 0xBD9F700D 1F 2F 32 53 98 BF 03 9E  C3 77 1B 4D 6E C1 84 C4

"Got no time for spreadin' roots, our time has come to be gone. And though our health we drank a thousand times, it's time to ramble on." -- Jimmy Page and Robert Plant, Ramble On, 1969.