pwc
[Top] [All Lists]

Re: [pwc] Compilation Error - Bis

To: "Gregor Jasny" <>
Subject: Re: [pwc] Compilation Error - Bis
From: "Raphael Berlamont" <>
Date: Wed, 7 Feb 2007 15:51:42 +0100 (CET)
On Mer 7 février 2007 14:06, Gregor Jasny a écrit :
> Hi Raphael,
>
> First: If you post your compiler output make sure that it is english.
> "unset LANG LC_ALL" should help.

Yes, thx for the advise.

> What kernel version do you use?

$ uname -ar
Linux raphux 2.6.19-gentoo-r5 #2 SMP Tue Feb 6 08:51:52 CET 2007 x86_64
AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux

> I'm compiling the out-of-(kernel)tree version of pwc. In the kernel
> config I've set the following options:
>
> CONFIG_VIDEO_DEV=m
> CONFIG_VIDEO_V4L1=y
> CONFIG_VIDEO_V4L1_COMPAT=y
> CONFIG_VIDEO_V4L2=y

Mmmmm... Strange, I can't have both CONFIG_VIDEO_V4L1 and
CONFIG_VIDEO_V4L1_COMPAT at the same time :
CONFIG_VIDEO_DEV=y
# CONFIG_VIDEO_V4L1 is not set
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y

Anyway, compilation is working as you'll see below...
>
> # CONFIG_USB_PWC is not set
>
> If you compiled and installed your kernel a long time ago, make sure
> that /lib/modules/`uname -r`/source points to the proper kernel
> sourcetree. Also make sure that you didn't change the configuraration or
> you'll get some unresolved symbols.

Really fresh install:
$ ls -lh /boot/linux-2.6.19-r5-gentoo-20070205
-rw-r--r-- 1 root root 2,8M fév  6 09:04
/boot/linux-2.6.19-r5-gentoo-20070205

> Then checkout the V4L2 version of PWC:
> svn co svn://svn.saillard.org/pwc/branches/v4l2 pwc-v4l2
>
> Then compile:
> cd pwc-v4l2 && make

Yes!! This is working a lot better! (just some warnings)

> Then install:
> make install
>
> after a "depmod -a" you should be able to "modprobe pwc" or simply plug
>   in your camera.

Well, I have to go home to see if the result is fine, but my kernel is not
complaining at all when I modprob the module...

Thx for your time & help.

Best regards,

--
Raphael Berlamont.
_______________________________________________
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