Re: Problems building the eepro100 driver on Red Hat Linux 9
[email protected] Thu, 24 Jul 2003 14:30:17 -0400
| Newsgroups | gmane.linux.drivers.eepro100.devel |
|---|---|
| Message-ID | <[email protected]> |
I was able to get the driver to compile with the following commands: gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=eepro100 -DEXPORT_SYMTAB -c eepro100.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=pci-scan -DEXPORT_SYMTAB -c pci-scan.c You'll need to configure and depmod a kernel in whatever directory the Red Hat kernel-source package unpacks under /usr/src. Be sure to set "EXTRAVERSION" to the same as the Red Hat kernel. Regards, Matthew