Motion - Bug Report 2006x 03x 09x 012244

BUG: error compiling version 3.2.5.1 (time_last_frame and time_current_frame undeclared)

hi, i use slackware 10.2 and when trying to compile with the make command i got this:

Compiling Motion object files...
--------------------------------------------------------------------------------
gcc -g -O2 -DWITHOUT_V4L -DHAVE_MYSQL -I /usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium3 -mfpmath=sse -msse  -mmmx -Wall -DVERSION=\"3.2.5.1\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o motion.o motion.c
motion.c: In function `motion_loop':
motion.c:1251: error: `time_current_frame' undeclared (first use in this function)
motion.c:1251: error: (Each undeclared identifier is reported only once
motion.c:1251: error: for each function it appears in.)
motion.c:1254: error: `time_last_frame' undeclared (first use in this function)
make: *** [motion.o] Error 1

Already tried with the configure --without-v4l as in another bug solution but no results

Test case

Environment

Motion version: 3.2.5.1
ffmpeg version:  
Shared libraries: mysql
Server OS: slackware 10.2

-- AndreaDelPriore - 09 Mar 2006

Follow up

Fix record

Yes. You are right. It is an error triggered when you do not have ffmpeg installed.

RPMs are not affected since they are built with

You can download a latest MotionDailySourceSnap. I just generated an extra one so latest is fine.

SVN 61, daily motion-20060309-084350

-- KennethLavrsen - 09 Mar 2006

In 3.2.7

-- KennethLavrsen - 20 Oct 2006

BugReportForm edit

TopicTitle error compiling version 3.2.5.1 (time_last_frame and time_current_frame undeclared)
BugStatus Released
AssignedBugTo KennethLavrsen
SubmittedBy AndreaDelPriore
Topic revision: r3 - 20 Oct 2006, KennethLavrsen
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.