[MPlayer-users] latest SVN FreeBSD linking problem (mplayer/libavcodec)

Bohdan Horst nexus at hoth.amu.edu.pl
Fri Nov 10 17:02:59 CET 2006


FreeBSD 6.1-RELEASE-p5
gcc version 3.4.4 [FreeBSD] 20050518

latest SVN:

cc -o mplayer mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o
cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o
parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o
vobsub.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a
libao2/libao2.a input/libinput.a   libmpcodecs/libmpcodecs.a
libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a
libswscale/libswscale.a osdep/libosdep.a libavformat/libavformat.a
libavcodec/libavcodec.a  libavutil/libavutil.a
libpostproc/libpostproc.a -Wl,-z,noexecstack  -L/usr/local/lib
-lz -lncurses   loader/libloader.a loader/dshow/libDS_Filter.a
loader/dmo/libDMO_Filter.a    -lm    -lungif     -L/usr/local/lib
-ldvdnav -L/usr/local/lib -pthread   -lcdda_interface -lcdda_paranoia
-lxvidcore -lm  -ldts -lmad       -lspeex      -lpng -lz   -ljpeg
-lpthread  -rdynamic -liconv  -lmp3lame  -lx264 -lpthread
libfaad2/libfaad2.a  mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a
tremor/libvorbisidec.a libass/libass.a -L/usr/X11R6/lib -lfontconfig
-L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -laa
-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread  -lvga
-L/usr/local/lib -lcaca -lslang -lX11 -L/usr/X11R6/lib -lncurses
-lncurses     -lGL  -lXxf86dga -lXv  -lXxf86vm   -lXinerama
-L/usr/X11R6/lib -lXext -lX11  -lpthread  vidix/libvidix.a
-L/usr/local/lib -lartsc -D_THREAD_SAFE -pthread -L/usr/local/lib
-lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -liconv -L/usr/local/lib -lesd
-laudiofile -lm -pthread -L/usr/local/lib -ljack   -lopenal -laudio -lXt
-L/usr/X11R6/lib -lXext -lX11  -lpthread

libavcodec/libavcodec.a(imc.o)(.text+0x141): In function
`imc_decode_init':
: undefined reference to `log2'
libavcodec/libavcodec.a(imc.o)(.text+0x694): In function
`imc_decode_frame':
: undefined reference to `log2'
libavcodec/libavcodec.a(imc.o)(.text+0xbe0): In function
`imc_decode_frame':
: undefined reference to `log2'

regards

-- 
Bohdan 'Nexus' Horst



More information about the MPlayer-users mailing list