matter with driver compilation ...
Hi there !
Am trying to install a Netgear FA311 ...
1) Have been downloading the "natsemi.c" and "pci-scan.c" required files ...
2) Installed the kernel headers
Here's the point of the procedure where it fails :
> Compile both the driver file and pci-scan.c using the compile-command at
the
> bottom of the source files. If a compile-command is not there use the
> following compile command:
> gcc -DMODULE -D__KERNEL__ -O6 -c driver.c
> gcc -DMODULE -D__KERNEL__ -O6 -c pci-scan.c
> With some distributions, especially those based on the 2.4 kernel,
> you may need to add the following options to the compile command
> -I/usr/src/linux/include -include
> /usr/src/linux/include/linux/modversions.h
When i type the " gcc ...blablabla ", even with the kernel-headers path,
(elseway it doesn't find the modversions.h) it asks for 2 files not found :
pci-scan.h et kern-compat.h
Where're these files, can i " abruptly " find them somewhere and put them in
any of the kernel-headers folder ???
Thanks in advance,
Mathias
Reply to: