[Openchrome-users] Compile error for source from Mplayer Debian-Multimedia.org package

Eric Gilbert eric.gilbert
Tue Feb 13 23:46:08 PST 2007


Just a shout out that the package source for
mplayer-1.0-rc1cvs20070118 from the Debian-Multimedia.org repository
using the instructions from
http://wiki.openchrome.org/tikiwiki/tiki-index.php?page=XvMC just
needed a few small tweaks to patch in the xvmc-vld extension in the
configure section of the generated patch:

@@ -3840,6 +3843,7 @@
       _ld_tmp="$I -lXext -lX11 $_ld_sock $_ld_pthread"
     fi
     cc_check $_ld_tmp && _libs_mplayer="$_libs_mplayer $_ld_tmp" \
+                      && _libs_mencoder="$_libs_mencoder $I" \
                       && _x11=yes && break
   done
 fi

the line above the insert in the patch needs to be changed to

     cc_check $_inc_x11 $_ld_tmp && _libs_mplayer="$_libs_mplayer $_ld_tmp" \

for the hunk to succeed.

Also in the first hunk for libmpcodecs/vd_ffmpeg.c I added
libavutil/avutil.h to solve another issue compile issue

@@ -12,6 +12,8 @@
 #include "mpbswap.h"

 #include "vd_internal.h"
+#include "libvo/video_out.h"
+#include "libavutil/avutil.h"

 static vd_info_t info = {
        "FFmpeg's libavcodec codec family",

But ... I'm having problems getting past the next error ..

demux_lavf.c:70: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'mp_wav_tags'
demux_lavf.c:89: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'mp_bmp_tags'
demux_lavf.c: In function 'demux_open_lavf':
demux_lavf.c:205: warning: assignment discards qualifiers from pointer
target type
demux_lavf.c:255: warning: 'codec_get_wav_tag' is deprecated (declared
at /usr/include/ffmpeg/riff.h:50)
demux_lavf.c:257: error: 'mp_wav_tags' undeclared (first use in this function)
demux_lavf.c:257: error: (Each undeclared identifier is reported only once
demux_lavf.c:257: error: for each function it appears in.)
demux_lavf.c:329: warning: 'codec_get_bmp_tag' is deprecated (declared
at /usr/include/ffmpeg/riff.h:49)
demux_lavf.c:331: error: 'mp_bmp_tags' undeclared (first use in this function)

Any hints?

Thanks,
Eric




More information about the Openchrome-users mailing list