Woody :
Gnark ! erreur de compil 2.4.18 sur un "vieux" 486 sans PCI, j'ai
enlevé tout ce qui concerne le PCI et pourtant il semble que j'ai une
option PCI qui traine:
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.18/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i386 -DMODULE -DMODVERSIONS -include
/usr/src/kernel-source-2.4.18/include/linux/modversions.h
-DKBUILD_BASENAME=istallion -c -o istallion.o istallion.c
istallion.c:434: elements of array `istallion_pci_tbl' have incomplete
type
istallion.c:435: `PCI_VENDOR_ID_STALLION' undeclared here (not in a
function)
istallion.c:435: warning: excess elements in struct initializer
istallion.c:435: warning: (near initialization for `istallion_pci_tbl[0]')
istallion.c:435: `PCI_DEVICE_ID_ECRA' undeclared here (not in a function)
istallion.c:435: warning: excess elements in struct initializer
istallion.c:435: warning: (near initialization for `istallion_pci_tbl[0]')
istallion.c:435: `PCI_ANY_ID' undeclared here (not in a function)
istallion.c:435: warning: excess elements in struct initializer
istallion.c:435: warning: (near initialization for `istallion_pci_tbl[0]')
istallion.c:435: `PCI_ANY_ID' undeclared here (not in a function)
istallion.c:435: warning: excess elements in struct initializer
istallion.c:435: warning: (near initialization for `istallion_pci_tbl[0]')
istallion.c:437: invalid use of undefined type `struct pci_device_id'
istallion.c:438: sizeof applied to an incomplete type
make[3]: *** [istallion.o] Error 1
...
Il y a une option PCI qui gène ?
Une idée ?
A+ Hervé