public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* MTD and 2.2.18-rtl
@ 2001-08-14 15:53 Rene Burgdorf
  0 siblings, 0 replies; only message in thread
From: Rene Burgdorf @ 2001-08-14 15:53 UTC (permalink / raw)
  To: linux-mtd

[-- Attachment #1: Type: text/plain, Size: 1880 bytes --]

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

[-- Attachment #2: Card for Rene Burgdorf --]
[-- Type: text/x-vcard, Size: 340 bytes --]

begin:vcard 
n:Burgdorf;Rene
tel;fax:+49 531 344613
tel;work:+49 531 344601
x-mozilla-html:FALSE
org:Attingimus Nachrichtentechnik GmbH
adr:;;Bismarckstr. 15;38102 Braunschweig;;;Germany
version:2.1
email;internet:attingimus@t-online.de
note;quoted-printable:HRB 4159 beim AG BS=0D=0A=0D=0A
x-mozilla-cpt:;-18592
fn:Rene Burgdorf
end:vcard

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-14 15:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-14 15:53 MTD and 2.2.18-rtl Rene Burgdorf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox