2.3.41 without PCI does not compile

Jean-Luc Coulon jean-luc.coulon en fnac.net
Sab Ene 29 20:07:10 CST 2000


Hi,

I've an IBM/PS2 notebook with MCA bus and ESDI hard disk.
It has no PCI bus, so CONFIG_PCI is not enabled.
When I compile the kernel, I get the following errors :

make[2]: Entering directory `/usr/src/kernel-source-2.3.41/arch/i386/kernel'
egcc -D__KERNEL__ -I/usr/src/kernel-source-2.3.41/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-m386 -DCPU=386   -DEXPORT_SYMTAB -c i386_ksyms.c
In file included from i386_ksyms.c:12:
/usr/src/kernel-source-2.3.41/include/linux/pci.h:557: conflicting types for
`pci_find_device'
/usr/src/kernel-source-2.3.41/include/linux/pci.h:475: previous declaration of
`pci_find_device'
/usr/src/kernel-source-2.3.41/include/linux/pci.h:560: conflicting types for
`pci_find_class'
/usr/src/kernel-source-2.3.41/include/linux/pci.h:479: previous declaration of
`pci_find_class'
/usr/src/kernel-source-2.3.41/include/linux/pci.h:567: conflicting types for
`pci_find_subsys'
/usr/src/kernel-source-2.3.41/include/linux/pci.h:478: previous declaration of
`pci_find_subsys'
make[2]: *** [i386_ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.3.41/arch/i386/kernel'
make[1]: *** [_dir_arch/i386/kernel] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.3.41'
make: *** [build] Error 2

---

Regards

Jean-Luc

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



Más información sobre la lista de distribución Ayuda