[BLFS Trac] #2019: MPlayer-1.0rc1 (updated but still issues?)

Randy McMurchy randy at linuxfromscratch.org
Sat Aug 11 09:45:45 PDT 2007


DJ Lucas wrote these words on 08/11/07 11:26 CST:

> I think it was OK last time I built it.  There was a paragraph about
> non-standard X Prefix some time ago...or at least I thought there was.

I looked at several previous versions, and didn't see anything. Perhaps
you were thinking about the DVD symlink stuff (that I did remove)?

So, I went and looked at the configure log and see this:

============ 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; }

cc -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -I/usr/include/ffmpeg -I/usr/X11R6/include   -o /tmp
/mplayer-conf-27485-23502.o /tmp/mplayer-conf-22736-23502.c -lXext -lX11 -lpthread
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-27485-23502.o
ldd: /tmp/mplayer-conf-27485-23502.o: No such file or directory


#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; }

cc -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -I/usr/include/ffmpeg -I/usr/X11R6/include   -o /tmp
/mplayer-conf-27485-23502.o /tmp/mplayer-conf-22736-23502.c -L/usr/X11R6/lib -lXext -lX11 -lpthread

ldd /tmp/mplayer-conf-27485-23502.o
        linux-gate.so.1 =>  (0xb7f32000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7f05000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7e1d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7e06000)
        libc.so.6 => /lib/libc.so.6 (0xb7cdd000)
        libXau.so.6 => /opt/X11R7.2/lib/libXau.so.6 (0xb7cda000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7cd7000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7cc0000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7cbc000)
        /lib/ld-linux.so.2 (0xb7f33000)
        libXdmcp.so.6 => /opt/X11R7.2/lib/libXdmcp.so.6 (0xb7cb7000)

Result is: yes
============================================================================

So it looks as though a non-standard installation could break. I have the
X11R6 symlink, so of course it worked.

Anyone with a suggestion for the book would be great.

-- 
Randy

rmlscsi: [bogomips 1003.26] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
11:37:00 up 9 days, 11:28, 1 user, load average: 0.80, 0.29, 0.14



More information about the blfs-dev mailing list