pwc
[Top] [All Lists]

Re: [pwc] Error linux/config.h

To: George Boyd <>,
Subject: Re: [pwc] Error linux/config.h
From: Peter Baitz <>
Date: Sun, 26 Nov 2006 17:14:38 -0800 (PST)
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 <> 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
> 
> 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

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU