[FreeBSD 8/9] USB webcamd and video4bsd: Call for testing

Tom Evans tevans.uk at googlemail.com
Sat Feb 6 13:27:15 UTC 2010


On Tue, Jan 26, 2010 at 9:46 PM, Hans Petter Selasky <hselasky at c2i.net> wrote:
> BTW: I've added all DVB USB dongles to the current build! If anyone has such a
> device, please test!
>
> Also list the version of the software you are using.
>
> --HPS

Hi Hans

I'm trying to test the dvb usb support you've added, but I'm getting a
compilation error when building ulinux.

I'm using 8-STABLE, r203423. I'm also using the svn version of
video4bsd and webcamd/ulinux (r1424). I've got the following ports
installed:
> # pkg_info | grep 'v4l\|pwc'
libv4l-0.6.4        Video4Linux library
pwcview-1.4.1_2     The Video4Linux PWC webcam viewer
v4l_compat-1.0.20100113 Video4Linux IOCTL header files


The error is:

cc -O2 -pipe  -DBITS_PER_LONG=64 -I/root/v4b/video4bsd/ulinux/dummy
-I/root/v4b/video4bsd/ulinux/headers
-I/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/gspca
-I/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/common/tuners
-I/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/dvb/dvb-core
-I/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/dvb/frontends
-I/root/v4b/video4bsd/ulinux/v4l-dvb/linux/include
-I/root/v4b/video4bsd/ulinux/v4l-dvb/linux
-I/root/v4b/video4bsd/ulinux -DCONFIG_VIDEO_V4L1_COMPAT
-DCONFIG_DVB_DIB3000MC -DCONFIG_VIDEO_PVRUSB2_DVB -DCONFIG_I2C
-DHAVE_WEBCAMD -include webcamd_global.h -O2 -Wall -Wno-pointer-sign
-fvisibility=hidden -std=gnu99 -fstack-protector  -c
/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c
/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c:60:1:
warning: "DRIVER_VERSION_NUMBER" redefined
In file included from ./webcamd_global.h:100,
                 from <command-line>:0:
/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/uvc/uvcvideo.h:144:1:
warning: this is the location of the previous definition
/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c:
In function 'get_ep':
/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c:694:
warning: statement with no effect
/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c:
In function 'create_urbs':
/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c:748:
warning: passing argument 4 of 'usb_buffer_alloc' from incompatible
pointer type
/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c:
In function 'gspca_stream_off':
/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c:907:
warning: statement with no effect
/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c:
In function 'gspca_disconnect':
/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c:2365:
error: 'struct gspca_dev' has no member named 'input_dev'
/root/v4b/video4bsd/ulinux/v4l-dvb/linux/drivers/media/video/gspca/gspca.c:2367:
error: 'struct gspca_dev' has no member named 'input_dev'
*** Error code 1


Thanks for any pointers you can give.

Cheers

Tom


More information about the freebsd-multimedia mailing list