[Ffmpeg-devel] error compiling ffmpeg.c

may nothing may_241913
Mon Aug 14 15:29:13 CEST 2006


Hi folks,

I'm trying to compile ffmpeg on a Sun Sparc box, and as you know on Sparc-Solaris things are not that easy as on our good ol' linux.
However my config as follows:
Sparc Ultra60 Running Solaris 10 1/6 
using gcc 3.3.2 and the latest cvs of ffmpeg.

./configure --enable-libogg --enable-vorbis --enable-faad --enable-a52 --enable-dts --enable-sunmlib --enable-gpl --cc=gcc --make=gmake --disable-mmx --disable-v4l --disable-v4l2 --enable-pp

... went fine so far but:

bash-3.00# gmake
/space/ffmpeg/version.sh "/space/ffmpeg"
/space/ffmpeg/version.sh: svn: not found
gmake -C libavutil   all
gmake[1]: Entering directory `/space/ffmpeg/libavutil'
gmake[1]: Nothing to be done for `all'
gmake[1]: Leaving directory `/space/ffmpeg/libavutil'
gmake -C libavcodec  all
gmake[1]: Entering directory `/space/ffmpeg/libavcodec'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/space/ffmpeg/libavcodec'
gmake -C libavformat all
gmake[1]: Entering directory `/space/ffmpeg/libavformat'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/space/ffmpeg/libavformat'
gmake -C libpostproc all
gmake[1]: Entering directory `/space/ffmpeg/libpostproc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/space/ffmpeg/libpostproc'
gcc -O3  -g -Wall -Wno-switch -I. -I/space/ffmpeg -I/space/ffmpeg/libavutil -I/space/ffmpeg/libavcodec -I/space/ffmpeg/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -c -o ffmpeg.o ffmpeg.c
In file included from /space/ffmpeg/libavformat/avformat.h:18,
                 from ffmpeg.c:21:
/space/ffmpeg/libavformat/avio.h:6: warning: redefinition of `offset_t'
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/sys/types.h:233: warning: `offset_t' previously declared here
ffmpeg.c: In function `opt_input_file':
ffmpeg.c:2807: error: structure has no member named `loop_input'
gmake: *** [ffmpeg.o] Error 1

line 2807 of ffmpeg.c :

ic->loop_input = loop_input;

line 163 of ffmpeg.c:

static int loop_input = 0;

Any ideas what's wrong ??

TIA

Martin







More information about the ffmpeg-devel mailing list