2.5.7 hfs modules compil error
Hello,
gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DKBUILD_BASENAME=super -c -o super.o super.csuper.c: In function `hfs_fill_super':
super.c:536: `sb' undeclared (first use in this function) super.c:536: (Each undeclared identifier is reported only once super.c:536: for each function it appears in.)
make[2]: *** [super.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5/fs/hfs' make[1]: *** [_modsubdir_hfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5/fs'
make: *** [_mod_fs] Error 2
178.340u 10.190s 3:15.77 96.3% 0+0k 0+0io 189688pf+0w
Exit 2
Thanks you very much,
Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[email protected]
Quoted 8 lines · Gregoire Favre
Hello,
gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes
(quoted diff) +0
-3-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DKBUILD_BASENAME=super -c -o super.o super.c
super.c: In function `hfs_fill_super':
super.c:536: `sb' undeclared (first use in this function)
Typo fixed.
Signature · 1 line
Brian Gerst
fs/hfs/super.c +1 -1
@@ -533,7 +533,7 @@set_blocksize (dev,BLOCK_SIZE ); bail3:kfree (sbi); - sb->u.generic_sbp =NULL ; + s->u.generic_sbp =NULL ;return -EINVAL ; }