[MPlayer-users] Cannot compile

Rich Felker dalias at aerifal.cx
Mon Jan 7 06:57:02 CET 2008


On Sun, Jan 06, 2008 at 09:40:25PM -0800, Alou Dialy wrote:
> I cannot compile on debian/sid anymore what is wrong.
> 
> > cc -o mplayer mplayer.o m_property.o mp_fifo.o
> mp_msg.o mixer.o parser-mpcmd.o command.o asxparser.o
> codec-cfg.o cpudetect.o edl.o find_sub.o get_path.o
> m_config.o m_option.o m_struct.o mpcommon.o
> parser-cfg.o playtree.o playtreeparser.o spudec.o
> sub_cc.o subopt-helper.o subreader.o vobsub.o
> unrar_exec.o libvo/libvo.a libao2/libao2.a
> input/libinput.a vidix/libvidix.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 osdep/libosdep.a -lXext -lX11
> -lpthread -lGL -ldl -Wl,-z,noexecstack    -L/usr/lib
> -lfribidi -lz -lpthread -ldl -rdynamic  -lm   
> libavformat/libavformat.a(aviobuf.o): In function
> `url_fdopen':
> aviobuf.c:(.text+0x4d7): undefined reference to
> `url_write'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1

This happens when you disable muxers in libavformat, iirc. You should
report your full configure options and try "make distclean" and
rerunning configure if you did not do so already.

Rich



More information about the MPlayer-users mailing list