Re: 2.3.40pre3 compile error

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Fri Jan 14 2000 - 11:04:50 EST


That is an artifact of the recent PCI changes. Martin Mares fixed this
error, presumeably the patch will head Linus' way soon.

regards,

        Jeff

Thomas Speck wrote:
>
> gcc -D__KERNEL__ -I/newhome/speck/experimental/linux/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
> -fno-strength-reduce -mpreferred-stack-boundary=2 -DCPU=586 -march=i586
> -DEXPORT_SYMTAB -c acpi.c
> acpi.c:629: elements of array `acpi_devices' have incomplete type
> acpi.c:631: warning: excess elements in struct initializer
> acpi.c:631: warning: (near initialization for `acpi_devices[0]')
> acpi.c:631: warning: excess elements in struct initializer
> acpi.c:631: warning: (near initialization for `acpi_devices[0]')
> acpi.c:631: warning: excess elements in struct initializer
> acpi.c:631: warning: (near initialization for `acpi_devices[0]')
> acpi.c:631: warning: excess elements in struct initializer
> acpi.c:631: warning: (near initialization for `acpi_devices[0]')
> acpi.c:632: warning: excess elements in struct initializer
> acpi.c:632: warning: (near initialization for `acpi_devices[0]')
> acpi.c:633: warning: excess elements in struct initializer
> acpi.c:633: warning: (near initialization for `acpi_devices[1]')
> acpi.c:633: warning: excess elements in struct initializer
> acpi.c:633: warning: (near initialization for `acpi_devices[1]')
> acpi.c:633: warning: excess elements in struct initializer
> acpi.c:633: warning: (near initialization for `acpi_devices[1]')
> acpi.c:633: warning: excess elements in struct initializer
> acpi.c:633: warning: (near initialization for `acpi_devices[1]')
> acpi.c:634: warning: excess elements in struct initializer
> acpi.c:634: warning: (near initialization for `acpi_devices[1]')
> acpi.c:635: warning: excess elements in struct initializer
> acpi.c:635: warning: (near initialization for `acpi_devices[2]')
> acpi.c:636: invalid use of undefined type `struct pci_simple_probe_entry'
> acpi.c: In function `acpi_probe':
> acpi.c:646: dereferencing pointer to incomplete type
> acpi.c:648: dereferencing pointer to incomplete type
> acpi.c: In function `acpi_init':
> acpi.c:1258: warning: implicit declaration of function `pci_simple_probe'
> make[1]: *** [acpi.o] Error 1
> make[1]: Leaving directory
> `/newhome/speck/experimental/linux/arch/i386/kernel'
> make: *** [_dir_arch/i386/kernel] Error 2
>
> I use same .config as for 2.3.39.
> --
> Thomas
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-- 
Jeff Garzik         | Demotivator of the month:  MISTAKES
Building 1024       | It Could Be That The Purpose Of Your Life
MandrakeSoft, Inc.  | Is Only To Serve As A Warning For Others.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:26 EST