2.3.40pre3 compile error

From: Thomas Speck (Thomas.Speck@univ-rennes1.fr)
Date: Fri Jan 14 2000 - 04:48:23 EST


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/



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