Removal of include/linux/config.h file in 2.6.19 kernel
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:
#include <linux/config.h> This seemed to work. Another trick that worked was just do this: touch /usr/src/linux/include/linux/config.h |
Thanks for the information. It will be usefull.
|
well the .h files are not from the main kernel package ,they are from the devel package(unless you built it yourself)
if kernel-devel(or -source depending on distro) isn't installed there wouldn't be any useful includes |
Quote:
|
Quote:
Actually there is not much to the file: Code:
#ifndef _LINUX_CONFIG_H |
All times are GMT -5. The time now is 12:27 PM. |