public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* compile problem with mtd-patch-2.2.18-20001218-2230GMT
@ 2001-01-30  0:02 Kevin Fenzi
  0 siblings, 0 replies; only message in thread
From: Kevin Fenzi @ 2001-01-30  0:02 UTC (permalink / raw)
  To: mtd


Hi there. 

Trying to get a DOC2000 working with the 2.2.18 kernel here. 
When I patch the sources and compile, I get:

cc -D__KERNEL__ -I/usr/src/redhat/BUILD/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -DCPU=486   -c -o doc2000.o doc2000.c
doc2000.c: In function `init_doc2000':
doc2000.c:1090: warning: implicit declaration of function `inter_module_register'
doc2000.c: At top level:
doc2000.c:1094: parse error before `cleanup_doc2000'
doc2000.c:1095: warning: return-type defaults to `int'
doc2000.c: In function `cleanup_doc2000':
doc2000.c:1109: warning: implicit declaration of function `inter_module_unregister'
doc2000.c:1110: warning: control reaches end of non-void function
doc2000.c: At top level:
doc2000.c:1112: warning: initialization from incompatible pointer type
make[3]: *** [doc2000.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/linux/drivers/mtd'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/linux/drivers/mtd'
make[1]: *** [_subdir_mtd] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/linux/drivers'
make: *** [_dir_drivers] Error 2

the code snip looks like: 

static void __exit cleanup_doc2000(void)
{
       struct mtd_info *mtd;
       struct DiskOnChip *this;

any ideas? This is on a redhat 6.2 box, with egcs-1.1.2-30 compiler. 
is this a compiler issue? I am going to try and compile on a rh7 box
in a few, but I thought I would check with the list to see if this is
a known problem? 

thanks, 

kevin



To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

only message in thread, other threads:[~2001-01-30  0:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-30  0:02 compile problem with mtd-patch-2.2.18-20001218-2230GMT Kevin Fenzi

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