[MPlayer-users] Is there anyway I can compile mplayer with configuration option "--enable-gui" and "--enable-static"

叶远清 yeyuanqing at ict.ac.cn
Tue Sep 4 11:11:18 CEST 2007


I have tried to ./configure mplayer with option --enable-gui and --enable-static, but always failed
to, even I have install all the packages needed. I have done apt-get build-dep mplayer on my debian
PC.

I can't handle this, help..., thanks.
The following is the brief one:


============ Checking for X11 headers presence ============  Result is: yes (using /usr/include)
##########################################

 ============ 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=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer  -I/usr/include
-static  -o /tmp/mplayer-conf-23168-20593.o /tmp/mplayer-con f-2510-20593.c -lXext -lX11 -lpthread
 /usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/libX11.a(x11_trans.o): In function
`_X11TransSocketOpen':
 /usr/include/X11/Xtrans/Xtranssock.c:472: warning: Using 'getaddrinfo' in statically linked
applications requires at runtime the shared libraries from the g libc version used for linking
 /usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/libX11.a(x11_trans.o): In function
`UnixHostReallyLocal':
 /usr/include/X11/Xtrans/Xtranssock.c:1893: warning: Using 'gethostbyname' in statically linked
applications requires at runtime the shared libraries from th e glibc version used for linking
 /usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/libX11.a(x11_trans.o): In function
`_X11TransSocketINETConnect':
 /usr/include/X11/Xtrans/Xtranssock.c:1678: warning: Using 'getservbyname' in statically linked
applications requires at runtime the shared libraries from th e glibc version used for linking
 /usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/libX11.a(ConnDis.o): In function
`GetAuthorization':
 /build/buildd/libx11-1.1.1/obj-i486-linux-gnu/src/../../src/ConnDis.c:1253: undefined reference to
`XauDisposeAuth'
 /build/buildd/libx11-1.1.1/obj-i486-linux-gnu/src/../../src/ConnDis.c:1058: undefined reference to
`XauGetBestAuthByAddr'
 /build/buildd/libx11-1.1.1/obj-i486-linux-gnu/src/../../src/ConnDis.c:1197: undefined reference to
`XdmcpWrap'
 collect2: ld returned 1 exit status

 ldd /tmp/mplayer-conf-23168-20593.o
 ldd: /tmp/mplayer-conf-23168-20593.o: No such file or directory 


The output messages on console:

Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 3.4.6, ok
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... GenuineIntel (6:15:6)
Checking for CPU type ...  Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz
Checking for GCC & CPU optimization abilities ... pentium-m
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for mtrr support ... yes
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as 2.17.50) ... ok
Checking for .align is a power of two ... no
Checking for Linux kernel version ... 2.6.20-16-generic, ok
Checking for MPlayer binary name ... mplayer
Checking for awk ... mawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... using en (man pages:  en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for round ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for inet_pton() ... yes (using )
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for rpath ... no
Checking for iconv ... yes
Checking for sys/soundcard.h ... yes
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for termcap ... yes (using -lncurses)
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for strlcpy() ... no
Checking for strlcat() ... no
Checking for fseeko() ... yes
Checking for localtime_r() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Samba support (libsmbclient) ... no
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/include)
Checking for X11 ... no (check if the dev(el) packages are installed)
Checking for DPMS ... no
Checking for Xv ... no
Checking for XvMC ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... no
Checking for XF86keysym ... no
Checking for DGA ... no
Checking for OpenGL ... no
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no
Checking for DVB HEAD ... yes
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for PNM support ... yes
Checking for GIF support ... yes
Checking for broken giflib workaround ... disabled
Checking for VESA support ... no
Checking for SDL ... yes (using sdl-config)
Checking for NAS ... yes
Checking for DXR2 ... no
Checking for DXR3/H+ ... yes
Checking for IVTV TV-Out ... no
Checking for libfame ... no (no libfame dir)
Checking for OSS Audio ... yes
Checking for aRts ... yes
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for Polyp ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for DVD support (libdvdnav) ... no
Checking for DVD support (libmpdvdkit2) ... yes
Checking for DVD support (libdvdread) ... no (disabled by libmpdvdkit2)
Checking for cdparanoia ... yes
Checking for libcdio ... auto (using cdparanoia)
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... no
Checking for SSA/ASS support ... yes
Checking for fribidi with charsets ... yes
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... yes
Checking for mad support ... yes
Checking for Toolame ... no
Checking for Twolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... yes
Checking for OggTheora support ... yes
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libdts support ... yes
Checking for libmpeg2 support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... yes
Checking for FAAC (AAC encoder) support ... yes
Checking for FAAD2 (AAC) support ... yes (internal floating-point)
Checking for LADSPA plugin support ... yes
Checking for Win32 codec DLL support ... yes (using /usr/lib/codecs)
Checking for Win32 loader support ... yes
Checking for XAnim DLL ... no (no suitable directory found - see DOCS/HTML/en/codecs.html)
Checking for RealPlayer DLL ... yes (using /usr/lib/codecs)
Checking for LIVE555 Streaming Media libraries ... yes (using distribution version)
Checking for FFmpeg libavutil (static) ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformat (static) ... yes
Checking for FFmpeg libpostproc (static) ... yes
Checking for md5sum support ... yes
Checking for AMR narrowband ... no
Checking for AMR narrowband, fixed point ... no
Checking for AMR wideband ... no
Checking for libdv-0.9.5+ ... yes
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... yes
Checking for XviD two pass plugin ... yes
Checking for DivX4 compatibility in XviD ... no
Checking for x264 ... yes
Checking for nut ... no
Checking for libmp3lame (for mencoder) ... yes
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for Video 4 Linux TV interface ... yes
Checking for Video 4 Linux 2 TV interface ... yes
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... no
Checking for Video 4 Linux Radio interface ... no
Checking for Video 4 Linux 2 MPEG PVR interface ... yes
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for OSD menu ... no
Checking for QuickTime codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... yes

Error: X11 support required for GUI compilation.

Check "configure.log" if you do not understand why it failed.





More information about the MPlayer-users mailing list