2006-03-24 04:05:51

by Nigel Cunningham

[permalink] [raw]
Subject: ACPI Compile error in current git (pci.h)

Hi.

Current git produces the following compile error (x86_64 uniprocessor compile):

arch/x86_64/pci/mmconfig.c:152: error: conflicting types for ‘pci_mmcfg_init’
arch/i386/pci/pci.h:85: error: previous declaration of ‘pci_mmcfg_init’ was here
make[1]: *** [arch/x86_64/pci/mmconfig.o] Error 1
make: *** [arch/x86_64/pci] Error 2

I haven't found out yet how the i386 file is getting included, but I
can say that git compiled fine last night.

Greg, I believe you're the pci guru, so I thought I'd try you too.
Apologies in advance if I've gotten it wrong.

Regards,

Nigel


Attachments:
(No filename) (583.00 B)
(No filename) (189.00 B)
Download all attachments

2006-03-24 04:39:09

by Nigel Cunningham

[permalink] [raw]
Subject: Re: ACPI Compile error in current git (pci.h)

Hi again.

On Friday 24 March 2006 14:04, Nigel Cunningham wrote:
> Hi.
>
> Current git produces the following compile error (x86_64 uniprocessor
> compile):
>
> arch/x86_64/pci/mmconfig.c:152: error: conflicting types for
> ‘pci_mmcfg_init’ arch/i386/pci/pci.h:85: error: previous declaration of
> ‘pci_mmcfg_init’ was here make[1]: *** [arch/x86_64/pci/mmconfig.o] Error 1
> make: *** [arch/x86_64/pci] Error 2
>
> I haven't found out yet how the i386 file is getting included, but I
> can say that git compiled fine last night.

Got the answer to this bit - it is included via the Makefile in the directory
setting a -I flag, and the file including "pci.h".

Regards,

Nigel


Attachments:
(No filename) (687.00 B)
(No filename) (189.00 B)
Download all attachments