public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: attingimus@t-online.de (Rene Burgdorf)
To: linux-mtd@lists.infradead.org
Subject: MTD and 2.2.18-rtl
Date: Tue, 14 Aug 2001 17:53:31 +0200	[thread overview]
Message-ID: <3B79497B.6537FFE6@t-online.de> (raw)

[-- 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

                 reply	other threads:[~2001-08-14 15:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B79497B.6537FFE6@t-online.de \
    --to=attingimus@t-online.de \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox