Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2012 12:14:03 +0800
From:      "Alex V. Petrov" <alexvpetrov@gmail.com>
To:        Cpet Services <cpetservice@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: motion-3.2.12 does not work with bktr
Message-ID:  <CAAtgPUrrARvXG=-bp8hw1GLRHqdmj7yPgm2yL=PYpMs2jA7v9Q@mail.gmail.com>
In-Reply-To: <CA%2BhK6ZmT2gBG1pxuOxR8TqiwArz4xNJNb5VJj2BcfaAaVq8r7Q@mail.gmail.com>
References:  <mailman.5.1350561601.82133.freebsd-multimedia@freebsd.org> <201210181514.q9IFE6FE090540@chronos.org.uk> <CAAtgPUoQsfSeD5bMf%2BEjYN1t7GoLq%2BSHYLQOgAuy-xhaTFOEug@mail.gmail.com> <CA%2BhK6ZmT2gBG1pxuOxR8TqiwArz4xNJNb5VJj2BcfaAaVq8r7Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Built successfully after:
pkg delete -f libv4l-0.8.8_1 v4l_compat-1.0.20120501_1

2012/10/19 Cpet Services <cpetservice@gmail.com>:
> 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 <alexvpetrov@gmail.com>
> 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 <matt@chronos.org.uk>:
>> > On Thu, 18 Oct 2012 12:00:01 +0000
>> > Cpet Services <cpetservice@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAtgPUrrARvXG=-bp8hw1GLRHqdmj7yPgm2yL=PYpMs2jA7v9Q>