From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 13:26:30 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BED331065675 for ; Thu, 5 Jan 2012 13:26:30 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 4DEFE8FC1D for ; Thu, 5 Jan 2012 13:26:30 +0000 (UTC) Received: from [82.113.106.193] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RinKu-0001kq-Au; Thu, 05 Jan 2012 14:26:28 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q05DQZTA001274; Thu, 5 Jan 2012 14:26:35 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q05DQYUK001273; Thu, 5 Jan 2012 14:26:34 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Thu, 5 Jan 2012 14:26:34 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20120105132633.GA1264@tiny> References: <20120101164408.GA2389@tinyCurrent> <201201032228.19293.hselasky@c2i.net> <20120103222031.GA3748@tinyCurrent> <201201040806.46076.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201201040806.46076.hselasky@c2i.net> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 82.113.106.193 Cc: freebsd-multimedia@freebsd.org Subject: Re: webcamd/cuse4bsd && Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2012 13:26:30 -0000 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 *** Error code 1 Stop in /usr/ports/multimedia/webcamd. *** Error code 1 Stop in /usr/ports/multimedia/webcamd. -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5