[MPlayer-users] Mplayer does not build with freetype support

Markus Heinz su1690 at sx2.hrz.uni-dortmund.de
Fri Mar 21 15:19:23 CET 2003


Hello,

I am using gcc 3.2.2, binutils 2.13.2.1, freetype 2.1.3. When I try to
build Mplayer 0.90rc5 with 

    ./configure --prefix=/usr \
        --enable-linux-devfs \
        --with-win32libdir=/usr/share/mplayer/codecs \
        --with-reallibdir=/usr/share/mplayer/codecs \
        --enable-qtx-codecs \
        --enable-gui

I get the following error message:

gcc -O4 -march=pentium2 -mcpu=pentium2 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -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 -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o cfgparser.o my_profile.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 unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a vidix/libvidix.a Gui/libgui.a libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libpostproc.a postproc/libswscale.a linux/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a -lmad -lvorbis -logg -lpng -lz -lz -ljpeg -lfreet
 ype -lnsl -lungif -L/usr/X11R6/lib -lXext -lX11 -lnsl -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl -lmad -lnsl -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/lib -lesd -laudiofile -lm -lpthread -ldl -rdynamic -lm

libvo/libvo.a(font_load_ft.o): In function `read_font_desc_ft':

font_load_ft.o(.text+0x193b): undefined reference to `FT_Get_First_Char'

font_load_ft.o(.text+0x196f): undefined reference to `FT_Get_Next_Char'

collect2: ld returned 1 exit status

make: *** [mplayer] Error 1

When I run ./configure with --disable-freetype the error does not occur.

Regards,

Markus Heinz



More information about the MPlayer-users mailing list