Motion - Bug Report 2009x 04x 30x 225339
You are here: Foswiki>Motion Web>BugReports>BugReport2009x04x30x225339 (10 Aug 2009, AngelCarpintero)Edit Attach

BUG: error in make.../usr/include/ffmpeg/libavformat/avformat.h:714: error: expected declaration specifiers or '...' before 'AVPacket'

make result:

supercharger:/home/supercharger/arquivos/motion-20090430-051001# make Welcome to the setup procedure for Motion, the motion detection daemon! If you get error messages during this procedure, please report them to the mailing list. The Motion Guide contains all information you should need to get Motion up and running. Run "make updateguide" to download the latest version of the Motion Guide.

Version: trunk-r442 Platform: Linux (if this is incorrect, please read FreeBSD)

Generating dependencies, please wait...

Compiling Motion object files...
gcc -g -O2 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include/ffmpeg -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include/postgresql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"trunk-r442\" -Dsysconfdir=\"/usr/local/etc\" -c -o motion.o motion.c In file included from ffmpeg.h:8, from motion.c:9: /usr/include/ffmpeg/libavformat/avformat.h:126: error: expected declaration specifiers or '...' before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:205: error: expected declaration specifiers or '...' before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:211: error: expected declaration specifiers or '...' before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:212: error: expected declaration specifiers or '...' before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:256: error: expected declaration specifiers or '...' before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:435: error: expected specifier-qualifier-list before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:541: error: expected specifier-qualifier-list before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:637: error: expected specifier-qualifier-list before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:714: error: expected declaration specifiers or '...' before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:726: error: expected declaration specifiers or '...' before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:822: error: expected declaration specifiers or '...' before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:843: error: expected declaration specifiers or '...' before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:1047: error: expected declaration specifiers or '...' before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:1064: error: expected declaration specifiers or '...' before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:1081: error: expected declaration specifiers or '...' before 'AVPacket' /usr/include/ffmpeg/libavformat/avformat.h:1082: error: expected declaration specifiers or '...' before 'AVPacket' make: ** [motion.o] Erro 1 supercharger:/home/supercharger/arquivos/motion-20090430-051001#

Some Clue?

last ffmpeg updated in 29-04-2009

kernel 2.6.21-2-amd64

debian testing

supercharger:/home/supercharger/arquivos/motion-20090430-051001# ffmpeg -v
FFmpeg version SVN-r10726, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-swscaler
  libavutil version: 49.5.0
  libavcodec version: 51.45.0
  libavformat version: 51.14.0
  built on Oct 13 2007 15:14:38, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
ffmpeg: missing argument for option '-v'
supercharger:/home/supercharger/arquivos/motion-20090430-051001#                    

Environment

Motion version: 30-04-2009 snapshot
ffmpeg version: SVN-r10726
Shared libraries: ffmpeg, mysql, apache2
Server OS:  

-- MeuNome - 30 Apr 2009

Follow up

Fix record

This was fixed in current svn , also was a bug to be applied to 3.2.11

-- AngelCarpintero - 09 Jul 2009

BugReportForm edit

TopicTitle error in make.../usr/include/ffmpeg/libavformat/avformat.h:714: error: expected declaration specifiers or '...' before 'AVPacket'
BugStatus Released
AssignedBugTo AngelCarpintero
SubmittedBy MeuNome
Topic revision: r3 - 10 Aug 2009, 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.