MTD and 2.2.18-rtl

Rene Burgdorf attingimus at t-online.de
Tue Aug 14 11:53:31 EDT 2001


Hi,

I'm trying to compile the mini-rt linux kernel 2.2.18-rtl with mtd support (no modules).
Using the latest CVS source from 2001/08/11 the following error shows up:

make[4]: Entering directory `/home/att/Projekte/mini/kernel/linux/drivers/mtd/devices'
cc -D__KERNEL__ -I/home/att/Projekte/mini/kernel/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m486
-DCPU=486   -c -o doc2000.o doc2000.c
doc2000.c:1102: parse error before `cleanup_doc2000'
doc2000.c:1103: warning: return-type defaults to `int'
doc2000.c: In function `cleanup_doc2000':
doc2000.c:1118: warning: control reaches end of non-void function
doc2000.c: At top level:
doc2000.c:1120: warning: initialization from incompatible pointer type
make[4]: *** [doc2000.o] Error 1
make[4]: Leaving directory `/home/att/Projekte/mini/kernel/linux/drivers/mtd/devices'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/home/att/Projekte/mini/kernel/linux/drivers/mtd/devices'
make[2]: *** [_subdir_devices] Error 2
make[2]: Leaving directory `/home/att/Projekte/mini/kernel/linux/drivers/mtd'
make[1]: *** [_subdir_mtd] Error 2
make[1]: Leaving directory `/home/att/Projekte/mini/kernel/linux/drivers'
make: *** [_dir_drivers] Error 2

After removing `__exit' from line 1102 of doc2000.c `static void __exit
cleanup_doc2000(void)' 
the error doesn't occur anymore. The same applies to nftlcore.c (static void __exit
cleanup_nftl(void)).

Although a kernel is built, it complains : `Cannot find driver for DiskOnChip Millennium
at 0xD0000.'
A 2.4.4-rtl kernel works perfectly with this DoC on the same machine. 

The call to inter_module_get_request() in function DoC_Probe( ) of docprobe.c returns NULL
although
function init_doc2000() of doc2000.c was called before.

As I can't use 2.4.4 I'm stuck...

Thank you for any hints

Rene
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attingimus.vcf
Type: text/x-vcard
Size: 340 bytes
Desc: Card for Rene Burgdorf
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20010814/8c49078c/attachment.vcf 


More information about the linux-mtd mailing list