Re: 2.0.24 Sbpcd Module Compile Problem

Steve Davies (sdavies@lhr-sys.dhl.com)
Wed, 30 Oct 1996 16:33:21 +0000 (GMT)


This happened to me a few kernels ago, and turned out to be a failed
patch. If you have modified sbpcd.h to configure it for your system, some
subsequent patches fail.

Check for an sbpcd.h.rej file...

Cheers,
Steve

On Wed, 30 Oct 1996, John Vozza wrote:

> As a follow up, I get the same error when I try to compile sbpcd directly
> into the kernel ;(
>
> BTW 2.0.23 worked fine.
>
> John
>
> On Wed, 30 Oct 1996, John Vozza wrote:
>
> >
> > It appears that 2.0.24 breaks the compile of the sbpcd driver when
> > compiled as a module. Heres the error message;
> >
> > gcc -D__KERNEL__ -I/usr/src/linux1390/include -Wall -Wstrict-prototypes
> > -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486
> > -DMODULE -DMODVERSIONS -include
> > /usr/src/linux1390/include/linux/modversions.h -c -o sbpcd.o sbpcd.c
> > sbpcd.c: In function `init_module':
> > sbpcd.c:5575: `READ_AUDIO' undeclared (first use this function)
> > sbpcd.c:5575: (Each undeclared identifier is reported only once
> > sbpcd.c:5575: for each function it appears in.)
> > make[2]: *** [sbpcd.o] Error 1
> > make[2]: Leaving directory `/usr/src/linux1390/drivers/cdrom'
> > make[1]: *** [modules] Error 2
> > make[1]: Leaving directory `/usr/src/linux1390/drivers'
> > make: *** [modules] Error 2
> >
> >
> > Is it just me or is anyone else had this problem?
> >
> > John
> > -------------------------------------------------------------------------
> > John Vozza voice: 201.208.1339
> > NetRom Internet Services fax: 201.208.0942
> > john@netrom.com data: 201.208.7777
> > http://www.netrom.com data: 201.728.1274
> > -------------------------------------------------------------------------
> >
>