[MPlayer-users] problem in compilation with gcc4 (already patched)
JunJun Liu
ljjlp03 at gmail.com
Sat Apr 15 20:59:13 CEST 2006
Hi All,
I've problem in compiling MPlayer-1.0pre7try2 with gcc4 with the following
"undefined reference" messages:
=======================
/usr/lib/libSDL.a(XF86VMode.o): In function `SDL_XF86VidModeSwitchToMode':
: undefined reference to `_XSend'
/usr/lib/libSDL.a(XF86VMode.o): In function `SDL_XF86VidModeSwitchToMode':
: undefined reference to `_XFlush'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
=========================
My OS is SUSE10, X_32, XWindow is Xorg. I've applied the patch for gcc4.
And blow please see my compilation step:
============
patch -p1 < ../../mplayer-1.0_pre7-gcc4.patch
./configure --prefix=/usr/local/mplayer --enable-static
--with-codecsdir=../../codec/
make
============
Can anybody successfuly compiled Mplayer1.0_pre7 please help solve this
problem? Thanks in advance!
Best Regards!
Liu
More information about the MPlayer-users
mailing list