Re: 1.3.96: drivers/block/rd.c compile errors (oops :)

Chad Page (page0588@sundance.sjsu.edu)
Sun, 28 Apr 1996 10:33:45 -0700 (PDT)


On Sun, 28 Apr 1996, Chris Ariyo wrote:

> Greg Patterson wrote:
> >
> > After applying patch-1.3.96.gz, I successfully built the kernel but
> > received the following when compiling modules:
> >
> > 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.)

Oof! I misplaced rd_size - if you move it out of the #ifndef
MODULE parts it should work fine. (I got a patch from someone and sent
it over to Linus already, so hopefully it'll be fixed in 1.3.97)

- Chad