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
|