From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 19 04:14:25 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0A93A61 for ; Fri, 19 Oct 2012 04:14:25 +0000 (UTC) (envelope-from alexvpetrov@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8FCA58FC0A for ; Fri, 19 Oct 2012 04:14:25 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so93942iea.13 for ; Thu, 18 Oct 2012 21:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=r1g+5U6hbR2XhsFbH+nrLuYh5I8XHv2VqTGC0gsJ/xY=; b=QWNeRUMbNHHuYhBI9VApY1HSyzgmrwgKAqdu3Z5cl5JWHBx+bc4+75WSRhQBCjRkuB RItJQ9EYDm8hTqh4ZXlybCvG9KVjWgyfXMVYyKQ9DfAUZFAS1f4ef05NvF9wLDZY7wqh OaOTu8TGLlSTWN6EBS7gtD60ICVkEf9nd8vPIh3l8clTWZYcGTxpqqgNtzR+AM3Geivr czaVHpcUK0gDhV6AmKvalPYhkH37+noZECw3FHjvy+imNXGNmicWmPrvHAaYvoTaqXv0 dvWgYW0wSknOLy1XmRxNKKQPgS6ZZPh03J3WMC4yLG8qDk6ab1rSBbPVkyUBqvnuZKwx yG1w== Received: by 10.50.185.194 with SMTP id fe2mr7155397igc.60.1350620064948; Thu, 18 Oct 2012 21:14:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.130.136 with HTTP; Thu, 18 Oct 2012 21:14:03 -0700 (PDT) In-Reply-To: References: <201210181514.q9IFE6FE090540@chronos.org.uk> From: "Alex V. Petrov" Date: Fri, 19 Oct 2012 12:14:03 +0800 Message-ID: Subject: Re: motion-3.2.12 does not work with bktr To: Cpet Services Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 04:14:26 -0000 Built successfully after: pkg delete -f libv4l-0.8.8_1 v4l_compat-1.0.20120501_1 2012/10/19 Cpet Services : > I will look into this and take into account Matt's modifications. > > Chris > > On Thu, Oct 18, 2012 at 10:18 AM, Alex V. Petrov > wrote: >> >> With this: >> >> cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -O2 -pipe >> -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG >> -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 >> -DTYPE_32BIT=3D"int" -DHAVE_BSWAP -Wall -DVERSION=3D\"3.2.12\" >> -Dsysconfdir=3D\"/usr/local/etc\" -I/usr/local/include -c -o alg.o >> alg.c >> track.c: In function 'uvc_center': >> track.c:587: error: storage size of 'control_s' isn't known >> track.c:589: error: 'V4L2_CID_PRIVATE_BASE' undeclared (first use in >> this function) >> track.c:589: error: (Each undeclared identifier is reported only once >> track.c:589: error: for each function it appears in.) >> track.c:592: error: 'VIDIOC_S_CTRL' undeclared (first use in this >> function) >> track.c:601: error: storage size of 'queryctrl' isn't known >> track.c:605: error: 'VIDIOC_QUERYCTRL' undeclared (first use in this >> function) >> track.c:601: warning: unused variable 'queryctrl' >> track.c:587: warning: unused variable 'control_s' >> track.c:636: error: storage size of 'control_s' isn't known >> track.c:636: warning: unused variable 'control_s' >> track.c: In function 'uvc_move': >> track.c:724: error: storage size of 'control_s' isn't known >> track.c:726: error: 'V4L2_CID_PRIVATE_BASE' undeclared (first use in >> this function) >> track.c:729: error: 'VIDIOC_S_CTRL' undeclared (first use in this >> function) >> track.c:724: warning: unused variable 'control_s' >> track.c:779: error: storage size of 'control_s' isn't known >> track.c:779: warning: unused variable 'control_s' >> gmake: *** [track.o] =EF=DB=C9=C2=CB=C1 1 >> gmake: *** =EF=D6=C9=C4=C1=CE=C9=C5 =DA=C1=D7=C5=D2=DB=C5=CE=C9=D1 =DA= =C1=C4=C1=CE=C9=CA... >> *** [do-build] Error code 1 >> >> Stop in /usr/ports/multimedia/motion. >> *** [build] Error code 1 >> >> Stop in /usr/ports/multimedia/motion. >> >> 2012/10/18 Matt Dawson : >> > On Thu, 18 Oct 2012 12:00:01 +0000 >> > Cpet Services wrote: >> > >> >> Going to need a little more info that the info provided. Also the >> >> issue mentioned sounds like a perm issue rather an issue with motion. >> > >> > It isn't. It is counter-intuitive but to have bktr/meteor code work >> > for local sources one has to let the V4L code compile or it won't work >> > at all, even with the BKTR option enabled. In the Makefile, remove the >> > line CFLAGS+=3D -DWITHOUT_V4L, to make the PWCBSD conditional look lik= e >> > this: >> > >> > .if ${PORT_OPTIONS:MPWCBSD} >> > BUILD_DEPENDS+=3D >> > v4l_compat>=3D1.0.20060801:${PORTSDIR}/multimedia/v4l_compat >> > RUN_DEPENDS+=3D /boot/modules/pwc.ko:${PORTSDIR}/multimedia/pwcbsd >> > CONFIGURE_ARGS+=3D--with-pwcbsd >> > .else >> > CONFIGURE_ARGS+=3D--without-pwcbsd >> > .endif >> > >> > The port as it stands is useless for bktr without the Makefile hack. >> > -- >> > Matt Dawson >> > MTD15-RIPE >> > GW0VNR >> > _______________________________________________ >> > freebsd-multimedia@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >> > To unsubscribe, send any mail to >> > "freebsd-multimedia-unsubscribe@freebsd.org" >> >> >> >> -- >> ---------------------- >> Alex V. Petrov >> _______________________________________________ >> freebsd-multimedia@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >> To unsubscribe, send any mail to >> "freebsd-multimedia-unsubscribe@freebsd.org" > > > > > -- > -------------------------------------------------------- > Chris Petrik > FreeBSD Contributor > Reincarnated > cpet on irc > --=20 ---------------------- Alex V. Petrov