error compiling 2.6.13.rc6 with realtime-preempt patch -rt2 ('quirk_via_irq')
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 setCONFIG_HPET_TIMER=y
# CONFIG_HIGH_RES_TIMERS is not setCONFIG_HPET_EMULATE_RTC=y
# CONFIG_SMP is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not setCONFIG_PREEMPT_DESKTOP=y
# CONFIG_PREEMPT_RT is not setCONFIG_PREEMPT=yCONFIG_PREEMPT_SOFTIRQS=yCONFIG_PREEMPT_HARDIRQS=y
# CONFIG_SPINLOCK_BKL is not setCONFIG_PREEMPT_BKL=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_RCU_TORTURE_TEST is not setCONFIG_ASM_SEMAPHORES=yCONFIG_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 setCONFIG_PCI_GOANY=yCONFIG_PCI_BIOS=yCONFIG_PCI_DIRECT=y
# CONFIG_PCIEPORTBUS is not set
# CONFIG_PCI_LEGACY_PROC is not setCONFIG_PCI_NAMES=yCONFIG_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
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 oncedrivers/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_TIMERis not setCONFIG_HPET_TIMER=y
#CONFIG_HIGH_RES_TIMERSis not setCONFIG_HPET_EMULATE_RTC=y
#CONFIG_SMPis not set
#CONFIG_PREEMPT_NONEis not set
#CONFIG_PREEMPT_VOLUNTARYis not setCONFIG_PREEMPT_DESKTOP=y
#CONFIG_PREEMPT_RTis not setCONFIG_PREEMPT=yCONFIG_PREEMPT_SOFTIRQS=yCONFIG_PREEMPT_HARDIRQS=y
#CONFIG_SPINLOCK_BKLis not setCONFIG_PREEMPT_BKL=y
#CONFIG_PREEMPT_RCUis not set
#CONFIG_RCU_TORTURE_TESTis not setCONFIG_ASM_SEMAPHORES=yCONFIG_RWSEM_XCHGADD_ALGORITHM=y
#CONFIG_X86_UP_APICis not setand from the pci driver section:
#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#CONFIG_PCI=y
#CONFIG_PCI_GOBIOSis not set
#CONFIG_PCI_GOMMCONFIGis not set
#CONFIG_PCI_GODIRECTis not setCONFIG_PCI_GOANY=yCONFIG_PCI_BIOS=yCONFIG_PCI_DIRECT=y
#CONFIG_PCIEPORTBUSis not set
#CONFIG_PCI_LEGACY_PROCis not setCONFIG_PCI_NAMES=yCONFIG_ISA_DMA_API=y
#CONFIG_ISAis not set
#CONFIG_MCAis not set
#CONFIG_SCx200is not setPlease 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/
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
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