The new FC6 kernel source/tree no longer has a linux/config.h file in it, so you can do one of two things. Either comment the line in the code referencing config.h, or change directory to the kernel directory location and finally under linux/ directory do a 'touch config.h' and that should fix it.
Note that kernel_headers may have some differences too in the /usr/include/linux/ directory and I had to put a config.h there too from my RHEL4 system to make some compiling work. Peter --- George Boyd <[EMAIL PROTECTED]> wrote: > I've compiled PWC many times with no problems, but > now when I try to > compile it, I get this error: > > make -C /lib/modules/2.6.18-1.2849.fc6/source > SUBDIRS=/home/george/Downloads/Camera_Drivers/pwc-v4l2-20061122-042702 > modules > make[1]: Entering directory > `/usr/src/kernels/2.6.18-1.2849.fc6-i686' > CC > [M] > /home/george/Downloads/Camera_Drivers/pwc-v4l2-20061122-042702/pwc-if.o > In file included > from > /home/george/Downloads/Camera_Drivers/pwc-v4l2-20061122-042702/pwc-if.c:69: > /home/george/Downloads/Camera_Drivers/pwc-v4l2-20061122-042702/pwc.h:28:26: > error: linux/config.h: No such file or directory > make[2]: *** > [/home/george/Downloads/Camera_Drivers/pwc-v4l2-20061122-042702/pwc-if.o] > Error 1 > make[1]: *** > [_module_/home/george/Downloads/Camera_Drivers/pwc-v4l2-20061122-042702] > Error 2 > make[1]: Leaving directory > `/usr/src/kernels/2.6.18-1.2849.fc6-i686' > make: *** [all] Error 2 > > Strange thing is, the first time tonight I compiled > it, it worked fine. > The second time, I get the above error. Also I can't > find config.h in > the kernel source tree. > > Please, if someone can help, it would be greatly > appreciated. > > George > > > _______________________________________________ > pwc mailing list > pwc@lists.saillard.org > http://lists.saillard.org/mailman/listinfo/pwc > ____________________________________________________________________________________ Sponsored Link Mortgage rates near 39yr lows. $510k for $1,698/mo. Calculate new payment! www.LowerMyBills.com/lre _______________________________________________ pwc mailing list pwc@lists.saillard.org http://lists.saillard.org/mailman/listinfo/pwc