Thanks for your reply. It would seem that the version I downloaded
first (pwc-10.0.12-rc1) just won't build for this kernel, even after
making sure that we include linux/autoconf.h, rather than
linux/config.h. However, using the latest snapshot, as described
below, results in a flawless compilation.
On 5/20/07, Gregor Jasny <> wrote:
> On Sat, May 19, 2007 at 11:14:31AM -0700, JCA wrote:
> > I have just tried to build the latest PWC driver against a
> > 2.6.20.11 kernel, and the compilation does not get very far. What
> > happens is that the PWC code assumes the existence of a file called
> > config.h under include/linux in the kernel source tree - and that file
> > is absent from my 2.6.20.11.
> >
> > Anybody succeeded to build PWC for this kernel? If not, what is the
> > most recent kernel for which the PWC drier can be built with no
> > problems?
>
> Without further investigation of your problem:
> config.h is obsolete. Use "#include <linux/autoconf.h>" instead.
>
> But I can't remember that I've ever had this problem with PWC. Do you
> use the latest v4l2-snapshot? You can get it via:
> svn co svn://svn.saillard.org/pwc/branches/v4l2 pwc-v4l2
>
> Your working kerneltree should be the same which you used for compiling
> the kernel. Or should at least be configured this way.
>
> Cheers,
> Gregor
>
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|