From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 18 18:15:08 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 E9CCE9A4 for ; Thu, 18 Oct 2012 18:15:08 +0000 (UTC) (envelope-from cpetservice@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 936358FC0A for ; Thu, 18 Oct 2012 18:15:08 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id p27so1691930qat.13 for ; Thu, 18 Oct 2012 11:15:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dZAudb4DKmkSUbHiQz5/AI9CkKdYenKB/BmViF35Nl0=; b=pBM/wjqGXClpEYQuj1D+b/6lwowU0xZR8b2YedoJiI6Ha3iowu9K7wIvMcgBDVGVXn tkmKIboVAdFihAwI80A48nJxsE1YtPJFlMfKnAF3C2bwyi3GEfCa6krnxZZDB+wXz+My kbo8ArEX2xfnnDqfBqANLrA3Gl2Ldk0ROKw20Mmu0LDB+KX7Gx5aF9YPpoP0aTdO6kQY +hmVS7uMfWSBR5zt4hY5fc7b9g37TiHwx18Q7CsMxf1u3yliNfF+uUHG29FP6UpOBCk7 KK+0r9P3OZTYUOIk83JY2WMg3H15Qj5jT6/mjc28PmQAnS6BpmWGlRKxEZHkT2tD/pM4 XFHQ== MIME-Version: 1.0 Received: by 10.49.133.97 with SMTP id pb1mr47404664qeb.31.1350584107759; Thu, 18 Oct 2012 11:15:07 -0700 (PDT) Received: by 10.49.132.6 with HTTP; Thu, 18 Oct 2012 11:15:07 -0700 (PDT) In-Reply-To: References: <201210181514.q9IFE6FE090540@chronos.org.uk> Date: Thu, 18 Oct 2012 13:15:07 -0500 Message-ID: Subject: Re: motion-3.2.12 does not work with bktr From: Cpet Services To: "Alex V. Petrov" Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-multimedia@freebsd.org, Matt Dawson 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 18:15:09 -0000 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 wro= te: > 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 functio= n) > 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 functio= n) > 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" > > > > -- > ---------------------- > 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" > --=20 -------------------------------------------------------- Chris Petrik FreeBSD Contributor Reincarnated cpet on irc