[MPlayer-users] bugreport: problems with xvid+libavcodec

Jonas Jermann jjermann at gmx.net
Sun Mar 10 15:25:02 CET 2002


Hi

I tried to install XViD as described. I first had to realise
that it needs the header files of divx4 (maybe this could be 
added to the docs). As I tried to compile mplayer the following 
error occured:

/usr/local/lib/libcore.a(quant_matrix.o)(.data+0x20): multiple definition of `default_intra_matrix'
libavcodec/libavcodec.a(mpeg12.o)(.data+0x0):/usr/src/decoder/mplayer.dev/libavcodec/mpeg12.c: first defined here
/usr/bin/ld: Warning: size of symbol `default_intra_matrix' changed from 128 to 64 in /usr/local/lib/libcore.a(quant_matrix.o)
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

It compiles fine without libavcodec support.

I use a recent Debian-sid, linux-2.4.18, libc-2.2.5, 2.95.4, 
ld/as 2.11.93.0.2 20020207, Pentium III 600Mhz, Matrox G400 
DH 32MB. (XFree86 Version 4.1.0.1 with DRI, SBLive!)
I use the latest mplayer-cvs.

It's probably again a basic mistake I made...


Thanks in advance for any help

Jonas
-------------- next part --------------
============ Checking for gcc version ============
Result is: 2.95.4, ok
##########################################

============ Checking for CPU vendor ============
Result is: GenuineIntel (6:7:3)
##########################################

============ Checking for CPU type ============
Result is:  Pentium III (Katmai)
##########################################

============ Checking for GCC & CPU optimization abilities ============

int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -march=i686 -mcpu=i686

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: i686
##########################################

============ Checking for binutils ============
Result is: yes
##########################################

============ Checking for kernel support of mmx ============

int main(void){__asm__ __volatile__ ("emms":::"memory");return(0);}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for kernel support of mmx2 ============

int main(void){__asm__ __volatile__ ("sfence":::"memory");return(0);}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for kernel support of sse ============

int main(void){__asm__ __volatile__ ("xorps %%xmm0, %%xmm0":::"memory");return(0);}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for mtrr support ============
Result is: yes
##########################################

============ Checking for assembler (as 2.11.93.0.2) ============
Result is: ok
##########################################

============ Checking for Linux kernel version ============
Result is: 2.4.18, ok
##########################################

============ Checking for awk ============

Result is: mawk
##########################################

============ Checking for extra headers ============
Result is: none
##########################################

============ Checking for extra libs ============
Result is: none
##########################################

============ Checking for kstat ============

#include <kstat.h>
int main(void) { (void) kstat_open(); (void) kstat_close(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lkstat
/tmp/mplayer-conf-22649-27818.c:1: kstat.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
ldd: warning: you do not have execution permission for `/tmp/mplayer-conf-7866-27818.o'
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for posix4 ============

#include <time.h>
int main(void) { (void) nanosleep(0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lposix4
/usr/bin/ld: cannot find -lposix4
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-7866-27818.o
ldd: /tmp/mplayer-conf-7866-27818.o: No such file or directory

Result is: no
##########################################

============ Checking for nanosleep ============

#include <time.h>
int main(void) { (void) nanosleep(0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for socklib ============

#include <netdb.h>
int main(void) { (void) gethostbyname(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lsocket
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-7866-27818.o
ldd: /tmp/mplayer-conf-7866-27818.o: No such file or directory


#include <netdb.h>
int main(void) { (void) gethostbyname(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lnsl

ldd /tmp/mplayer-conf-7866-27818.o
	libnsl.so.1 => /lib/libnsl.so.1 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40041000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


#include <netdb.h>
int main(void) { (void) gethostbyname(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lsocket -lnsl
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-7866-27818.o
ldd: /tmp/mplayer-conf-7866-27818.o: No such file or directory

Result is: yes (using -lnsl)
##########################################

============ Checking for inet_pton() ============

#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
int main(void) { (void) inet_pton(0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lnsl

ldd /tmp/mplayer-conf-7866-27818.o
	libnsl.so.1 => /lib/libnsl.so.1 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40041000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using -lnsl)
##########################################

============ Checking for inttypes.h (required) ============

#include <inttypes.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for malloc.h ============

#include <malloc.h>
int main(void) { (void) malloc(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for memalign() ============

#include <malloc.h>
int main (void) { (void) memalign(64, sizeof(char)); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for alloca.h ============

#include <alloca.h>
int main(void) { (void) alloca(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


#include <alloca.h>
int main(void) { (void) alloca(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for mman.h ============

#include <sys/types.h>
#include <sys/mman.h>
int main(void) { (void) mmap(0, 0, 0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for dynamic loader ============

#include <dlfcn.h>
int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 
/tmp/ccg6VPNp.o: In function `main':
/tmp/ccg6VPNp.o(.text+0xe): undefined reference to `dlopen'
/tmp/ccg6VPNp.o(.text+0x1b): undefined reference to `dlclose'
/tmp/ccg6VPNp.o(.text+0x2a): undefined reference to `dlsym'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-7866-27818.o
ldd: /tmp/mplayer-conf-7866-27818.o: No such file or directory


#include <dlfcn.h>
int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -ldl

ldd /tmp/mplayer-conf-7866-27818.o
	libdl.so.2 => /lib/libdl.so.2 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40030000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for pthread ============

#include <pthread.h>
void* func(void *arg) { return arg; }
int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 
/tmp/ccoiHA4K.o: In function `main':
/tmp/ccoiHA4K.o(.text+0x28): undefined reference to `pthread_create'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-7866-27818.o
ldd: /tmp/mplayer-conf-7866-27818.o: No such file or directory


#include <pthread.h>
void* func(void *arg) { return arg; }
int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lpthread

ldd /tmp/mplayer-conf-7866-27818.o
	libpthread.so.0 => /lib/libpthread.so.0 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40042000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using -lpthread)
##########################################

============ Checking for sys/soundcard.h ============

#include <sys/soundcard.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for termcap ============

int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -ltermcap

ldd /tmp/mplayer-conf-7866-27818.o
	libncurses.so.5 => /lib/libncurses.so.5 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x4006a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for termios ============

#include <sys/termios.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using sys/termios.h)
##########################################

============ Checking for shm ============

#include <sys/types.h>
#include <sys/shm.h>
int main(void) { shmget(0, 0, 0); shmat(0, 0, 0); shmctl(0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for linux devfs ============
Result is: no
##########################################

============ Checking for 3dfx ============
Result is: no
##########################################

============ Checking for tdfxfb ============
Result is: no
##########################################

============ Checking for DirectFB ============

#include <directfb.h>
int main(void) { IDirectFB *foo; return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -ldirectfb
/tmp/mplayer-conf-22649-27818.c:1: directfb.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for language ============
Result is: using en
##########################################

============ Checking for vsscanf() ============

#include <stdarg.h>
int main(void) { vsscanf(); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

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

============ Checking for X11 libs ============
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; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libc.so.6 => /lib/libc.so.6 (0x4012a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for DPMS ============

#include <X11/Xmd.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/extensions/dpms.h>
int main(void) {
  (void) DPMSQueryExtension(0, 0, 0);
}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXdpms
/usr/bin/ld: cannot find -lXdpms
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-7866-27818.o
ldd: /tmp/mplayer-conf-7866-27818.o: No such file or directory


#include <X11/Xlib.h>
#include <X11/extensions/dpms.h>
int main(void) {
  (void) DPMSQueryExtension(0, 0, 0);
}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libc.so.6 => /lib/libc.so.6 (0x4012a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using Xdpms 4)
##########################################

============ Checking for Xv ============

#include <X11/Xlib.h>
#include <X11/extensions/Xvlib.h>
int main(void) { (void) XvGetPortAttribute(0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXv

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libXv.so => /usr/X11R6/lib/libXv.so (0x4012a000)
	libc.so.6 => /lib/libc.so.6 (0x4012e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for Xinerama ============

#include <X11/Xlib.h>
#include <X11/extensions/Xinerama.h>
int main(void) { (void) XineramaIsActive(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXinerama

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libc.so.6 => /lib/libc.so.6 (0x4012a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for Xxf86vm ============

#include <X11/Xlib.h>
#include <X11/extensions/xf86vmode.h>
int main(void) { (void) XF86VidModeQueryExtension(0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXxf86vm

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libc.so.6 => /lib/libc.so.6 (0x4012a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for DGA ============

#include <X11/Xlib.h>
#include <X11/extensions/xf86dga.h>
int main (void) { (void) XF86DGASetViewPort(0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXxf86dga -lXxf86vm

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libXxf86dga.so => /usr/X11R6/lib/libXxf86dga.so (0x4012a000)
	libc.so.6 => /lib/libc.so.6 (0x4012f000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


#include <X11/Xlib.h>
#include <X11/extensions/xf86dga.h>
int main (void) { (void) XDGASetViewport(0, 0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXxf86dga

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libXxf86dga.so => /usr/X11R6/lib/libXxf86dga.so (0x4012a000)
	libc.so.6 => /lib/libc.so.6 (0x4012f000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using DGA 2.0)
##########################################

============ Checking for OpenGL ============

#include <GL/gl.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lm

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x4012a000)
	libm.so.6 => /lib/libm.so.6 (0x40190000)
	libc.so.6 => /lib/libc.so.6 (0x401b2000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x402d4000)
	libdl.so.2 => /lib/libdl.so.2 (0x402eb000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for /dev/mga_vid ============
Result is: yes
##########################################

============ Checking for syncfb ============
Result is: yes
##########################################

============ Checking for xmga ============
Result is: yes
##########################################

============ Checking for GGI ============

#include <ggi/ggi.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lggi

ldd /tmp/mplayer-conf-7866-27818.o
	libggi.so.2 => /usr/lib/libggi.so.2 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40037000)
	libgii.so.0 => /usr/lib/libgii.so.0 (0x40159000)
	libgg.so.0 => /usr/lib/libgg.so.0 (0x40160000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
	libdl.so.2 => /lib/libdl.so.2 (0x40166000)

Result is: yes
##########################################

============ Checking for AA ============

#include <aalib.h>
int main(void) { (void) aa_init(0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -laa

ldd /tmp/mplayer-conf-7866-27818.o
	libaa.so.1 => /usr/lib/libaa.so.1 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40046000)
	libslang.so.1 => /lib/libslang.so.1 (0x40168000)
	libm.so.6 => /lib/libm.so.6 (0x401c9000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401eb000)
	libgpm.so.1 => /usr/lib/libgpm.so.1 (0x402c6000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
	libdl.so.2 => /lib/libdl.so.2 (0x402cc000)
	libncurses.so.5 => /lib/libncurses.so.5 (0x402d1000)

Result is: yes
##########################################

============ Checking for SVGAlib ============

#include <vga.h>
#include <vgagl.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lvgagl -lvga

ldd /tmp/mplayer-conf-7866-27818.o
	libvgagl.so.1 => /usr/lib/libvgagl.so.1 (0x4002c000)
	libvga.so.1 => /usr/lib/libvga.so.1 (0x4003b000)
	libc.so.6 => /lib/libc.so.6 (0x40099000)
	libm.so.6 => /lib/libm.so.6 (0x401bb000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for FBDev ============
Result is: yes
##########################################

============ Checking for DVB ============
Result is: no
##########################################

============ Checking for PNG support ============

#include <png.h>
#include <string.h>
int main(void) {
  printf("png.h : %s\n", PNG_LIBPNG_VER_STRING);
  printf("libpng: %s\n", png_get_libpng_ver(NULL));
  return (strcmp(PNG_LIBPNG_VER_STRING, png_get_libpng_ver(NULL)));
}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lpng -lz -lm

ldd /tmp/mplayer-conf-7866-27818.o
	libpng.so.2 => /usr/lib/libpng.so.2 (0x4002c000)
	libz.so.1 => /usr/lib/libz.so.1 (0x40058000)
	libm.so.6 => /lib/libm.so.6 (0x40067000)
	libc.so.6 => /lib/libc.so.6 (0x40089000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

png.h : 1.0.12
libpng: 1.0.12
Result is: yes
##########################################

============ Checking for VESA support ============
Result is: yes
##########################################

============ Checking for SDL ============

#include <SDL.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -I/usr/include/SDL -D_REENTRANT -L/usr/lib -lSDL -lpthread -L/usr/X11R6/lib -lXxf86dga -lXxf86vm -lXv

ldd /tmp/mplayer-conf-7866-27818.o
	libSDL-1.2.so.0 => /usr/local/lib/libSDL-1.2.so.0 (0x4002c000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x40097000)
	libXxf86dga.so => /usr/X11R6/lib/libXxf86dga.so (0x400ad000)
	libXv.so => /usr/X11R6/lib/libXv.so (0x400b2000)
	libc.so.6 => /lib/libc.so.6 (0x400b6000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401d8000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x402b3000)
	libm.so.6 => /lib/libm.so.6 (0x402c2000)
	libesd.so.0 => /usr/lib/libesd.so.0 (0x402e4000)
	libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x402eb000)
	libdl.so.2 => /lib/libdl.so.2 (0x40309000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using sdl-config)
##########################################

============ Checking for NAS ============

#include <audio/audiolib.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -laudio -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXt -lm
/tmp/mplayer-conf-22649-27818.c:1: audio/audiolib.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for DXR3/H+ ============

#include <linux/em8300.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 
/tmp/mplayer-conf-22649-27818.c:1: linux/em8300.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for libmp1e ============
Result is: no
##########################################

============ Checking for OSS Audio ============

#include <sys/soundcard.h>
int main(void) { int arg = SNDCTL_DSP_SETFRAGMENT; return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for ALSA audio ============

#include <sys/asoundlib.h>
int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==5)); }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lasound -ldl -lpthread
/tmp/mplayer-conf-22649-27818.c:1: sys/asoundlib.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'


#include <sys/asoundlib.h>
int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lasound -ldl -lpthread
/tmp/mplayer-conf-22649-27818.c:1: sys/asoundlib.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for Sun audio ============

#include <sys/types.h>
#include <sys/audioio.h>
int main(void) { audio_info_t info; AUDIO_INITINFO(&info); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 
/tmp/mplayer-conf-22649-27818.c:2: sys/audioio.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for Sun mediaLib ============

#include <mlib.h>
int main(void) { mlib_VideoColorYUV2ABGR420(0,0,0,0,0,0,0,0,0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -I/opt/SUNWmlib/include -L/opt/SUNWmlib/lib -lmlib
/tmp/mplayer-conf-22649-27818.c:1: mlib.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for SGI Audio ============

#include <dmedia/audio.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 
/tmp/mplayer-conf-22649-27818.c:1: dmedia/audio.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for VCD support ============
Result is: ok
##########################################

============ Checking for DVD support (libcss - old style) ============
Result is: yes
##########################################

============ Checking for DVD support (libdvdread - new style) ============

#include <dvdread/dvd_reader.h>
#include <dvdread/ifo_types.h>
#include <dvdread/ifo_read.h>
#include <dvdread/nav_read.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -ldvdread -ldl

ldd /tmp/mplayer-conf-7866-27818.o
	libdvdread.so.2 => /usr/lib/libdvdread.so.2 (0x4002c000)
	libdl.so.2 => /lib/libdl.so.2 (0x40041000)
	libc.so.6 => /lib/libc.so.6 (0x40045000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for zlib ============

#include <zlib.h>
int main(void) { (void) inflate(0, Z_NO_FLUSH); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lz

ldd /tmp/mplayer-conf-7866-27818.o
	libz.so.1 => /usr/lib/libz.so.1 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x4003b000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for RTC ============

#include <sys/ioctl.h>
#include <linux/rtc.h>
int main(void) { return RTC_IRQP_READ; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for mad support ============

#include <mad.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lmad

ldd /tmp/mplayer-conf-7866-27818.o
	libmad.so.0 => /usr/lib/libmad.so.0 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40043000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for OggVorbis support ============

#include <vorbis/codec.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lvorbis -logg -lm

ldd /tmp/mplayer-conf-7866-27818.o
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x4002c000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0x4004b000)
	libm.so.6 => /lib/libm.so.6 (0x4004f000)
	libc.so.6 => /lib/libc.so.6 (0x40071000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for Win32 DLL support ============
Result is: yes (using /usr/lib/win32)
##########################################

============ Checking for DirectShow ============
Result is: yes
##########################################

============ Checking for XAnim DLL ============
Result is: yes (using /usr/lib/xanim)
##########################################

============ Checking for iconv ============

#include <stdio.h>
#include <unistd.h>
#include <iconv.h>
#define INBUFSIZE 1024
#define OUTBUFSIZE 4096

char inbuffer[INBUFSIZE];
char outbuffer[OUTBUFSIZE];

int main(void) {
  ssize_t numread;
  iconv_t icdsc;
  char *tocode="UTF-8";
  char *fromcode="cp1250";
  if ((icdsc = iconv_open (tocode, fromcode)) != (iconv_t)(-1)) {
    while ((numread = read (0, inbuffer, INBUFSIZE))) {
      char *iptr=inbuffer;
      char *optr=outbuffer;
      size_t inleft=numread;
      size_t outleft=OUTBUFSIZE;
      if (iconv(icdsc, (const char **)&iptr, &inleft, &optr, &outleft)
          != (size_t)(-1)) {
        write (1, outbuffer, OUTBUFSIZE - outleft);
      }
    }
    if (iconv_close(icdsc) == -1)
      ;
  }
}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lm
/tmp/mplayer-conf-22649-27818.c: In function `main':
/tmp/mplayer-conf-22649-27818.c:21: warning: passing arg 2 of `iconv' from incompatible pointer type

ldd /tmp/mplayer-conf-7866-27818.o
	libm.so.6 => /lib/libm.so.6 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x4004e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for FFmpeg libavcodec (static) ============
Result is: yes
##########################################

============ Checking for zr ============
Result is: no
##########################################

============ Checking for XviD/DivX4linux/DivX5linux/OpenDivX decore ============

#include <decore.h>
int main(void) { (void) decore(0, 0, 0, 0);  return DEC_OPT_FRAME_311; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lm /usr/local/lib/libcore.a

ldd /tmp/mplayer-conf-7866-27818.o
	libm.so.6 => /lib/libm.so.6 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x4004e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: XviD (with /usr/local/lib/libcore.a)
##########################################

============ Checking for libmp3lame (for mencoder) ============

#include <lame/lame.h>
int main(void) { (void) lame_init(); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lmp3lame -lvorbis -logg -lm

ldd /tmp/mplayer-conf-7866-27818.o
	libmp3lame.so.0 => /usr/local/lib/libmp3lame.so.0 (0x4002c000)
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x400d4000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0x400f3000)
	libm.so.6 => /lib/libm.so.6 (0x400f7000)
	libc.so.6 => /lib/libc.so.6 (0x40119000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for XviD/DivX4linux encore (for mencoder) ============

#include <encore2.h>
int main(void) { (void) encore(0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lm /usr/local/lib/libcore.a

ldd /tmp/mplayer-conf-7866-27818.o
	libm.so.6 => /lib/libm.so.6 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x4004e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: XviD (with /usr/local/lib/libcore.a)
##########################################

============ Checking for mencoder ============
Result is: yes
##########################################

============ Checking for fastmemcpy ============
Result is: yes
##########################################

============ Checking for TV interface ============
Result is: yes
##########################################

============ Checking for Video 4 Linux TV interface ============

#include <stdlib.h>
#include <linux/videodev.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for select ============
Result is: yes
##########################################

============ Checking for streaming ============
Result is: yes
##########################################

============ Checking for GUI ============
============ Checking for XShape extension ============

#include <X11/Xlib.h>
#include <X11/Xproto.h>
#include <X11/Xutil.h>
#include <X11/extensions/shape.h>
#include <stdlib.h>
int main(void) {
  char *name = ":0.0";
  Display *wsDisplay;
  int exitvar = 0;
  int eventbase, errorbase;
  if (getenv("DISPLAY"))
    name=getenv("DISPLAY");
  wsDisplay=XOpenDisplay(name);
  if (!XShapeQueryExtension(wsDisplay,&eventbase,&errorbase))
    exitvar=1;
  XCloseDisplay(wsDisplay);
  return exitvar;
}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libc.so.6 => /lib/libc.so.6 (0x4012a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for gtk version ============
Result is: 1.2.10 (using gtk-config)
##########################################

============ Checking for glib version ============
Result is: 1.2.10 (using glib-config)
##########################################

============ Checking for lirc ============
Result is: no
##########################################

-------------- next part --------------
# -------- Generated by configure -----------

LANG = C
TARGET_OS = Linux
prefix = /usr/local
DATADIR = /usr/local/share/mplayer
CONFDIR = /usr/local/share/mplayer
AR = ar
CC = gcc
AWK = mawk
# OPTFLAGS = -O4   -march=i686 -mcpu=i686 -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS = -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
EXTRA_INC =  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
WIN32_PATH = -DWIN32_PATH=\"/usr/lib/win32\"

STREAMING = yes
STREAMING_LIB = -lnsl
VIDIX = yes

OPENDIVX = no

VO2 = no

PNG = yes

EXTRA_LIB = 
Z_LIB =   -lz
HAVE_MLIB = no
STATIC_LIB = 

X11_INC = 
X11DIR = -L/usr/X11R6/lib -lX11 -lXext -lnsl

# video output
X_LIB = -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -lmad -lnsl
GGI_LIB = -lggi
MLIB_LIB =  
MLIB_INC = 
PNG_LIB = -lpng -lz
SDL_LIB = -L/usr/lib -lSDL -lpthread -L/usr/X11R6/lib -lXxf86dga -lXxf86vm -lXv
SVGA_LIB = -lvgagl -lvga
AA_LIB = -laa

# audio output
ALSA_LIB = 
NAS_LIB = 
MAD_LIB = -lmad
VORBIS_LIB = -lvorbis -logg
SGIAUDIO_LIB = 

# input
TERMCAP_LIB = -ltermcap
LIRC_LIB = 
CSS_USE = yes
CSS_LIB = -ldvdread
SDL_INC = -I/usr/include/SDL -D_REENTRANT
W32_DEP = loader/libloader.a
W32_LIB = -Lloader -lloader
DS_DEP = loader/dshow/libDS_Filter.a
DS_LIB = -Lloader/dshow -lDS_Filter
AV_DEP = libavcodec/libavcodec.a
AV_LIB = -Llibavcodec -lavcodec
MP1E_DEP = 
MP1E_LIB = 
ARCH_LIB =   -lpthread -ldl -rdynamic 
DIVX4LINUX = no
XVID = yes
DECORE_LIB = /usr/local/lib/libcore.a
MENCODER = yes
ENCORE_LIB =  -lm /usr/local/lib/libcore.a -lmp3lame -lvorbis -logg
DIRECTFB_LIB = 
NEW_INPUT_LIB = -Linput -linput

# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_CYGWIN = no
TARGET_CPU=686
TARGET_MMX = yes
TARGET_MMX2 = yes
TARGET_3DNOW = no
TARGET_3DNOWEX = no
TARGET_SSE = yes

BINUTILS = yes

# --- GUI stuff ---
GTKLIB =  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
GLIBLIB =   -L/usr/lib -lglib
GTK_LIBS =   $(GTKLIB) $(GLIBLIB)
GUI = yes
DEBUG = -DDEBUG

# --- HAZARDOUS STUFF

ENABLE_XP=no

-------------- next part --------------
============ Checking for gcc version ============
Result is: 2.95.4, ok
##########################################

============ Checking for CPU vendor ============
Result is: GenuineIntel (6:7:3)
##########################################

============ Checking for CPU type ============
Result is:  Pentium III (Katmai)
##########################################

============ Checking for GCC & CPU optimization abilities ============

int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -march=i686 -mcpu=i686

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: i686
##########################################

============ Checking for binutils ============
Result is: yes
##########################################

============ Checking for kernel support of mmx ============

int main(void){__asm__ __volatile__ ("emms":::"memory");return(0);}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for kernel support of mmx2 ============

int main(void){__asm__ __volatile__ ("sfence":::"memory");return(0);}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for kernel support of sse ============

int main(void){__asm__ __volatile__ ("xorps %%xmm0, %%xmm0":::"memory");return(0);}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for mtrr support ============
Result is: yes
##########################################

============ Checking for assembler (as 2.11.93.0.2) ============
Result is: ok
##########################################

============ Checking for Linux kernel version ============
Result is: 2.4.18, ok
##########################################

============ Checking for awk ============

Result is: mawk
##########################################

============ Checking for extra headers ============
Result is: none
##########################################

============ Checking for extra libs ============
Result is: none
##########################################

============ Checking for kstat ============

#include <kstat.h>
int main(void) { (void) kstat_open(); (void) kstat_close(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lkstat
/tmp/mplayer-conf-22649-27818.c:1: kstat.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
ldd: warning: you do not have execution permission for `/tmp/mplayer-conf-7866-27818.o'
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for posix4 ============

#include <time.h>
int main(void) { (void) nanosleep(0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lposix4
/usr/bin/ld: cannot find -lposix4
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-7866-27818.o
ldd: /tmp/mplayer-conf-7866-27818.o: No such file or directory

Result is: no
##########################################

============ Checking for nanosleep ============

#include <time.h>
int main(void) { (void) nanosleep(0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for socklib ============

#include <netdb.h>
int main(void) { (void) gethostbyname(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lsocket
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-7866-27818.o
ldd: /tmp/mplayer-conf-7866-27818.o: No such file or directory


#include <netdb.h>
int main(void) { (void) gethostbyname(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lnsl

ldd /tmp/mplayer-conf-7866-27818.o
	libnsl.so.1 => /lib/libnsl.so.1 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40041000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


#include <netdb.h>
int main(void) { (void) gethostbyname(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lsocket -lnsl
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-7866-27818.o
ldd: /tmp/mplayer-conf-7866-27818.o: No such file or directory

Result is: yes (using -lnsl)
##########################################

============ Checking for inet_pton() ============

#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
int main(void) { (void) inet_pton(0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lnsl

ldd /tmp/mplayer-conf-7866-27818.o
	libnsl.so.1 => /lib/libnsl.so.1 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40041000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using -lnsl)
##########################################

============ Checking for inttypes.h (required) ============

#include <inttypes.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for malloc.h ============

#include <malloc.h>
int main(void) { (void) malloc(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for memalign() ============

#include <malloc.h>
int main (void) { (void) memalign(64, sizeof(char)); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for alloca.h ============

#include <alloca.h>
int main(void) { (void) alloca(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


#include <alloca.h>
int main(void) { (void) alloca(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for mman.h ============

#include <sys/types.h>
#include <sys/mman.h>
int main(void) { (void) mmap(0, 0, 0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for dynamic loader ============

#include <dlfcn.h>
int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 
/tmp/ccg6VPNp.o: In function `main':
/tmp/ccg6VPNp.o(.text+0xe): undefined reference to `dlopen'
/tmp/ccg6VPNp.o(.text+0x1b): undefined reference to `dlclose'
/tmp/ccg6VPNp.o(.text+0x2a): undefined reference to `dlsym'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-7866-27818.o
ldd: /tmp/mplayer-conf-7866-27818.o: No such file or directory


#include <dlfcn.h>
int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -ldl

ldd /tmp/mplayer-conf-7866-27818.o
	libdl.so.2 => /lib/libdl.so.2 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40030000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for pthread ============

#include <pthread.h>
void* func(void *arg) { return arg; }
int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 
/tmp/ccoiHA4K.o: In function `main':
/tmp/ccoiHA4K.o(.text+0x28): undefined reference to `pthread_create'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-7866-27818.o
ldd: /tmp/mplayer-conf-7866-27818.o: No such file or directory


#include <pthread.h>
void* func(void *arg) { return arg; }
int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lpthread

ldd /tmp/mplayer-conf-7866-27818.o
	libpthread.so.0 => /lib/libpthread.so.0 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40042000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using -lpthread)
##########################################

============ Checking for sys/soundcard.h ============

#include <sys/soundcard.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for termcap ============

int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -ltermcap

ldd /tmp/mplayer-conf-7866-27818.o
	libncurses.so.5 => /lib/libncurses.so.5 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x4006a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for termios ============

#include <sys/termios.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using sys/termios.h)
##########################################

============ Checking for shm ============

#include <sys/types.h>
#include <sys/shm.h>
int main(void) { shmget(0, 0, 0); shmat(0, 0, 0); shmctl(0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for linux devfs ============
Result is: no
##########################################

============ Checking for 3dfx ============
Result is: no
##########################################

============ Checking for tdfxfb ============
Result is: no
##########################################

============ Checking for DirectFB ============

#include <directfb.h>
int main(void) { IDirectFB *foo; return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -ldirectfb
/tmp/mplayer-conf-22649-27818.c:1: directfb.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for language ============
Result is: using en
##########################################

============ Checking for vsscanf() ============

#include <stdarg.h>
int main(void) { vsscanf(); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

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

============ Checking for X11 libs ============
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; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libc.so.6 => /lib/libc.so.6 (0x4012a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for DPMS ============

#include <X11/Xmd.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/extensions/dpms.h>
int main(void) {
  (void) DPMSQueryExtension(0, 0, 0);
}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXdpms
/usr/bin/ld: cannot find -lXdpms
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-7866-27818.o
ldd: /tmp/mplayer-conf-7866-27818.o: No such file or directory


#include <X11/Xlib.h>
#include <X11/extensions/dpms.h>
int main(void) {
  (void) DPMSQueryExtension(0, 0, 0);
}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libc.so.6 => /lib/libc.so.6 (0x4012a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using Xdpms 4)
##########################################

============ Checking for Xv ============

#include <X11/Xlib.h>
#include <X11/extensions/Xvlib.h>
int main(void) { (void) XvGetPortAttribute(0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXv

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libXv.so => /usr/X11R6/lib/libXv.so (0x4012a000)
	libc.so.6 => /lib/libc.so.6 (0x4012e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for Xinerama ============

#include <X11/Xlib.h>
#include <X11/extensions/Xinerama.h>
int main(void) { (void) XineramaIsActive(0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXinerama

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libc.so.6 => /lib/libc.so.6 (0x4012a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for Xxf86vm ============

#include <X11/Xlib.h>
#include <X11/extensions/xf86vmode.h>
int main(void) { (void) XF86VidModeQueryExtension(0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXxf86vm

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libc.so.6 => /lib/libc.so.6 (0x4012a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for DGA ============

#include <X11/Xlib.h>
#include <X11/extensions/xf86dga.h>
int main (void) { (void) XF86DGASetViewPort(0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXxf86dga -lXxf86vm

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libXxf86dga.so => /usr/X11R6/lib/libXxf86dga.so (0x4012a000)
	libc.so.6 => /lib/libc.so.6 (0x4012f000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


#include <X11/Xlib.h>
#include <X11/extensions/xf86dga.h>
int main (void) { (void) XDGASetViewport(0, 0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXxf86dga

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libXxf86dga.so => /usr/X11R6/lib/libXxf86dga.so (0x4012a000)
	libc.so.6 => /lib/libc.so.6 (0x4012f000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using DGA 2.0)
##########################################

============ Checking for OpenGL ============

#include <GL/gl.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lm

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x4012a000)
	libm.so.6 => /lib/libm.so.6 (0x40190000)
	libc.so.6 => /lib/libc.so.6 (0x401b2000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x402d4000)
	libdl.so.2 => /lib/libdl.so.2 (0x402eb000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for /dev/mga_vid ============
Result is: yes
##########################################

============ Checking for syncfb ============
Result is: yes
##########################################

============ Checking for xmga ============
Result is: yes
##########################################

============ Checking for GGI ============

#include <ggi/ggi.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lggi

ldd /tmp/mplayer-conf-7866-27818.o
	libggi.so.2 => /usr/lib/libggi.so.2 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40037000)
	libgii.so.0 => /usr/lib/libgii.so.0 (0x40159000)
	libgg.so.0 => /usr/lib/libgg.so.0 (0x40160000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
	libdl.so.2 => /lib/libdl.so.2 (0x40166000)

Result is: yes
##########################################

============ Checking for AA ============

#include <aalib.h>
int main(void) { (void) aa_init(0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -laa

ldd /tmp/mplayer-conf-7866-27818.o
	libaa.so.1 => /usr/lib/libaa.so.1 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40046000)
	libslang.so.1 => /lib/libslang.so.1 (0x40168000)
	libm.so.6 => /lib/libm.so.6 (0x401c9000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401eb000)
	libgpm.so.1 => /usr/lib/libgpm.so.1 (0x402c6000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
	libdl.so.2 => /lib/libdl.so.2 (0x402cc000)
	libncurses.so.5 => /lib/libncurses.so.5 (0x402d1000)

Result is: yes
##########################################

============ Checking for SVGAlib ============

#include <vga.h>
#include <vgagl.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lvgagl -lvga

ldd /tmp/mplayer-conf-7866-27818.o
	libvgagl.so.1 => /usr/lib/libvgagl.so.1 (0x4002c000)
	libvga.so.1 => /usr/lib/libvga.so.1 (0x4003b000)
	libc.so.6 => /lib/libc.so.6 (0x40099000)
	libm.so.6 => /lib/libm.so.6 (0x401bb000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for FBDev ============
Result is: yes
##########################################

============ Checking for DVB ============
Result is: no
##########################################

============ Checking for PNG support ============

#include <png.h>
#include <string.h>
int main(void) {
  printf("png.h : %s\n", PNG_LIBPNG_VER_STRING);
  printf("libpng: %s\n", png_get_libpng_ver(NULL));
  return (strcmp(PNG_LIBPNG_VER_STRING, png_get_libpng_ver(NULL)));
}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lpng -lz -lm

ldd /tmp/mplayer-conf-7866-27818.o
	libpng.so.2 => /usr/lib/libpng.so.2 (0x4002c000)
	libz.so.1 => /usr/lib/libz.so.1 (0x40058000)
	libm.so.6 => /lib/libm.so.6 (0x40067000)
	libc.so.6 => /lib/libc.so.6 (0x40089000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

png.h : 1.0.12
libpng: 1.0.12
Result is: yes
##########################################

============ Checking for VESA support ============
Result is: yes
##########################################

============ Checking for SDL ============

#include <SDL.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -I/usr/include/SDL -D_REENTRANT -L/usr/lib -lSDL -lpthread -L/usr/X11R6/lib -lXxf86dga -lXxf86vm -lXv

ldd /tmp/mplayer-conf-7866-27818.o
	libSDL-1.2.so.0 => /usr/local/lib/libSDL-1.2.so.0 (0x4002c000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x40097000)
	libXxf86dga.so => /usr/X11R6/lib/libXxf86dga.so (0x400ad000)
	libXv.so => /usr/X11R6/lib/libXv.so (0x400b2000)
	libc.so.6 => /lib/libc.so.6 (0x400b6000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401d8000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x402b3000)
	libm.so.6 => /lib/libm.so.6 (0x402c2000)
	libesd.so.0 => /usr/lib/libesd.so.0 (0x402e4000)
	libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x402eb000)
	libdl.so.2 => /lib/libdl.so.2 (0x40309000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using sdl-config)
##########################################

============ Checking for NAS ============

#include <audio/audiolib.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -laudio -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXt -lm
/tmp/mplayer-conf-22649-27818.c:1: audio/audiolib.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for DXR3/H+ ============

#include <linux/em8300.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 
/tmp/mplayer-conf-22649-27818.c:1: linux/em8300.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for libmp1e ============
Result is: no
##########################################

============ Checking for OSS Audio ============

#include <sys/soundcard.h>
int main(void) { int arg = SNDCTL_DSP_SETFRAGMENT; return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for ALSA audio ============

#include <sys/asoundlib.h>
int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==5)); }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lasound -ldl -lpthread
/tmp/mplayer-conf-22649-27818.c:1: sys/asoundlib.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'


#include <sys/asoundlib.h>
int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lasound -ldl -lpthread
/tmp/mplayer-conf-22649-27818.c:1: sys/asoundlib.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for Sun audio ============

#include <sys/types.h>
#include <sys/audioio.h>
int main(void) { audio_info_t info; AUDIO_INITINFO(&info); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 
/tmp/mplayer-conf-22649-27818.c:2: sys/audioio.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for Sun mediaLib ============

#include <mlib.h>
int main(void) { mlib_VideoColorYUV2ABGR420(0,0,0,0,0,0,0,0,0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -I/opt/SUNWmlib/include -L/opt/SUNWmlib/lib -lmlib
/tmp/mplayer-conf-22649-27818.c:1: mlib.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for SGI Audio ============

#include <dmedia/audio.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 
/tmp/mplayer-conf-22649-27818.c:1: dmedia/audio.h: No such file or directory

ldd /tmp/mplayer-conf-7866-27818.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-7866-27818.o'

Result is: no
##########################################

============ Checking for VCD support ============
Result is: ok
##########################################

============ Checking for DVD support (libcss - old style) ============
Result is: yes
##########################################

============ Checking for DVD support (libdvdread - new style) ============

#include <dvdread/dvd_reader.h>
#include <dvdread/ifo_types.h>
#include <dvdread/ifo_read.h>
#include <dvdread/nav_read.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -ldvdread -ldl

ldd /tmp/mplayer-conf-7866-27818.o
	libdvdread.so.2 => /usr/lib/libdvdread.so.2 (0x4002c000)
	libdl.so.2 => /lib/libdl.so.2 (0x40041000)
	libc.so.6 => /lib/libc.so.6 (0x40045000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for zlib ============

#include <zlib.h>
int main(void) { (void) inflate(0, Z_NO_FLUSH); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lz

ldd /tmp/mplayer-conf-7866-27818.o
	libz.so.1 => /usr/lib/libz.so.1 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x4003b000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for RTC ============

#include <sys/ioctl.h>
#include <linux/rtc.h>
int main(void) { return RTC_IRQP_READ; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for mad support ============

#include <mad.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lmad

ldd /tmp/mplayer-conf-7866-27818.o
	libmad.so.0 => /usr/lib/libmad.so.0 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x40043000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for OggVorbis support ============

#include <vorbis/codec.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lvorbis -logg -lm

ldd /tmp/mplayer-conf-7866-27818.o
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x4002c000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0x4004b000)
	libm.so.6 => /lib/libm.so.6 (0x4004f000)
	libc.so.6 => /lib/libc.so.6 (0x40071000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for Win32 DLL support ============
Result is: yes (using /usr/lib/win32)
##########################################

============ Checking for DirectShow ============
Result is: yes
##########################################

============ Checking for XAnim DLL ============
Result is: yes (using /usr/lib/xanim)
##########################################

============ Checking for iconv ============

#include <stdio.h>
#include <unistd.h>
#include <iconv.h>
#define INBUFSIZE 1024
#define OUTBUFSIZE 4096

char inbuffer[INBUFSIZE];
char outbuffer[OUTBUFSIZE];

int main(void) {
  ssize_t numread;
  iconv_t icdsc;
  char *tocode="UTF-8";
  char *fromcode="cp1250";
  if ((icdsc = iconv_open (tocode, fromcode)) != (iconv_t)(-1)) {
    while ((numread = read (0, inbuffer, INBUFSIZE))) {
      char *iptr=inbuffer;
      char *optr=outbuffer;
      size_t inleft=numread;
      size_t outleft=OUTBUFSIZE;
      if (iconv(icdsc, (const char **)&iptr, &inleft, &optr, &outleft)
          != (size_t)(-1)) {
        write (1, outbuffer, OUTBUFSIZE - outleft);
      }
    }
    if (iconv_close(icdsc) == -1)
      ;
  }
}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lm
/tmp/mplayer-conf-22649-27818.c: In function `main':
/tmp/mplayer-conf-22649-27818.c:21: warning: passing arg 2 of `iconv' from incompatible pointer type

ldd /tmp/mplayer-conf-7866-27818.o
	libm.so.6 => /lib/libm.so.6 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x4004e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for FFmpeg libavcodec (static) ============
Result is: yes
##########################################

============ Checking for zr ============
Result is: no
##########################################

============ Checking for XviD/DivX4linux/DivX5linux/OpenDivX decore ============

#include <decore.h>
int main(void) { (void) decore(0, 0, 0, 0);  return DEC_OPT_FRAME_311; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lm /usr/local/lib/libcore.a

ldd /tmp/mplayer-conf-7866-27818.o
	libm.so.6 => /lib/libm.so.6 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x4004e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: XviD (with /usr/local/lib/libcore.a)
##########################################

============ Checking for libmp3lame (for mencoder) ============

#include <lame/lame.h>
int main(void) { (void) lame_init(); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lmp3lame -lvorbis -logg -lm

ldd /tmp/mplayer-conf-7866-27818.o
	libmp3lame.so.0 => /usr/local/lib/libmp3lame.so.0 (0x4002c000)
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x400d4000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0x400f3000)
	libm.so.6 => /lib/libm.so.6 (0x400f7000)
	libc.so.6 => /lib/libc.so.6 (0x40119000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for XviD/DivX4linux encore (for mencoder) ============

#include <encore2.h>
int main(void) { (void) encore(0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -lm /usr/local/lib/libcore.a

ldd /tmp/mplayer-conf-7866-27818.o
	libm.so.6 => /lib/libm.so.6 (0x4002c000)
	libc.so.6 => /lib/libc.so.6 (0x4004e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: XviD (with /usr/local/lib/libcore.a)
##########################################

============ Checking for mencoder ============
Result is: yes
##########################################

============ Checking for fastmemcpy ============
Result is: yes
##########################################

============ Checking for TV interface ============
Result is: yes
##########################################

============ Checking for Video 4 Linux TV interface ============

#include <stdlib.h>
#include <linux/videodev.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o 

ldd /tmp/mplayer-conf-7866-27818.o
	libc.so.6 => /lib/libc.so.6 (0x4002c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for select ============
Result is: yes
##########################################

============ Checking for streaming ============
Result is: yes
##########################################

============ Checking for GUI ============
============ Checking for XShape extension ============

#include <X11/Xlib.h>
#include <X11/Xproto.h>
#include <X11/Xutil.h>
#include <X11/extensions/shape.h>
#include <stdlib.h>
int main(void) {
  char *name = ":0.0";
  Display *wsDisplay;
  int exitvar = 0;
  int eventbase, errorbase;
  if (getenv("DISPLAY"))
    name=getenv("DISPLAY");
  wsDisplay=XOpenDisplay(name);
  if (!XShapeQueryExtension(wsDisplay,&eventbase,&errorbase))
    exitvar=1;
  XCloseDisplay(wsDisplay);
  return exitvar;
}

gcc    /tmp/mplayer-conf-22649-27818.c -o /tmp/mplayer-conf-7866-27818.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-7866-27818.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40107000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40115000)
	libc.so.6 => /lib/libc.so.6 (0x4012a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

============ Checking for gtk version ============
Result is: 1.2.10 (using gtk-config)
##########################################

============ Checking for glib version ============
Result is: 1.2.10 (using glib-config)
##########################################

============ Checking for lirc ============
Result is: no
##########################################

-------------- next part --------------
gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -o mplayer mplayer.o cyuv.o adpcm.o xacodec.o cpudetect.o mp_msg.o ac3-iec958.o dec_audio.o msvidc.o cinepak.o fli.o qtrle.o codec-cfg.o cfgparser.o my_profile.o RTjpegN.o minilzo.o nuppelvideo.o spudec.o playtree.o playtreeparser.o asxparser.o qtsmc.o ducktm1.o roqav.o qtrpza.o mpng.o find_sub.o subreader.o lirc_mp.o mixer.o vobsub.o mp-opt-reg.o dll_init.o -Llibvo -lvo  -Llibmpcodecs -lmpcodecs -Lg72x -lg72x -Lmp3lib -lMP3 -Llibac3 -lac3 -Lliba52 -la52 -Lxa -lxa -Llibmpeg2 -lmpeg2 -Llibavcodec -lavcodec -Llibmpdemux -lmpdemux  -Linput -linput  -Lloader -lloader -Lloader/dshow -lDS_Filter   -lmad -lvorbis -logg  -ldvdread -lpthread -ldl -rdynamic  -Lpostproc -lpostproc /usr/local/lib/libcore.a -Llinux -losdep -ltermcap  -lnsl -lz -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib -lpng -lz -lm  -Llibao2 -lao2 -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -lmad -lnsl  -lggi  -lpng -lz -L/usr/lib -lSDL -lpthread -L/usr/X11R6/lib -lXxf86dga -lXxf86vm -lXv -lvgagl -lvga -laa   -Lvidix -lvidix -LGui -lgui    
/usr/local/lib/libcore.a(quant_matrix.o)(.data+0x20): multiple definition of `default_intra_matrix'
libavcodec/libavcodec.a(mpeg12.o)(.data+0x0):/usr/src/decoder/mplayer.dev/libavcodec/mpeg12.c: first defined here
/usr/bin/ld: Warning: size of symbol `default_intra_matrix' changed from 128 to 64 in /usr/local/lib/libcore.a(quant_matrix.o)
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
-------------- next part --------------
./configure --enable-largefiles --enable-gui --with-csslibdir=/usr/local/lib/ --with-xvidcore=/usr/local/lib/libcore.a $@

# --enable-debug=3 --language=de --enable-xp --enable-linux-devfs --cc=gcc-3.0
 


More information about the MPlayer-users mailing list