bad kernel tree ? version.h missing !!! 2.4.22
Hey boys and girls...
im trying to compile a driver for my kernel, however, the makefile script looks inside the path you give it for kernel source for a /include/linux/version.h file. however in my /usr/src/linux-2.4.22/ directory, there is NO version.h file ! did i configure my kernel incorectly ? should i NOT have make clean; make mrproper after installing to save disk space ???? and since i KNOW ive got the correct directory, would if be safe to edit the makefile so that it passes the source check, even though im missing this version.h file ???? thankyou. i donloaded the source as a tar.gx from kernel.org, but am currently downloading a kernel-source rpm to in the hope that will contain a perfect source tree. thankyou. |
version.h does not exist prior to building the kernel, so this file will not be there unless you have built the kernel. You should build the kernel first, reboot to the new kernel and then build the driver.
"make mrproper" does remove everything, so I don't do it after I have built the kernel. Rebuilding takes ages, and you can run into problems like these. Håkan |
ahh, Thankyou !
|
All times are GMT -5. The time now is 02:14 AM. |