[MPlayer-advusers] mplayer CVS doesn't compile with fontconfig support
Sebastian
sebastian_ml at gmx.net
Sun Feb 26 15:56:08 CET 2006
Hi all!
I'd like to use freetype in mplayer from now on, but it doesn't compile
with fontconfig support enabled.
These are the versions of freetype and fontconfig I got installed:
[ebuild R ] media-libs/freetype-2.1.10 -bindist -doc +zlib 0 kB
[ebuild R ] media-libs/fontconfig-2.2.3 0 kB
This is what I use to compile mplayer from CVS:
./configure --prefix=/usr \
--confdir=/usr/share/mplayer --mandir=/usr/share/man \
--datadir=/usr/share/mplayer --disable-runtime-cpudetection \
--enable-largefiles --enable-menu --disable-network --disable-ftp \
--with-x11incdir=/usr/X11R6/include --enable-lirc --disable-lircc \
--disable-vm --disable-xf86keysym --disable-tv --disable-tv-v4l2 \
--disable-tv-bsdbt848 --disable-edl --disable-tv-v4l \
--disable-network --disable-winsock2 --disable-smb --disable-live \
--disable-dvdread --disable-cdparanoia --enable-freetype \
--enable-fontconfig --disable-unrarlib --disable-enca \
--disable-inet6 --disable-ftp --disable-vstream --disable-gif \
--disable-png --disable-jpeg --disable-liblzo --disable-win32 \
--disable-tga --enable-xinerama --disable-dga --disable-gl \
--disable-fbdev --disable-pnm --disable-md5sum --disable-vesa \
--disable-sdl --disable-ossaudio --disable-esd --disable-mp3lib \
--disable-internal-matroska --disable-internal-faad --disable-gui \
--disable-vidix --disable-mencoder --disable-xvid \
--disable-libmpeg2 --disable-internal-tremor --disable-vorbis \
--disable-mad --disable-dvb --disable-dvbhead --disable-rtc
configure says:
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
This is what happens:
make[1]: Leaving directory `/data/sk/src/main/libmenu'
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O3
-march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse,387 -ffast-math
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.
-I/usr/include/freetype2 -I/usr/X11R6/include -I./libavutil
-I./libavcodec -o mplayer mplayer.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 mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a
libao2/libao2.a libmenu/libmenu.a libmpcodecs/libmpcodecs.a
libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a
postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit
libavcodec/libavcodec.a libavformat/libavformat.a
libavutil/libavutil.a libavcodec/libpostproc/libpostproc.a
-lz -lasound -ldl -lpthread -lfreetype -lz -lncurses
liba52/liba52.a -lXv -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl
-lpthread -lnsl -Wl,-z,noexecstack -llirc_client
-lpthread -ldl -lm
libvo/libvo.a(font_load_ft.o): In function `load_font_ft':
font_load_ft.c:(.text+0x2751): undefined reference to `FcInit'
font_load_ft.c:(.text+0x275f): undefined reference to `FcNameParse'
font_load_ft.c:(.text+0x2779): undefined reference to
`FcConfigSubstitute'
font_load_ft.c:(.text+0x2781): undefined reference to
`FcDefaultSubstitute'
font_load_ft.c:(.text+0x2799): undefined reference to `FcFontMatch'
font_load_ft.c:(.text+0x27bb): undefined reference to `FcPatternGetBool'
font_load_ft.c:(.text+0x27ce): undefined reference to `FcNameParse'
font_load_ft.c:(.text+0x27e8): undefined reference to
`FcConfigSubstitute'
font_load_ft.c:(.text+0x27f0): undefined reference to
`FcDefaultSubstitute'
font_load_ft.c:(.text+0x2808): undefined reference to `FcFontMatch'
font_load_ft.c:(.text+0x282a): undefined reference to
`FcPatternGetString'
collect2: ld gab 1 als Ende-Status zurück
make: *** [mplayer] Fehler 1
I checked /usr/include/fontconfig/fontconfig.h and the functions (FcInit
etc.) are in there.
Any idea what might be causing this?
Cheers
Sebastian
--
"When the going gets weird, the weird turn pro." (HST)
More information about the MPlayer-advusers
mailing list