From owner-freebsd-multimedia@FreeBSD.ORG Sat Oct 13 16:49:36 2007 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 86B1E16A41A for ; Sat, 13 Oct 2007 16:49:36 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao106.cox.net (eastrmmtao106.cox.net [68.230.240.48]) by mx1.freebsd.org (Postfix) with ESMTP id 1727613C45D for ; Sat, 13 Oct 2007 16:49:35 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao106.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20071013164936.SPA25350.eastrmmtao106.cox.net@eastrmimpo02.cox.net>; Sat, 13 Oct 2007 12:49:36 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id zspa1X00A4iy4EG0000000; Sat, 13 Oct 2007 12:49:34 -0400 Date: Sat, 13 Oct 2007 11:53:52 -0500 To: "Heiko Recktenwald" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <4709E898.706@uni-bonn.de> <470BFFB2.8000500@uni-bonn.de> <20071010083828.jbheis3em8ockg4o@0x20.net> <470C7F7A.1080200@gmail.com> <20071010101425.iqz40wmlc0cw0cok@0x20.net> <471099ED.6090600@uni-bonn.de> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <471099ED.6090600@uni-bonn.de> User-Agent: Opera Mail/9.23 (Linux) Cc: freebsd-multimedia@freebsd.org Subject: Re: multimedia/setpwc etc X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2007 16:49:36 -0000 On Sat, 13 Oct 2007 05:11:57 -0500, Heiko Recktenwald wrote: > Solved! Not yet tested, but it looks good so far! >> >>> From setpwc.c: >>> >>> >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #define _LINUX_TIME_H 1 /* to get things compile on kernel 2.6.x */ >>> #include >>> > > I simply replaced the last line with > > #include "/usr/local/include/linux/videodev.h" It's not correct. You need to add -I${LOCALBASE}/include in the CFLAGS and possible -L${LOCALBASE}/lib in LDFLAGS if it needs. Cheers, Mezz >>> #include "pwc-ioctl.h" > > Maybe my multimedia/v4l_compat installation is broken, was allready > there, manually moved from from multimedia/bsdpwc/work/, maybe I have > to add it manually to some list? > > Thanks to all! > > Best, H. -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org