linux-mips
[Top] [All Lists]

Re: 2.6.14-git9 cobalt build fails

To: Yoichi Yuasa <yyuasa@gmail.com>
Subject: Re: 2.6.14-git9 cobalt build fails
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Mon, 7 Nov 2005 09:53:00 +0100 (CET)
Cc: Andre <armcc2000@yahoo.com>, Linux/MIPS Development <linux-mips@linux-mips.org>
In-reply-to: <4955666b0511062017q5ea4fbc3g@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20051106152314.10450.qmail@web35615.mail.mud.yahoo.com> <4955666b0511062017q5ea4fbc3g@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Mon, 7 Nov 2005, Yoichi Yuasa wrote:
> 2005/11/7, Andre <armcc2000@yahoo.com>:
> > Not sure if the cobalt support that's just gone into the mainstream
> > kernel is even supposed to compile yet... but it doesn't ;-) I tried
> > 2.6.14 + git9 patch from kernel.org.
> >
> > Note that default config was tweaked slightly (to enable IDE DMA and
> > a network driver).
> >
> >   ...
> >   CC      arch/mips/pci/pci.o
> >   CC      arch/mips/pci/ops-gt64111.o
> >   CC      arch/mips/pci/fixup-cobalt.o
> > arch/mips/pci/fixup-cobalt.c:35: error:
> > `PCI_DEVICE_ID_MARVELL_GT64111' undeclared here (not in a function)
> > arch/mips/pci/fixup-cobalt.c:35: error: initializer element is not
> > constant
> > arch/mips/pci/fixup-cobalt.c:35: error: (near initialization for
> > `__pci_fixup_PCI_VENDOR_ID_MARVELLPCI_DEVICE_ID_MARVELL_GT64111qube_raq_galileo_early_fixup.device')
> > arch/mips/pci/fixup-cobalt.c:116: error: initializer element is not
> > constant
> > arch/mips/pci/fixup-cobalt.c:116: error: (near initialization for
> > `__pci_fixup_PCI_VENDOR_ID_MARVELLPCI_DEVICE_ID_MARVELL_GT64111qube_raq_galileo_fixup.device')
> > arch/mips/pci/fixup-cobalt.c:58: error:
> > __pci_fixup_PCI_VENDOR_ID_VIAPCI_DEVICE_ID_VIA_82C586_1qube_raq_via_bmIDE_fixup
> > causes a section type conflict
> > make[1]: *** [arch/mips/pci/fixup-cobalt.o] Error 1
> > make: *** [arch/mips/pci] Error 2
> > root@qube2:/usr/src/linux-2.6.14#
> >
> 
> PCI_DEVICE_ID_MARVELL_GT64111 was removed from kernel.org git(I don't know 
> why).

All `unused' definitions were removed from pci_ids.h. Hence if fixup-cobalt.c
in Linus' tree was not in sync, it was removed.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

<Prev in Thread] Current Thread [Next in Thread>