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

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?

Also, the xawtv error:

[EMAIL PROTECTED] luvcview-20060920]$ xawtv -c /dev/video0 -nodga
This is xawtv-3.95, running on Linux/i686 (2.6.19-beyond)
xinerama 0: 1280x1024+0+0
xinerama 1: 1280x1024+1280+0
X Error of failed request:  XF86DGANoDirectVideoMode
 Major opcode of failed request:  137 (XFree86-DGA)
 Minor opcode of failed request:  1 (XF86DGAGetVideoLL)
 Serial number of failed request:  13
 Current serial number in output stream:  13
v4l-conf had some trouble, trying to continue anyway
ioctl:
VIDIOC_QUERYCTRL(id=134217735;type=unknown;name="";minimum=0;maximum=0;step=0;default_value=0;flags=0):
Input/output error
ioctl:
VIDIOC_QUERYCTRL(id=134217739;type=unknown;name="";minimum=0;maximum=0;step=0;default_value=0;flags=0):
Input/output error
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to
type FontStruct
ioctl: VIDIOC_G_STD(std=0xbfabc8c4
[PAL_G,PAL_D1,PAL_K,PAL_60,?,?,SECAM_B,SECAM_D,SECAM_H,SECAM_K1,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null)]):
Invalid argument
ioctl: VIDIOC_G_CTRL(id=134217736;value=134693284): Invalid argument
ioctl: VIDIOC_G_CTRL(id=134217737;value=134693284): Invalid argument
ioctl: VIDIOC_G_CTRL(id=134217741;value=1): Invalid argument
ioctl: VIDIOC_REQBUFS(count=2;type=VIDEO_CAPTURE;memory=MMAP): Success
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0
[];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=unknown):
Invalid argument
ioctl:
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=ANY;fmt.pix.bytesperline=0;fmt.pix.sizeimage=1179648;fmt.pix.colorspace=SRGB;fmt.pix.priv=0):
Input/output error
no way to get: 384x288 32 bit TrueColor (LE: bgr-)
oss: open /dev/dsp: Invalid argument
ioctl:
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=1024;fmt.pix.height=576;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=ANY;fmt.pix.bytesperline=0;fmt.pix.sizeimage=1179648;fmt.pix.colorspace=SRGB;fmt.pix.priv=0):
Input/output error
ioctl:
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=ANY;fmt.pix.bytesperline=0;fmt.pix.sizeimage=1179648;fmt.pix.colorspace=SRGB;fmt.pix.priv=0):
Input/output error
no way to get: 384x288 32 bit TrueColor (LE: bgr-)
oss: open /dev/dsp: Invalid argument
ioctl:
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=1024;fmt.pix.height=576;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=ANY;fmt.pix.bytesperline=0;fmt.pix.sizeimage=1179648;fmt.pix.colorspace=SRGB;fmt.pix.priv=0):
Input/output error
ioctl:
VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559
[YUYV];fmt.pix.field=ANY;fmt.pix.bytesperline=0;fmt.pix.sizeimage=1179648;fmt.pix.colorspace=SRGB;fmt.pix.priv=0):
Input/output error
no way to get: 384x288 32 bit TrueColor (LE: bgr-)

I have no other audio programs running that would be using OSS...I tried
with aoss wrapper too...no diff.

Thanks for your time!
-kcbanner
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to