* More problems with 2.5.0-pre5 than pre4
@ 2001-12-01 4:47 Frank Jacobberger
2001-12-01 19:11 ` [PATCH] " Francois Romieu
0 siblings, 1 reply; 2+ messages in thread
From: Frank Jacobberger @ 2001-12-01 4:47 UTC (permalink / raw)
To: linux-kernel
What do you make of this from a attempted compile of 2.5.0-pre5:
gcc -D__KERNEL__ -I/usr/src/linux-2.5.0/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o rd.o rd.c
rd.c:561: `rd_cleanup' undeclared here (not in a function)
make[3]: *** [rd.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.0/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.0/drivers/block'
make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.0/drivers'
make: *** [_dir_drivers] Error 2
Thanks,
Frank
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] Re: More problems with 2.5.0-pre5 than pre4
2001-12-01 4:47 More problems with 2.5.0-pre5 than pre4 Frank Jacobberger
@ 2001-12-01 19:11 ` Francois Romieu
0 siblings, 0 replies; 2+ messages in thread
From: Francois Romieu @ 2001-12-01 19:11 UTC (permalink / raw)
To: Frank Jacobberger; +Cc: linux-kernel
Frank Jacobberger <f1j@xmission.com> :
> What do you make of this from a attempted compile of 2.5.0-pre5:
[...]
diff -burN -p linux-2.5.1-pre5.orig/drivers/block/rd.c linux-2.5.1-pre5/drivers/block/rd.c
--- linux-2.5.1-pre5.orig/drivers/block/rd.c Sat Dec 1 18:12:17 2001
+++ linux-2.5.1-pre5/drivers/block/rd.c Sat Dec 1 18:43:06 2001
@@ -485,7 +485,6 @@ static struct block_device_operations rd
ioctl: rd_ioctl,
};
-#ifdef MODULE
/* Before freeing the module, invalidate all of the protected buffers! */
static void __exit rd_cleanup (void)
{
@@ -503,7 +502,6 @@ static void __exit rd_cleanup (void)
unregister_blkdev( MAJOR_NR, "ramdisk" );
blk_clear(MAJOR_NR);
}
-#endif
/* This is the registration and initialization section of the RAM disk driver */
int __init rd_init (void)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-01 19:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-01 4:47 More problems with 2.5.0-pre5 than pre4 Frank Jacobberger
2001-12-01 19:11 ` [PATCH] " Francois Romieu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox