Diffrent FS-compiling problems...

Johan Andersson (zrq501j@tninet.se)
Wed, 23 Jun 1999 21:58:51 +0200


This is a multi-part message in MIME format.
--------------3935F63854369E9A293AA6B0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I just patched up my 2.3.5-kernel to 2.3.8 to see if it worked just as
fine as 2.3.5... but NO.

It seams that all the problems for the moment is in the 'file.c'-file.
When is this fixed do you hackers think??

Well... i have written down all the compiling errors in a file that i
will attach in the mail.

(I did like this: First compile the kernel witout any modules, then try
to compile the diffrent fs-modules.)

I dont know if somebody else have done this... Then excuse me.
I hope to see a patch that fixes this sone so i can use my other disks
to ;-).

<gcc-info>
root@NaraLINUX ~ # gcc --version
egcs-2.91.60
</gcc-info>
--------------3935F63854369E9A293AA6B0
Content-Type: text/plain; charset=us-ascii;
name="kernel-fel"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="kernel-fel"

* The minix-module:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DCPU=686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o file.o file.c
file.c: In function `minix_write_one_page':
file.c:64: warning: implicit declaration of function `block_write_one_page'
file.c: At top level:
file.c:107: `generic_readpage' undeclared here (not in a function)
file.c:107: initializer element for `minix_file_inode_operations.bmap_Rd3abca26' is not constant
file.c:109: warning: initialization from incompatible pointer type
file.c:110: warning: initialization from incompatible pointer type
file.c:114: warning: initialization from incompatible pointer type
make[2]: *** [file.o] Error 1
make[2]: Leaving directory `/usr/src/linux/fs/minix'
make[1]: *** [_modsubdir_minix] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [_mod_fs] Error 2

* The fat-modules:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DCPU=686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o file.o file.c
file.c:60: `generic_readpage' undeclared here (not in a function)
file.c:60: initializer element for `fat_file_inode_operations.bmap_Rd3abca26' is not constant
file.c:62: warning: initialization from incompatible pointer type
file.c:63: warning: initialization from incompatible pointer type
file.c:110: `generic_readpage' undeclared here (not in a function)
file.c:110: initializer element for `fat_file_inode_operations_1024.bmap_Rd3abca26' is not constant
file.c:113: warning: initialization from incompatible pointer type
file.c:145: warning: initialization from incompatible pointer type
file.c:148: warning: initialization from incompatible pointer type
make[2]: *** [file.o] Error 1
make[2]: Leaving directory `/usr/src/linux/fs/fat'
make[1]: *** [_modsubdir_fat] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [_mod_fs] Error 2

* The NTFS-module:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DCPU=686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DNTFS_IN_LINUX_KERNEL -DNTFS_VERSION=\"990411\" -c -o fs.o fs.c
fs.c:624: `generic_readpage' undeclared here (not in a function)
fs.c:624: initializer element for `ntfs_inode_operations.bmap_Rd3abca26' is not constant
fs.c:626: warning: initialization from incompatible pointer type
make[2]: *** [fs.o] Error 1
make[2]: Leaving directory `/usr/src/linux/fs/ntfs'
make[1]: *** [_modsubdir_ntfs] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [_mod_fs] Error 2

* The UFS-module:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DCPU=686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o file.o file.c
file.c: In function `ufs_write_one_page':
file.c:123: warning: implicit declaration of function `block_write_one_page'
file.c: At top level:
file.c:179: `generic_readpage' undeclared here (not in a function)
file.c:179: initializer element for `ufs_file_inode_operations.bmap_Rd3abca26' is not constant
file.c:181: warning: initialization from incompatible pointer type
file.c:182: warning: initialization from incompatible pointer type
file.c:186: warning: initialization from incompatible pointer type
make[2]: *** [file.o] Error 1
make[2]: Leaving directory `/usr/src/linux/fs/ufs'
make[1]: *** [_modsubdir_ufs] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [_mod_fs] Error 2

* The ISO-module:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DCPU=686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o file.o file.c
file.c:77: `generic_readpage' undeclared here (not in a function)
file.c:77: initializer element for `affs_file_inode_operations.bmap_Rd3abca26' is not constant
file.c:79: warning: initialization from incompatible pointer type
file.c:80: warning: initialization from incompatible pointer type
file.c:120: warning: initialization from incompatible pointer type
make[2]: *** [file.o] Error 1
make[2]: Leaving directory `/usr/src/linux/fs/affs'
make[1]: *** [_modsubdir_affs] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [_mod_fs] Error 2

* The AFfs-module:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DCPU=686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o file.o file.c
file.c:77: `generic_readpage' undeclared here (not in a function)
file.c:77: initializer element for `affs_file_inode_operations.bmap_Rd3abca26' is not constant
file.c:79: warning: initialization from incompatible pointer type
file.c:80: warning: initialization from incompatible pointer type
file.c:120: warning: initialization from incompatible pointer type
make[2]: *** [file.o] Error 1
make[2]: Leaving directory `/usr/src/linux/fs/affs'
make[1]: *** [_modsubdir_affs] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [_mod_fs] Error 2

--------------3935F63854369E9A293AA6B0--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/