[Ffmpeg-devel] Fwd: Trouble compiling 0.03 on Redhat Linux

Dave Williams dave
Tue Jul 4 23:51:27 CEST 2006


Sorry folks; it's FFMPEG-Perl I'm having trouble compiling; again, any
advisement you can offer re the errors below are greatly appreciated...

Dave

---------- Forwarded message ----------
From: Dave Williams <dave123williams at gmail.com>
Date: Jul 4, 2006 12:43 PM
Subject: Trouble compiling 0.03 on Redhat Linux
To: ffmpeg-devel at mplayerhq.hu
Cc: ken at hero.com

Hey there;

So, we've checked out the SVN of FFMPEG and set my environment variable, but
when it comes time to compile, there's a bit of error garbage returned
(below); anybody else slamming their head against the desk trying to get
this to compile on Redhat?


gcc -c  -I/root/ffmpeg_svn/libavcodec -I/root/ffmpeg_svn
-I/root/ffmpeg_svn/libavformat -I/root/ffmpeg_svn/libavutil -D_REENTRANT
-D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe
-m32 -march=i386 -mtune=pentium4  -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc
-Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=\"
0.03\"
-DXS_VERSION=\"0.03\" -fPIC
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE"  -O FFmpeg.c
In file included from /root/ffmpeg_svn/libavutil/avutil.h:24,
                 from /root/ffmpeg_svn/libavcodec/avcodec.h:14,
                 from /root/ffmpeg_svn/libavformat/avformat.h:16,
                 from /root/ffmpeg_svn//ffmpeg.c:21,
                 from ffmpeg.h:1,
                 from FFmpeg.xs:16:
/root/ffmpeg_svn/libavutil/common.h:593:1: warning: "malloc" redefined
<command line>:8:1: warning: this is the location of the previous definition
/root/ffmpeg_svn/libavutil/common.h:594:1: warning: "free" redefined
<command line>:9:1: warning: this is the location of the previous definition
/root/ffmpeg_svn/libavutil/common.h:595:1: warning: "realloc" redefined
<command line>:10:1: warning: this is the location of the previous
definition
FFmpeg.xs: In function `XS_FFmpeg__init_streamgroup':
FFmpeg.xs:375: warning: initialization from incompatible pointer type
FFmpeg.xs:380: error: incompatible type for argument 2 of `Perl_newSViv'
FFmpeg.xs:381: error: structure has no member named `r_frame_rate_base'
FFmpeg.xs:390: error: structure has no member named `frame_rate'
make: *** [FFmpeg.o] Error 1

TIA,

Dave




More information about the ffmpeg-devel mailing list