[MPlayer-dev-eng] intel os x compile broken between revision 21241 and revision 21242
Chris Roccati
roccati at pobox.com
Mon Nov 27 14:50:37 CET 2006
On 27 Nov 2006, at 06:17 , Dave Chand wrote:
> But now the following two undefined symbols pop up at link time:
>
> /usr/bin/ld: Undefined symbols:
> _video_out_macosx
> _FT_Glyph_Stroke
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
>
> the above was compiled with ./configure --prefix=/sw --disable-win32
The _FT_Glyph_Stroke is missing because the configure script detects
a newer version of freetype, but the linker uses the older version.
*Not* having /usr/X11R6/bin in the path may help. The
"_video_out_macosx" is missing because the script that builds libvo.a
includes the source (vo_macosx.m) instead of the object file in the
library. There's currently an interaction between the Makefile in
libvo and the mpcommon.mak, you can fix it locally by adding, around
line 6 of mpcommon.mak
OBJS = $(SRCS:.c=.o)
OBJS := $(OBJS:.S=.o)
OBJS := $(OBJS:.cpp=.o)
===> OBJS := $(OBJS:.m=.o) <===
More information about the MPlayer-dev-eng
mailing list