Re: 2.4.23-rc2 amd64 compile still broken

Marcelo Tosatti
2003-11-20T15:54:13Z

On Wed, 19 Nov 2003, Samuel Flory wrote:

> The amd64 compile is still breaking for me.
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.23-rc2/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -pipe
> -fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce
> -Wno-sign-compare -fno-asynchronous-unwind-tables -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=pci_x86_64 -c -o pci-x86_64.o
> pci-x86_64.c
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.23-rc2/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -pipe
> -fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce
> -Wno-sign-compare -fno-asynchronous-unwind-tables -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=pci_pc -c -o pci-pc.o pci-pc.c
> pci-pc.c:573: redefinition of `use_acpi_pci'
> pci-pc.c:30: `use_acpi_pci' previously defined here
> pci-pc.c:573: warning: `use_acpi_pci' was declared `extern' and later
> `static'
> {standard input}: Assembler messages:
> {standard input}:1581: Error: symbol `use_acpi_pci' is already defined
> make[1]: *** [pci-pc.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.23-rc2/arch/x86_64/kernel'
> make: *** [_dir_arch/x86_64/kernel] Error 2A

Samuel,

Len Brown just sent me a fix for this.

Can you please try again using the BK tree?