The file include/linux/config.h has been removed from 2.6.19 kernel. So remember this if you build your favorite module against the new 2.6.19 kernel and you get an error similar to this:
In file included from /usr/src/modules/qc-usb-0.6.4/qc-driver.c:47:
/usr/src/modules/qc-usb-0.6.4/quickcam.h:79:26: linux/config.h: No such file or directory
Thats because there is no more include/linux/config.h file in 2.6.19. This is from the Changelog:
Quote:
Author: Dave Jones <someone@someplace.com>
Date: Mon Oct 9 19:13:51 2006 -0400
[HEADERS] Put linux/config.h out of its misery.
Signed-off-by: Dave Jones <someone@someplace.com>
Author: Paul Mundt <nameremoved@a-linux-company.org>
Date: Tue Oct 3 13:19:02 2006 +0900
sh: Kill off remaining config.h references.
A few of these managed to sneak back in, get rid of them once
and for all.
|
What I did was to modify the code and commented out all instances of the include statement :
#include <linux/config.h>
This seemed to work. Another trick that worked was just do this:
touch /usr/src/linux/include/linux/config.h