Can the Linux driver be recompiled in order to use it for another version of the Linux kernel? What is the command needed to do so?
A new driver does not need to be developed for each of the many variants of Linux that exist, but rather the driver must be recompiled on that particular operating system. The command that should work to build or recompile the driver for a different version of the Linux kernel is: gcc -D__KERNEL__ -DMODULE -c -O -Wall -I/usr/include -o tulip.o tulip.c Please note that there are double-underscores in -D__KERNEL__ The output should be placed in /lib/modules/kernel-version/net as should be when you are installing the driver, per the Readme file (attached). Then the remaining procedure in the Readme file should be followed. It is suggested that you consult the documentation related to whatever version of Linux you plan to use, to see their suggestions for compiling/building drivers from existing source code (tulip.c). There may be some newer versions of Linux have a plug and play feature which will just prompt you to insert a diskette with the driver source code (tulip.c), in which case yo
Related Questions
- After installing the Linux version of BOINC 6.2 I now have two BOINC command tools in my directory, boinc_cmd and boinccmd. Which one should I use?
- When I run the GNU/Linux command "insmod" I get an error about a kernel version mismatch. What is wrong?
- What Linux kernel does KVM2Ethernet support? Is the drivers code open source?