[pwc] Compilation Error - Bis

Gregor Jasny jasny at vidsoft.de
Wed Feb 7 14:06:07 CET 2007


Hi Raphael,

First: If you post your compiler output make sure that it is english. 
"unset LANG LC_ALL" should help.

What kernel version do you use?

Raphael Berlamont wrote:
 > So my question is : Can PWC be build over V4L2 with V4L1 compatibily 
layer?

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

# 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.

Then checkout the V4L2 version of PWC:
svn co svn://svn.saillard.org/pwc/branches/v4l2 pwc-v4l2

Then compile:
cd pwc-v4l2 && make

Then install:
make install

after a "depmod -a" you should be able to "modprobe pwc" or simply plug 
  in your camera.

Cheers,
Gregor


More information about the pwc mailing list