[MPlayer-users] mplayer Link Failure on OS X Mountain Lion using (latest) clang and -O4 optimization level

Dave Chand dave.chand.mailinglist at gmail.com
Sat Sep 1 22:00:51 CEST 2012


Hello,
I am trying to compile mplayer from SVN, with -O4 level Link time
optimization, using clang, however I am getting the following error at link
time:

clang -o mplayer command.o m_property.o mixer.o mp_fifo.o
.
.
.
 -L/opt/X11/lib/  -liconv -lncurses -framework CoreFoundation -framework
VideoDecodeAcceleration -framework QuartzCore -lpng -lz -ljpeg -framework
IOKit -framework Carbon -L/opt/lib -lfreetype -lz -lbz2 -lfontconfig  -lz
-lbz2    -lm   -framework IOKit -framework Cocoa -lXext -lX11 -lXss -lXv
-lXinerama -lXxf86vm -framework Carbon -framework Cocoa -framework
QuartzCore -framework OpenGL -lGL -framework OpenAL -framework CoreAudio
-framework AudioUnit -framework AudioToolbox

ld: reference to symbol (which has not been assigned an address) _ff_pw_20
in _put_qpel16_mc10_mmx2 from /tmp/lto.o for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [mplayer] Error 1

-- 
-Dave C.


More information about the MPlayer-users mailing list