[MPlayer-users] Compilation problem ...

Guillaume POIRIER poirierg at gmail.com
Sun Mar 25 10:37:17 CEST 2007


Hi,

On 3/25/07, Mac _ <bierkut at gmail.com> wrote:
> cc -o mplayer mplayer.o m_property.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 libavutil/libavutil.a
> libswscale/libswscale.a libvo/libosd.a libavformat/libavformat.a
> libavcodec/libavcodec.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 -lvga
> -Wl,-rpath,/usr/lib -lSDL -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0
> -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo
> -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lglib-2.0
> -L/usr/local/share/cairo-1.2.6/lib -L/usr/lib -L/usr/X11R6/lib
> -Wl,-z,noexecstack  -L/usr/local/share/libtheora-1.0alpha7/lib/
> -lncurses -lsmbclient -lpng -lz -ljpeg -lungif -lasound -ldl -lpthread
> -lfreetype -lz -lfontconfig  -lz
> -I/usr/local/share/libtheora-1.0alpha7/include
> -L/usr/local/share/libtheora-1.0alpha7/lib -ltheora -logg   -lxvidcore
> -lm -lpthread -ldl -rdynamic  -lm
>
> libavformat/libavformat.a(crc.o)(.text+0x44): In function `crc_write_packet':
> /temp/mplayer/mplayer/libavformat/crc.c:42: undefined reference to
> `av_adler32_update'
> libavformat/libavformat.a(crc.o)(.text+0x113): In function
> `framecrc_write_packet':
> /temp/mplayer/mplayer/libavformat/crc.c:61: undefined reference to
> `av_adler32_update'
> libavformat/libavformat.a(dvenc.o)(.text+0x744): In function
> `dv_assemble_frame':
> /temp/mplayer/mplayer/libavformat/dvenc.c:271: undefined reference to
> `av_fifo_drain'

Looks like your version of libavformat misses some important
functions. Are you using latest SVN of both mplayer and ffmpeg?
It works here!


> libavcodec/libavcodec.a(mpc.o)(.text+0x1033): In function `mpc7_decode_frame':
> ../libavutil/random.h:45: undefined reference to
> `av_random_generate_untempered_numbers'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
>
> can anyone tell mi wtf ?

sure! WTF! ;-)

Guillaume



More information about the MPlayer-users mailing list