Opened 17 years ago

Closed 17 years ago

#800 closed defect (fixed)

MPlayer compilation fails (libavcodec/libavcodec.a(parser.o))

Reported by: ajaxas@… Owned by: diego@…
Priority: normal Component: build system
Version: HEAD Severity: major
Keywords: Cc: reimar, ajaxas@…
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

System: OpenSUSE 10.2
Kernel: 2.6.21-rc35(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 compilation goes normall but fails in the very end with these messages:

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

Regression testing shows the problem was introduced in r8725 of /libavcodec.

Attachments (1)

config.tar.bz2 (10.3 KB ) - added by ajaxas@… 17 years ago.
config.h and config.mak files

Download all attachments as: .zip

Change History (6)

by ajaxas@…, 17 years ago

Attachment: config.tar.bz2 added

config.h and config.mak files

comment:1 by ajaxas@…, 17 years ago

comment:2 by ajaxas@…, 17 years ago

Resolution: wontfix
Status: newclosed

Aah. Seems like it's the old "don't you use --disabme-mencoder" thing.
Whatever.

comment:3 by diego@…, 17 years ago

Resolution: wontfix
Status: closedreopened

No, the problem is real, I'm experiencing it myself.

comment:4 by ajaxas@…, 17 years ago

(In reply to comment #3)

No, the problem is real, I'm experiencing it myself.

Funny thing: I am not experiencing it anymore. Even with --disable-mencoder option. What was that...

Diego, while you are at it, could you please look into this libdca/libdts thing:

http://lists.mplayerhq.hu/pipermail/mplayer-users/2007-April/066635.html

No one reacted yet.

comment:5 by diego@…, 17 years ago

Resolution: fixed
Status: reopenedclosed

This has been fixed in FFmpeg.

Note: See TracTickets for help on using tickets.