Re: 1.3.96: drivers/block/rd.c compile errors.
Chris Ariyo (chris.ariyo@hut.fi)
Sun, 28 Apr 1996 15:55:40 +0300
Greg Patterson wrote:
>
> After applying patch-1.3.96.gz, I successfully built the kernel but
> received the following when compiling modules:
>
> gomer:/usr/src/linux# make modules
> make[1]: Entering directory `/usr/src/linux-1.3.80/kernel'
> make[1]: Nothing to be done for `modules'.
> make[1]: Leaving directory `/usr/src/linux-1.3.80/kernel'
> make[1]: Entering directory `/usr/src/linux-1.3.80/drivers'
> set -e; for i in block char net scsi; do make -C $i modules; done
> make[2]: Entering directory `/usr/src/linux-1.3.80/drivers/block'
> gcc -D__KERNEL__ -I/usr/src/linux-1.3.80/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe
> -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
> -DMODULE -c -o rd.o rd.c
> rd.c: In function `rd_init':
> rd.c:278: `rd_size' undeclared (first use this function)
> rd.c:278: (Each undeclared identifier is reported only once
> rd.c:278: for each function it appears in.)
> make[2]: *** [rd.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-1.3.80/drivers/block'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/linux-1.3.80/drivers'
> make: *** [modules] Error 2
>
> This is with GCC 2.7.2.
>
> Greg.
Hello,
Same here.
-Chris