2.1.51 and UMSDOS failed compile

Scott K. Ellis (storm@gate.net)
Tue, 26 Aug 1997 16:28:17 -0400 (EDT)


I got the following compile errors which attempting to compile UMSDOS as a
module with modversions under 2.1.51.

--- cut ---
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: 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: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[1]: *** [modules] Error 2
make: *** [modules] Error 2
--- end ---

-- 
     Scott K. Ellis      |      Thinking is more interesting than knowing,
     storm@gate.net      |          but less interesting than looking.
                         |                       -- Goethe