opensuse 11
Question
I want to try Motion. But my actual version of ffmpeg is 0.4.9.15793svn-20081108.pm.1300 on opensuse 11. I have tried to complie source code of 0.4.8 version, but I have some error that you can see below when type 'make' command.
¿Anybody knows how to solve it? Thanks.
linux-jj:/usr/local/ffmpeg-0.4.8 # ./configure
Install prefix /usr/local
Source path /usr/local/ffmpeg-0.4.8
C compiler gcc
make make
CPU unknown (generic)
Big Endian no
gprof enabled no
zlib enabled yes
mp3lame enabled no
vorbis enabled no
faad enabled no
faadbin enabled no
a52 support no
a52 dlopened no
pp support no
debug symbols yes
optimize yes
shared pp no
Video hooking yes
SDL support yes
risky / patent encumbered codecs yes
Imlib2 support no
freetype support yes
Sun medialib support no
AMR-NB float support no
AMR-NB fixed support no
Creating config.mak and config.h
config.h is unchanged
linux-jj:/usr/local/ffmpeg-0.4.8 # make
make -C libavcodec all
make[1]: se ingresa al directorio `/usr/local/ffmpeg-0.4.8/libavcodec'
gcc -g -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c
In file included from avcodec.h:14,
from common.c:27:
common.h:68: error: array type has incomplete element type
common.h:70: error: array type has incomplete element type
make[1]: *** [common.o] Error 1
make[1]: se sale del directorio `/usr/local/ffmpeg-0.4.8/libavcodec'
make: *** [lib] Error 2
Environment
Motion version: |
3.2.11 |
ffmpeg version: |
0.4.9.15793svn-20081108.pm.1300 |
Libraries: |
ffmpeg, mysql |
Server OS: |
opensuse 11 |
--
JuanMartinez - 15 Nov 2008
Follow up
You don't need to compile 0.4.8 if you try you have to patch it ( i don't recommend ).
OpenSuse uses ffmpeg svn -r15793 , i didn't test that one but i did with previous one (ffmpeg-0.4.9.15594svn-20081010.pm.2144) and worked with trunk .
What's the issue you have with svn -r15793 ?
Probably your issues is fixed and already written in release notes of 3.2.11 :
http://www.lavrsen.dk/twiki/bin/view/Motion/ReleaseNoteMotion3x2x11
I bet this patch fix your problem in opensure
http://www.lavrsen.dk/twiki/pub/Motion/ReleaseNoteMotion3x2x11/ffmpeg-0.4.9.15594svn-20081010.diff
--
AngelCarpintero - 17 Nov 2008
Answer
This issues was fixed in release notes of 3.2.11 also in 3.2.11.1
--
AngelCarpintero - 06 Aug 2009