2002-12-07 17:09:43

by Roy Sigurd Karlsbakk

[permalink] [raw]
Subject: error compiling 2.5.50

hi

I get this error when compiling 2.5.50. .config is attached

thanks for any help

roy

gcc -Wp,-MD,drivers/pci/.quirks.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4 -Iarch/i386/mach-generic -nostdinc -iwithprefix include
-DKBUILD_BASENAME=quirks -DKBUILD_MODNAME=quirks -c -o drivers/pci/quirks.o
drivers/pci/quirks.c
drivers/pci/quirks.c: In function `quirk_ioapic_rmw':
drivers/pci/quirks.c:354: `sis_apic_bug' undeclared (first use in this
function)
drivers/pci/quirks.c:354: (Each undeclared identifier is reported only once
drivers/pci/quirks.c:354: for each function it appears in.)
make[2]: *** [drivers/pci/quirks.o] Error 1
make[1]: *** [drivers/pci] Error 2
make: *** [drivers] Error 2

--
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.


Attachments:
.config (18.26 kB)

2002-12-07 17:19:09

by Marc-Christian Petersen

[permalink] [raw]
Subject: Re: error compiling 2.5.50

On Saturday 07 December 2002 18:17, Roy Sigurd Karlsbakk wrote:

Hi Roy,

> I get this error when compiling 2.5.50. .config is attached
> thanks for any help

> drivers/pci/quirks.c:354: `sis_apic_bug' undeclared (first use in this
> function)
> drivers/pci/quirks.c:354: (Each undeclared identifier is reported only once
> drivers/pci/quirks.c:354: for each function it appears in.)

<movement> RoyK: mail archives are a wonderful thing
<arashi> patch in bk, insert an 'extern int sis_apic_bug;' as a new line
before 354

ciao, Marc

2002-12-07 17:32:28

by Roy Sigurd Karlsbakk

[permalink] [raw]
Subject: Re: error compiling 2.5.50

> > drivers/pci/quirks.c:354: `sis_apic_bug' undeclared (first use in this
> > function)
> > drivers/pci/quirks.c:354: (Each undeclared identifier is reported only
> > once drivers/pci/quirks.c:354: for each function it appears in.)
>
> <movement> RoyK: mail archives are a wonderful thing
> <arashi> patch in bk, insert an 'extern int sis_apic_bug;' as a new line
> before 354

sorry. I sent this email before I asked on #kernelnewbies. Will check more
before sending next time
--
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.