2003-07-05 11:42:34

by Duncan Sands

[permalink] [raw]
Subject: 2.4 BK compile failure in dmi_scan: `BROKEN_PNP_BIOS' undeclared

make[2]: Entering directory `/home/duncan/linux-2.4/arch/i386/kernel'
gcc -D__KERNEL__ -I/home/duncan/linux-2.4/include -Wall -Wstrict-prototypes -Wno-trigraphs
-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=dmi_scan -c -o dmi_scan.o
dmi_scan.c
dmi_scan.c: In function `exploding_pnp_bios':
dmi_scan.c:521: error: `BROKEN_PNP_BIOS' undeclared (first use in this function)
dmi_scan.c:521: error: (Each undeclared identifier is reported only once
dmi_scan.c:521: error: for each function it appears in.)
dmi_scan.c: In function `dmi_decode':
dmi_scan.c:944: warning: unused variable `data'
make[2]: *** [dmi_scan.o] Error 1
make[2]: Leaving directory `/home/duncan/linux-2.4/arch/i386/kernel'
make[1]: *** [_dir_arch/i386/kernel] Error 2
make[1]: Leaving directory `/home/duncan/linux-2.4'
make: *** [stamp-build] Error 2

.config attached

Duncan.


Attachments:
(No filename) (959.00 B)
.config (24.58 kB)
Download all attachments

2003-07-05 13:25:40

by Alan

[permalink] [raw]
Subject: Re: 2.4 BK compile failure in dmi_scan: `BROKEN_PNP_BIOS' undeclared

On Sad, 2003-07-05 at 12:56, Duncan Sands wrote:
> make[2]: Entering directory `/home/duncan/linux-2.4/arch/i386/kernel'
> gcc -D__KERNEL__ -I/home/duncan/linux-2.4/include -Wall -Wstrict-prototypes -Wno-trigraphs
> -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
> -march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=dmi_scan -c -o dmi_scan.o
> dmi_scan.c
> dmi_scan.c: In function `exploding_pnp_bios':
> dmi_scan.c:521: error: `BROKEN_PNP_BIOS' undeclared (first use in this function)
> dmi_scan.c:521: error: (Each undeclared identifier is reported only once
> dmi_scan.c:521: error: for each function it appears in.)
> dmi_scan.c: In function `dmi_decode':
> dmi_scan.c:944: warning: unused variable `data'

Marcelo hasn't yet applied all the changes I sent him, including some
that depend on each other. Just pull that change from -ac or wait

2003-07-05 19:48:12

by Duncan Sands

[permalink] [raw]
Subject: Re: 2.4 BK compile failure in dmi_scan: `BROKEN_PNP_BIOS' undeclared

On Saturday 05 July 2003 15:37, Alan Cox wrote:
> On Sad, 2003-07-05 at 12:56, Duncan Sands wrote:
> > make[2]: Entering directory `/home/duncan/linux-2.4/arch/i386/kernel'
> > gcc -D__KERNEL__ -I/home/duncan/linux-2.4/include -Wall
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
> > -nostdinc -iwithprefix include -DKBUILD_BASENAME=dmi_scan -c -o
> > dmi_scan.o dmi_scan.c
> > dmi_scan.c: In function `exploding_pnp_bios':
> > dmi_scan.c:521: error: `BROKEN_PNP_BIOS' undeclared (first use in this
> > function) dmi_scan.c:521: error: (Each undeclared identifier is reported
> > only once dmi_scan.c:521: error: for each function it appears in.)
> > dmi_scan.c: In function `dmi_decode':
> > dmi_scan.c:944: warning: unused variable `data'
>
> Marcelo hasn't yet applied all the changes I sent him, including some
> that depend on each other. Just pull that change from -ac or wait

I didn't need to wait long - thanks!

D.