Hi,

> I think this is the most appropriate place for this so here goes. I'm
> having problems compiling luvcview. I am only compiling it because I cant
> view my webcam (Logitech Orbit MP).

You should also try contacting Michel Xhaard for luvcview related problems. He 
is the software author.

> The luvcview error is:
>
> [EMAIL PROTECTED] luvcview-20060920]$ make
> gcc -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc
> -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DUSE_SDL -O2 -DLINUX
> -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL
> -D_GNU_SOURCE=1 -D_REENTRANT   -c -o luvcview.o luvcview.c
> gcc -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc
> -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DUSE_SDL -O2 -DLINUX
> -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL
> -D_GNU_SOURCE=1 -D_REENTRANT   -c -o utils.o utils.c
> gcc -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc
> -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DUSE_SDL -O2 -DLINUX
> -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL
> -D_GNU_SOURCE=1 -D_REENTRANT   -c -o v4l2uvc.o v4l2uvc.c
> gcc -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc
> -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DUSE_SDL -O2 -DLINUX
> -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL
> -D_GNU_SOURCE=1 -D_REENTRANT   -c -o gui.o gui.c
> gcc -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc
> -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DUSE_SDL -O2 -DLINUX
> -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL
> -D_GNU_SOURCE=1 -D_REENTRANT   -c -o avilib.o avilib.c
> gcc -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc
> -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DUSE_SDL -O2 -DLINUX
> -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL
> -D_GNU_SOURCE=1 -D_REENTRANT   -c -o frmfmtenum.o frmfmtenum.c
> In file included from frmfmtenum.c:36:
> v4l2_enumfrmfmt.h:8: error: nested redefinition of 'enum v4l2_frmsizetypes'
> v4l2_enumfrmfmt.h:8: error: redeclaration of 'enum v4l2_frmsizetypes'
> v4l2_enumfrmfmt.h:9: error: redeclaration of enumerator
> 'V4L2_FRMSIZE_TYPE_DISCRETE'
> /usr/include/linux/videodev2.h:281: error: previous definition of
> 'V4L2_FRMSIZE_TYPE_DISCRETE' was here
> v4l2_enumfrmfmt.h:10: error: redeclaration of enumerator
> 'V4L2_FRMSIZE_TYPE_CONTINUOUS'
> /usr/include/linux/videodev2.h:282: error: previous definition of
> 'V4L2_FRMSIZE_TYPE_CONTINUOUS' was here
> v4l2_enumfrmfmt.h:11: error: redeclaration of enumerator
> 'V4L2_FRMSIZE_TYPE_STEPWISE'
> /usr/include/linux/videodev2.h:283: error: previous definition of
> 'V4L2_FRMSIZE_TYPE_STEPWISE' was here
> v4l2_enumfrmfmt.h:14: error: nested redefinition of 'enum
> v4l2_frmivaltypes' v4l2_enumfrmfmt.h:14: error: redeclaration of 'enum
> v4l2_frmivaltypes' v4l2_enumfrmfmt.h:15: error: redeclaration of enumerator
> 'V4L2_FRMIVAL_TYPE_DISCRETE'
> /usr/include/linux/videodev2.h:321: error: previous definition of
> 'V4L2_FRMIVAL_TYPE_DISCRETE' was here
> v4l2_enumfrmfmt.h:16: error: redeclaration of enumerator
> 'V4L2_FRMIVAL_TYPE_CONTINUOUS'
> /usr/include/linux/videodev2.h:322: error: previous definition of
> 'V4L2_FRMIVAL_TYPE_CONTINUOUS' was here
> v4l2_enumfrmfmt.h:17: error: redeclaration of enumerator
> 'V4L2_FRMIVAL_TYPE_STEPWISE'
> /usr/include/linux/videodev2.h:323: error: previous definition of
> 'V4L2_FRMIVAL_TYPE_STEPWISE' was here
> v4l2_enumfrmfmt.h:24: error: redefinition of 'struct v4l2_frmsize_discrete'
> v4l2_enumfrmfmt.h:32: error: redefinition of 'struct v4l2_frmsize_stepwise'
> v4l2_enumfrmfmt.h:52: error: redefinition of 'struct v4l2_frmsizeenum'
> v4l2_enumfrmfmt.h:73: error: redefinition of 'struct v4l2_frmival_stepwise'
> v4l2_enumfrmfmt.h:84: error: redefinition of 'struct v4l2_frmivalenum'
> In file included from frmfmtenum.c:36:
> v4l2_enumfrmfmt.h:116:1: warning: "VIDIOC_ENUM_FRAMESIZES" redefined
> In file included from /usr/include/linux/videodev.h:15,
>                  from frmfmtenum.c:34:
> /usr/include/linux/videodev2.h:1233:1: warning: this is the location of the
> previous definition
> In file included from frmfmtenum.c:36:
> v4l2_enumfrmfmt.h:117:1: warning: "VIDIOC_ENUM_FRAMEINTERVALS" redefined
> In file included from /usr/include/linux/videodev.h:15,
>                  from frmfmtenum.c:34:
> /usr/include/linux/videodev2.h:1234:1: warning: this is the location of the
> previous definition
> make: *** [frmfmtenum.o] Error 1
>
> There was one other post about this but it seemed to have gotten hijacked.
> Any ideas on that error?

Are you using the latest driver version (revision 75 from the trunk) ? Which 
kernel version are you running ? Do the kernel headers 
(in /usr/include/linux) match the running kernel version ? Is your kernel 
patched by your distribution ?

> Also, the xawtv error:
[snip]
> I have no other audio programs running that would be using OSS...I tried
> with aoss wrapper too...no diff.

xawtv is known to have issues with V4L2.

> Thanks for your time!

You're welcome :-)

Cheers,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to