[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kompilacja supermount



Hej! Ściągnąłem sobie supermounta, próbuję skompilować i:

make[3]: Entering directory `/usr/src/linux/fs/supermount'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=super -c -o super.o super.c
In file included from super.c:28:
supermount_i.h: In function `supermount_lock_door':
supermount_i.h:241: `MEDIA_LOCK' undeclared (first use in this function)
supermount_i.h:241: (Each undeclared identifier is reported only once
supermount_i.h:241: for each function it appears in.)
supermount_i.h: In function `supermount_unlock_door':
supermount_i.h:246: `MEDIA_UNLOCK' undeclared (first use in this function)
super.c: In function `disk_changed':
super.c:60: warning: implicit declaration of function `query_disk_change'
super.c: In function `subfs_remount':
super.c:116: warning: implicit declaration of function `do_remount_sb'
super.c: In function `subfs_needs_mount':
super.c:169: warning: implicit declaration of function `invalidate_media'
super.c: In function `subfs_real_mount':
super.c:184: warning: implicit declaration of function `do_kern_mount'
super.c:186: warning: assignment makes pointer from integer without a cast
make[3]: *** [super.o] Błąd 1
make[3]: Leaving directory `/usr/src/linux/fs/supermount'
make[2]: *** [_modsubdir_supermount] Błąd 2
make[2]: Leaving directory `/usr/src/linux/fs'
make[1]: *** [_mod_fs] Błąd 2
make[1]: Leaving directory `/usr/src/linux'
make: *** [stamp-build] Błąd 2

Oczywiście w menuconfig zaznaczyłem supermounta jako moduł. Co oznacza ten błąd? Przeczytałem README ale tam nic nie ma na ten temat. Tego stringu MEDIA_LOCK nie ma w całym jądrze...

cayco



Reply to: