All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.14-git9 cobalt build fails
@ 2005-11-06 15:23 Andre
  2005-11-07  3:05 ` Stuart Longland
  2005-11-07  4:17 ` Yoichi Yuasa
  0 siblings, 2 replies; 4+ messages in thread
From: Andre @ 2005-11-06 15:23 UTC (permalink / raw)
  To: linux-mips

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# 




		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.14-git9 cobalt build fails
  2005-11-06 15:23 2.6.14-git9 cobalt build fails Andre
@ 2005-11-07  3:05 ` Stuart Longland
  2005-11-07  4:17 ` Yoichi Yuasa
  1 sibling, 0 replies; 4+ messages in thread
From: Stuart Longland @ 2005-11-07  3:05 UTC (permalink / raw)
  To: Andre; +Cc: linux-mips

[-- Attachment #1: Type: text/plain, Size: 622 bytes --]

Andre wrote:
> 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.
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I think I see the cause.  You should always use sources from Linux/MIPS
git, as these are more likely to work.

http://www.linux-mips.org/wiki/Git should have some useful resources.

-- 
Stuart Longland (aka Redhatter)              .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer  '.'` :
. . . . . . . . . . . . . . . . . . . . . .   .'.'
http://dev.gentoo.org/~redhatter             :.'

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.14-git9 cobalt build fails
  2005-11-06 15:23 2.6.14-git9 cobalt build fails Andre
  2005-11-07  3:05 ` Stuart Longland
@ 2005-11-07  4:17 ` Yoichi Yuasa
  2005-11-07  8:53   ` Geert Uytterhoeven
  1 sibling, 1 reply; 4+ messages in thread
From: Yoichi Yuasa @ 2005-11-07  4:17 UTC (permalink / raw)
  To: Andre; +Cc: linux-mips

Hi Andre,

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).
Please add the following device ID to include/linux/pci_ids.h

#define PCI_DEVICE_ID_MARVELL_GT64111 0x4146

Yoichi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.14-git9 cobalt build fails
  2005-11-07  4:17 ` Yoichi Yuasa
@ 2005-11-07  8:53   ` Geert Uytterhoeven
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2005-11-07  8:53 UTC (permalink / raw)
  To: Yoichi Yuasa; +Cc: Andre, Linux/MIPS Development

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-07  8:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-06 15:23 2.6.14-git9 cobalt build fails Andre
2005-11-07  3:05 ` Stuart Longland
2005-11-07  4:17 ` Yoichi Yuasa
2005-11-07  8:53   ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.