[MPlayer-users] CVS, make, undefined reference to `av_resample_init'

Carl Karsten carl at personnelware.com
Tue Nov 2 13:37:48 CET 2004


gcc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 
-march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer 
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include -I. -I/usr/X11R6/include/freetype2 
-I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/include/SDL 
-D_REENTRANT -I/usr/X11R6/include       -o mplayer mplayer.o mp_msg.o 
cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o 
vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o 
parser-cfg.o m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o 
libvo/libvo.a libao2/libao2.a libmenu/libmenu.a vidix/libvidix.a 
Gui/libgui.a libmpcodecs/libmpcodecs.a loader/libloader.a 
loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a 
libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a 
osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a 
-lmad -lvorbis -logg -ldv   -llzo -ldivxdecore -lmp3lame -lvorbis -logg 
-lxvidcore -lm  -lpng -lz -lz -ljpeg -lasound -ldl -lpthread 
-L/usr/X11R6/lib -lfreetype  -lcdda_interface -lcdda_paranoia -lnsl 
-lungif    -lfontconfig    libfaad2/libfaad2.a  mp3lib/libMP3.a 
liba52/liba52.a libmpeg2/libmpeg2.a -L/usr/lib -L/usr/X11R6/lib -lgtk 
-lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib 
-lglib -laa -lGL -lXxf86dga -lXv -lXvMC -lI810XvMC -lXxf86vm -lXinerama 
-L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -L/usr/lib -Wl,-rpath,/usr/lib 
-lSDL -lpthread -lggi   -lvgagl -lvga -lm   -L/usr/kde/3.2/lib -ldl 
-lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/usr/lib 
-lesd -laudiofile -lm -lasound     -llirc_client   -lpthread -ldl 
-rdynamic   -lm
libaf/libaf.a(af_lavcresample.o)(.text+0x1a6): In function `control':
: undefined reference to `av_resample_init'
libaf/libaf.a(af_lavcresample.o)(.text+0x1be): In function `control':
: undefined reference to `av_resample_close'
libaf/libaf.a(af_lavcresample.o)(.text+0x283): In function `uninit':
: undefined reference to `av_resample_close'
libaf/libaf.a(af_lavcresample.o)(.text+0x42e): In function `play':
: undefined reference to `av_resample'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

Carl K




More information about the MPlayer-users mailing list