Background:
Mplayer 1.0pre6a was compiled and installed. Working well. GUI enabled.
System is running Slackware-current which has been through several glibc upgrades.
Now:
Trying to compile MPlayer 1.0pre7 with gui enabled as well.
The configuration script can't detect X11 and complain that X11 is needed for gui.
The following is the message I extract from configure.log
Code:
============ Checking for X11 headers presence ============
Result is: yes (using /usr/X11/include)
##########################################
============ Checking for X11 libs presence ============
Result is: yes (using /usr/X11R6/lib)
##########################################
============ Checking for X11 ============
#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return 0; }
/usr/bin/gcc-3.4.3 -static /tmp/mplayer-conf-2703-22930.c -o /tmp/mplayer-conf-2997-22930.o -I/usr/X11/include -L/usr/X11R6/lib -lXext -lX11 -lnsl
/usr/X11R6/lib/libX11.a(x11trans.o)(.text+0x342): In function `_X11TransSocketOpen':
: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/X11R6/lib/libX11.a(x11trans.o)(.text+0xed1): In function `_X11TransSocketINETConnect':
: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/X11R6/lib/libX11.a(x11trans.o)(.text+0xe18): In function `_X11TransSocketINETConnect':
: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0x848): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc01): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc1e): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc3d): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc58): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xce4): more undefined references to `pthread_equal' follow
collect2: ld returned 1 exit status
ldd /tmp/mplayer-conf-2997-22930.o
ldd: /tmp/mplayer-conf-2997-22930.o: No such file or directory
Result is: no
##########################################
Oh, I do have X11 up and running.
Is this caused by glibc upgrades? By the way, I have also compiled gcc-4.0 and installed it with program prefix, so that shouldn't cause too much problem.
How can I solved this with gui enabled?