[MPlayer-users] Mplayer compilation error (ff_ac3_...)

ajaxas ajaxas at gmail.com
Tue Apr 17 18:01:41 CEST 2007


System: OpenSUSE 10.2
Kernel: 2.6.21-rc5 (vanilla)
libc:   libc-2.5
gcc:    4.1.2 (final)
ld:     2.17.50.0.5 20060927 (SUSE Linux)
as:     2.17.50.0.5 20060927 (SUSE Linux)

CPU:          Athlon XP (Barton) 2500+
Video card:   NVidia GeForce FX 5200 128MB 
Video driver: NVIDIA-Linux-x86-1.0-9631
Sound card:   Creative SB128 (ens1371) with the kernel ALSA driver
Mplayer-HEAD.
-------------------------------------------------------------------

Mplayer compilation process goes as always, but ends up with this:

cc -o mplayer mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o parser-mpcmd.o
subopt-helper.o command.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o
m_config.o m_option.o m_struct.o mpcommon.o parser-cfg.o playtree.o
playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o libvo/libvo.a
libao2/libao2.a input/libinput.a vidix/libvidix.a Gui/libgui.a
libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a
libswscale/libswscale.a libvo/libosd.a libavformat/libavformat.a
libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a
loader/libloader.a mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a
libfaad2/libfaad2.a tremor/libvorbisidec.a dvdread/libdvdread.a
libdvdcss/libdvdcss.a libass/libass.a osdep/libosdep.a -lXext -lX11 -lpthread
-lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -lSDL -lpthread -lfaac
-lx264 -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
-lfreetype -lz -lfontconfig -lexpat -lglitz -lm -lpng12 -lXrender -lX11
-lpthread -lXau -lXdmcp -lglib-2.0 -L/opt/gnome/lib -L/opt/gnome/lib -L/usr/lib
-Wl,-z,noexecstack    -lncurses -lpng -lz -ljpeg -lungif -lasound -ldl -lpthread
-lcdda_interface -lcdda_paranoia -lfreetype -lz -lfontconfig  -lz -llzo2 -lmad
-lspeex  -ltheora -logg   -ldts -lmpcdec -ldv -lxvidcore -lm -lpthread -ldl
-rdynamic  -lm libavcodec/libavcodec.a(parser.o): In function
`ff_ac3_parse_header': parser.c:(.text+0x6e2): undefined reference to
`ff_ac3_freqs' parser.c:(.text+0x6f9): undefined reference to
`ff_ac3_bitratetab' parser.c:(.text+0x723): undefined reference to
`ff_ac3_channels' parser.c:(.text+0x739): undefined reference to
`ff_ac3_frame_sizes' libavcodec/libavcodec.a(parser.o): In function `ac3_sync':
parser.c:(.text+0xf9f): undefined reference to `ff_ac3_freqs' parser.c:(.text
+0xfef): undefined reference to `ff_ac3_channels' parser.c:(.text+0x105d):
undefined reference to `ff_ac3_freqs' collect2: ld returned 1 exit status make:
*** [mplayer] Error 1

The problem seems to be introduced in r8725 of /libavcodec:
------------------------------------------------------------------------
r8725 | benoit | 2007-04-13 14:50:04 +0700 (Fri, 13 Apr 2007) | 8 lines
Changed paths:
   M /trunk/libavcodec/avcodec.h
   M /trunk/libavcodec/parser.c
   M /trunk/libavformat/avformat.h
   M /trunk/libavformat/avidec.c
   M /trunk/libavformat/utils.c


timestamps generation improvement when parsing avi
patch by Joakim \ elupus chez ecce dot se /
original thread:
date: 03/19/2007 01:47 AM
subject: [Ffmpeg-devel] [RFC] Improvement for the odd timestamp generation when
parser is in use.
------------------------------------------------------------------------

At least, I'm positive it wasn't r8739

-- 
ajaxas <ajaxas at gmail.com>



More information about the MPlayer-users mailing list