Skip to contentSkip to conversation

error compiling 2.6.13.rc6 with realtime-preempt patch -rt2 ('quirk_via_irq')

DISCUSSION Mr Machine 3 participants 4 messages Aug 16, 2005

lore
Share & tools
lore

Mr Machine

author
#0 lore raw

i get this error during compile of pci drivers:

  CC      drivers/pci/access.o
  CC      drivers/pci/bus.o
  CC      drivers/pci/probe.o
  CC      drivers/pci/remove.o
  CC      drivers/pci/pci.o
  CC      drivers/pci/quirks.o

drivers/pci/quirks.c: In function ‘quirk_via_irq’:
drivers/pci/quirks.c:505: error: ‘vt8237_devfn’ undeclared (first use in this function) drivers/pci/quirks.c:505: error: (Each undeclared identifier is reported only once drivers/pci/quirks.c:505: error: for each function it appears in.) drivers/pci/quirks.c:506: error: ‘quirk_via_irq_not’ undeclared (first use in this function) make[2]: *** [drivers/pci/quirks.o] Error 1
make[1]: *** [drivers/pci] Error 2
make: *** [drivers] Error 2
[mrmachine@localhost linux-2.6.12]$

if this helps, here's the realtime configuration section from my .config file:

# CONFIG_LEGACY_TIMER is not set
CONFIG_HPET_TIMER=y
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_HPET_EMULATE_RTC=y
# CONFIG_SMP is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT_DESKTOP=y
# CONFIG_PREEMPT_RT is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_SOFTIRQS=y
CONFIG_PREEMPT_HARDIRQS=y
# CONFIG_SPINLOCK_BKL is not set
CONFIG_PREEMPT_BKL=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_ASM_SEMAPHORES=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_X86_UP_APIC is not set

and from the pci driver section:

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCIEPORTBUS is not set
# CONFIG_PCI_LEGACY_PROC is not set
CONFIG_PCI_NAMES=y
CONFIG_ISA_DMA_API=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set

Please CC me on any replies.

shayne

#1 lore raw

mardi 16 Août 2005 13:41, Mr Machine wrote/a écrit :

Quoted 8 lines

i get this error during compile of pci drivers:

   CC      drivers/pci/access.o
   CC      drivers/pci/bus.o
   CC      drivers/pci/probe.o
   CC      drivers/pci/remove.o
   CC      drivers/pci/pci.o
   CC      drivers/pci/quirks.o
Quoted 12 lines

drivers/pci/quirks.c: In function ‘quirk_via_irq’:
drivers/pci/quirks.c:505: error: ‘vt8237_devfn’ undeclared (first use in this function)
drivers/pci/quirks.c:505: error: (Each undeclared identifier is reported only once
drivers/pci/quirks.c:505: error: for each function it appears in.) drivers/pci/quirks.c:506: error: ‘quirk_via_irq_not’ undeclared (first use in this function)
make[2]: *** [drivers/pci/quirks.o] Error 1
make[1]: *** [drivers/pci] Error 2
make: *** [drivers] Error 2
[mrmachine@localhost linux-2.6.12]$

I have the same problem with rt1 and rt2.

One 'bizarre' thing : If I patch directly 2.6.13.rc6 with the RT patch, I have an error on this driver with the first patch at 500 instead of 560! Did we miss something ?

Quoted 54 lines

if this helps, here's the realtime configuration section from my .config file:

# CONFIG_LEGACY_TIMER is not set
CONFIG_HPET_TIMER=y
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_HPET_EMULATE_RTC=y
# CONFIG_SMP is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT_DESKTOP=y
# CONFIG_PREEMPT_RT is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_SOFTIRQS=y
CONFIG_PREEMPT_HARDIRQS=y
# CONFIG_SPINLOCK_BKL is not set
CONFIG_PREEMPT_BKL=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_ASM_SEMAPHORES=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_X86_UP_APIC is not set

and from the pci driver section:

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCIEPORTBUS is not set
# CONFIG_PCI_LEGACY_PROC is not set
CONFIG_PCI_NAMES=y
CONFIG_ISA_DMA_API=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set

Please CC me on any replies.

shayne
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
Quoted 4 lines · Serge Noiraud

mardi 16 Août 2005 13:41, Mr Machine wrote/a écrit :

Quoted 1 line

i get this error during compile of pci drivers:

I have the same problem with rt1 and rt2.

i have fixed this in -rt4 (just uploaded).

Quoted 3 lines

One 'bizarre' thing : If I patch directly 2.6.13.rc6 with the RT patch, I have an error on this driver with the first patch at 500 instead of 560! Did we miss something ?

yeah, patch management mistake. (My repository had the full patch but quilt didnt pick it up because i edited the file outside-of-quilt.)

Ingo

#3 lore raw
In reply to Mr Machine
Quoted 4 lines · Mr Machine

i get this error during compile of pci drivers:

if this helps, here's the realtime configuration section from my .config file:

could you send me the full .config file? That's the easiest way for me to reproduce your build problem.

Ingo