From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 18 15:18:44 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 46608C2D for ; Thu, 18 Oct 2012 15:18:44 +0000 (UTC) (envelope-from alexvpetrov@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 994F48FC12 for ; Thu, 18 Oct 2012 15:18:43 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so12373718vcb.13 for ; Thu, 18 Oct 2012 08:18:42 -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=M871txSbF73jCUx75f7XpNy0FIY9slKcVlou3dD6P/4=; b=AomA0JA8XFlqYTbPsLbPCrnI0kK1A5/OIGVg1/v7LfoV5Re9MTBXSQvFGR24p7AeaW 1caSfN8jno76HpMLDmJYOCRkQtWwv/ODegez++mMPvIo+3lSMPOmjgdvMkGjb2urIfj6 3t4aETAcV+uJ3BrrJx3YEUVz1GpljV9pTJH9mEbKw/NeJhd4kQnOXxD/12RzsvbwfXrL XoDOXk6Hh8t/gPHHLA0xRY52AIvOg5FKePS1CQ39RWHHj7pDOFYXMfbTRDxr2cV/XQ88 exX5BTCu9iY8STFa3MgGcG0Lg5PhyBidE68dt3JGmpJg9uipEzk2LiYz+VDCgqeNnK31 K1qQ== Received: by 10.58.56.166 with SMTP id b6mr5190662veq.49.1350573522244; Thu, 18 Oct 2012 08:18:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.210.3 with HTTP; Thu, 18 Oct 2012 08:18:21 -0700 (PDT) In-Reply-To: <201210181514.q9IFE6FE090540@chronos.org.uk> References: <201210181514.q9IFE6FE090540@chronos.org.uk> From: "Alex V. Petrov" Date: Thu, 18 Oct 2012 23:18:21 +0800 Message-ID: Subject: Re: motion-3.2.12 does not work with bktr To: Matt Dawson 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: Thu, 18 Oct 2012 15:18:44 -0000 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 functi= on) 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 like > 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" --=20 ---------------------- Alex V. Petrov