Date: Sat, 13 Oct 2007 11:53:52 -0500 From: "Jeremy Messenger" <mezz7@cox.net> To: "Heiko Recktenwald" <uzs106@uni-bonn.de> Cc: freebsd-multimedia@freebsd.org Subject: Re: multimedia/setpwc etc Message-ID: <op.tz5aj2ea9aq2h7@mezz.mezzweb.com> In-Reply-To: <471099ED.6090600@uni-bonn.de> References: <4709E898.706@uni-bonn.de> <op.tzv08sjp9aq2h7@mezz.mezzweb.com> <470BFFB2.8000500@uni-bonn.de> <20071010083828.jbheis3em8ockg4o@0x20.net> <470C7F7A.1080200@gmail.com> <20071010101425.iqz40wmlc0cw0cok@0x20.net> <471099ED.6090600@uni-bonn.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 13 Oct 2007 05:11:57 -0500, Heiko Recktenwald <uzs106@uni-bonn.de> wrote: > Solved! Not yet tested, but it looks good so far! >> >>> From setpwc.c: >>> >>> >>> #include <errno.h> >>> #include <string.h> >>> #include <stdio.h> >>> #include <stdlib.h> >>> #include <sys/ioctl.h> >>> #include <sys/types.h> >>> #include <sys/stat.h> >>> #include <fcntl.h> >>> #include <unistd.h> >>> #define _LINUX_TIME_H 1 /* to get things compile on kernel 2.6.x */ >>> #include <linux/videodev.h> >>> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.tz5aj2ea9aq2h7>