Date: Thu, 5 Jan 2012 16:53:15 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype Message-ID: <201201051653.15808.hselasky@c2i.net> In-Reply-To: <20120105132633.GA1264@tiny> References: <20120101164408.GA2389@tinyCurrent> <201201040806.46076.hselasky@c2i.net> <20120105132633.GA1264@tiny>
index | next in thread | previous in thread | raw e-mail
On Thursday 05 January 2012 14:26:34 Matthias Apitz wrote: > El día Wednesday, January 04, 2012 a las 08:06:45AM +0100, Hans Petter Selasky escribió: > > Hi, > > > > > and now? > > > > Webcamd supports both, maybe it shouldn't? > > > > In the webcamd port do: > > > > make extract patch > > Then in work/webcamd*/config you find: > > > > CONFIG_VIDEO_V4L1_COMPAT=y > > > > Change this to =n > > > > Then cd tools/linux_make > > make all install clean > > > > cd ../.. > > > > make configure > > > > Then build the port. > > Hi > > I followed exact your procedure; if I compile with HAL it fails with the > erros below; I disabled HAL, it compiled fine and when I start > > # cd work/webcamd* > # ./webcamd > > it gives the same ioctl's failing from Skype; > > I checked the source tree for 'CONFIG_VIDEO_V4L1_COMPAT' but it is only > mentioned as #undef CONFIG_VIDEO_V4L1_COMPAT in build/config.h, no > further places; so I don't know where to look if some additional lib is > compiled and linked static to webcamd (ldd does not show any additional > shared lib); I'm a bit clueless; please help > > thanks > > matthias > > HAL compile error: > > ... > webcamd.c:268: warning: format '%08x' expects type 'unsigned int', but > argument 3 has type 'long unsigned int' webcamd_hal.c: In function > 'hal_add_device': > webcamd_hal.c:129: error: storage size of 'v1cap' isn't known > webcamd_hal.c:171: error: 'VIDIOCGCAP' undeclared (first use in this > function) webcamd_hal.c:171: error: (Each undeclared identifier is > reported only once webcamd_hal.c:171: error: for each function it appears > in.) > webcamd_hal.c:178: error: 'VID_TYPE_CAPTURE' undeclared (first use in this > function) webcamd_hal.c:180: error: 'VID_TYPE_OVERLAY' undeclared (first > use in this function) webcamd_hal.c:184: error: 'VID_TYPE_TUNER' > undeclared (first use in this function) *** Error code 1 > 1 error If fails because HAL depends on some V4L1 ioctls. I could #ifdef that. --HPShelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201051653.15808.hselasky>
