Motion - Bug Report 2010x 01x 28x 202559
You are here: Foswiki>Motion Web>BugReports>BugReport2010x01x28x202559 (03 Jun 2012, AngelCarpintero)Edit Attach

BUG: Motion beyond 20100121 no longer builds without ffmpeg

Without changing the build environment and setup, motion dated 20100121 builds succesfully without ffmpeg support. The next one (20100123) does not. All subsequent snapshot fail to build without ffmpeg support.

I, and others do already, want to use motion as a grabber for the program stopmotion (http://developer.skolelinux.no/info/studentgrupper/2005-hig-stopmotion/). Hence there is no need for ffmpeg in motion.

Another reason to keep on delivering motion without ffmpeg is that some linux distributions can not distribute ffmpeg due to license or patent limitations.

Compiling Motion object files...
--------------------------------------------------------------------------------
gcc -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wall -D_REENTRANT -I/usr/include/mysql -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP    -Wall -DVERSION=\"trunk-r479\" -Dsysconfdir=\"/etc/motion\"    -c -o motion.o motion.c                                                                             
motion.c: In function 'process_image_ring':                                       
motion.c:550: error: 'struct context' has no member named 'ffmpeg_output'
motion.c: In function 'motion_loop':
motion.c:1676: error: 'struct context' has no member named 'ffmpeg_output'
motion.c:1709: error: 'struct context' has no member named 'ffmpeg_output'
motion.c:1720: error: 'struct context' has no member named 'ffmpeg_output'
motion.c:1733: error: 'struct context' has no member named 'ffmpeg_output'
make: *** [motion.o] Error 1
make: *** Waiting for unfinished jobs....

The 20100121 version ends with:
Getting buildinfo from server
Updating cache of required packages
Skipping verification of package signatures
Writing build configuration
Getting buildconfig from server
Running build

/var/tmp/build-root-openSUSE_11.2-i586/usr/src/packages/SRPMS/motion-20100121-1.src.rpm
/var/tmp/build-root-openSUSE_11.2-i586/usr/src/packages/RPMS/i586/motion-20100121-1.i586.rpm

Environment

Motion version: 3.2.11.1
ffmpeg version: NA
Shared libraries: mysql, postgresql
Server OS: openSUSE-11.2
-- RichardB - 28 Jan 2010

Follow up

Try latest svn r480.

Cheers,

-- AngelCarpintero - 05 Feb 2010

Follow up

> Try latest svn r480.

It builds again smile

BTW: I did not get an email notification that this bug report was updated. I just checked it myself. How to get emal notifications for bugreport updated? What is the correct way of updating bug reports. I'm using the 'edit' functionality now...

Fix record

Commited to svn and fixed.

There's no email notification when status of bugs change, you can add any note to help others once the resolution is done using 'edit'

also change the BugStatus.

-- AngelCarpintero - 05 Feb 2010

BugReportForm edit

TopicTitle Motion beyond 20100121 no longer builds without ffmpeg
BugStatus Released
AssignedBugTo AngelCarpintero
SubmittedBy RichardB
Topic revision: r5 - 03 Jun 2012, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.