Compile-time errors
While compiling the mtd-20000131 with a a 2.3.47 kernel I have received the following messages:
make -C /usr/src/linux SUBDIRS=/usr/src/mtd-20000131/ffs2 modules make[1]: Entering directory `/usr/src/linux-2.3.47'
make -C /usr/src/mtd-20000131/ffs2
CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.3.47/include -D__SMP__ -Wall -Wstric
t-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686
-march=i686 -DMODULE" MAKING_MODULES=1 modules
make[2]: Entering directory `/usr/src/mtd-20000131/ffs2'
gcc -D__KERNEL__ -I/usr/src/linux-2.3.47/include -D__SMP__ -Wall -Wstrict-pr
ototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -ma
rch=i686 -DMODULE -c -o super.o super.csuper.c: In function `ffs2_read_super':
super.c:1003: too many arguments to function d_alloc_root' super.c: In function ffs2_readpage':
super.c:1222: structure has no member named offset' super.c:1224: structure has no member named offset' super.c:1272: structure has no member named offset' super.c:1280: structure has no member named offset' super.c:1281: structure has no member named offset' super.c:1283: structure has no member named offset'super.c: In function `ffs2_file_write':
super.c:1674: warning: implicit declaration of function `update_vm_cache' super.c: At top level:
super.c:1736: warning: initialization from incompatible pointer type super.c:1739: warning: excess elements in struct initializer after `ffs2_file_inode_operations'
super.c:1740: warning: excess elements in struct initializer after `ffs2_file_inode_operations'
super.c:1741: warning: excess elements in struct initializer after `ffs2_file_inode_operations'
super.c:1779: warning: excess elements in struct initializer after `ffs2_dir_inode_operations'
super.c:1780: warning: excess elements in struct initializer after `ffs2_dir_inode_operations'
super.c:1781: warning: excess elements in struct initializer after `ffs2_dir_inode_operations'
super.c:1801: warning: excess elements in struct initializer after `ffs2_link_inode_operations'
super.c:1802: warning: excess elements in struct initializer after `ffs2_link_inode_operations'
super.c:1803: warning: excess elements in struct initializer after `ffs2_link_inode_operations'
super.c:1813: chrdev_inode_operations' undeclared here (not in a function) super.c:1813: initializer element for ffs2_inoops[5]' is not constant super.c:1841: warning: function declaration isn't a prototype super.c:1855: warning: function declaration isn't a prototype make[2]: *** [super.o] Error 1
make[2]: Leaving directory `/usr/src/mtd-20000131/ffs2'
make[1]: *** [_mod_/usr/src/mtd-20000131/ffs2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.3.47'
make: *** [all] Error 2
I require a little help with this. Thanks in advance !
-- Marius Bogoevici
CoRES Alarm, SA
To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 2 lines · [email protected] said:
While compiling the mtd-20000131 with a a 2.3.47 kernel I have received the following messages:
I don't think the FFS code compiles on 2.3 kernels - it was developed on 2.2
Jason - have you made any progress on this recently?
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 1 line · David Woodhouse
I don't think the FFS code compiles on 2.3 kernels - it was developed on 2.2
In early 2.3 it could with a few minor changes, probably not anymore, the VFS seems to be the most dynamic part of the kernel!
Quoted 1 line
Jason - have you made any progress on this recently?
No, I am not working on it till summer, if at all.
Jason
To unsubscribe, send "unsubscribe mtd" to [email protected]