[MPlayer-users] v4l in current cvs

Kis Gergely kisg at lme.linux.hu
Tue Dec 25 22:32:33 CET 2001


On Tue, Dec 25, 2001 at 09:21:20PM +0100, Gabucino wrote:
> It's the Question that drives us, Sascha Sommer :
> > missing parameter for option: driver
> > Subconfig parsing returned error: -2 in token: driver=v4l
> Read configure's output, it will say 'v4l interface : no' or such.
> Probably old/bad kernel headers, or maybe nonexistant /dev/video* .
> RTFconfigure.log
No, it won't. RTF this configure.log. 
And look at my bugreport.

Not everybody is stupid, who has no write access to the MPlayer CVS.

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

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

============ Checking for CPU type ============
Result is:  Celeron (Mendocino)
##########################################

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

int main(void) { return 0; }

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -march=i686 -mcpu=i686

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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.92.0.12.3) ============
Result is: ok
##########################################

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

============ 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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lkstat
/tmp/mplayer-conf-11877-24832.c:1: kstat.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
ldd: warning: you do not have execution permission for `/tmp/mplayer-conf-8528-24832.o'
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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

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

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lposix4
/usr/bin/ld: cannot find -lposix4
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-8528-24832.o
ldd: /tmp/mplayer-conf-8528-24832.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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lsocket
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-8528-24832.o
ldd: /tmp/mplayer-conf-8528-24832.o: No such file or directory


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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lnsl

ldd /tmp/mplayer-conf-8528-24832.o
	libnsl.so.1 => /lib/libnsl.so.1 (0x40020000)
	libc.so.6 => /lib/libc.so.6 (0x40035000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 
/tmp/cc4tBH5j.o: In function `main':
/tmp/cc4tBH5j.o(.text+0xe): undefined reference to `dlopen'
/tmp/cc4tBH5j.o(.text+0x1b): undefined reference to `dlclose'
/tmp/cc4tBH5j.o(.text+0x2a): undefined reference to `dlsym'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-8528-24832.o
ldd: /tmp/mplayer-conf-8528-24832.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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -ldl

ldd /tmp/mplayer-conf-8528-24832.o
	libdl.so.2 => /lib/libdl.so.2 (0x40020000)
	libc.so.6 => /lib/libc.so.6 (0x40024000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 
/tmp/ccuoVxGi.o: In function `main':
/tmp/ccuoVxGi.o(.text+0x28): undefined reference to `pthread_create'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-8528-24832.o
ldd: /tmp/mplayer-conf-8528-24832.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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lpthread

ldd /tmp/mplayer-conf-8528-24832.o
	libpthread.so.0 => /lib/libpthread.so.0 (0x40020000)
	libc.so.6 => /lib/libc.so.6 (0x40036000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -ltermcap

ldd /tmp/mplayer-conf-8528-24832.o
	libncurses.so.5 => /lib/libncurses.so.5 (0x40020000)
	libc.so.6 => /lib/libc.so.6 (0x40060000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

============ 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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -ldirectfb
/tmp/mplayer-conf-11877-24832.c:1: directfb.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

============ Checking for X11 libs ============
Result is: yes (found: /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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-8528-24832.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40020000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400fb000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40109000)
	libc.so.6 => /lib/libc.so.6 (0x4011f000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.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-8528-24832.o
ldd: /tmp/mplayer-conf-8528-24832.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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-8528-24832.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40020000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400fb000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40109000)
	libc.so.6 => /lib/libc.so.6 (0x4011f000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXv

ldd /tmp/mplayer-conf-8528-24832.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40020000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400fb000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40109000)
	libc.so.6 => /lib/libc.so.6 (0x4011f000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXinerama

ldd /tmp/mplayer-conf-8528-24832.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40020000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400fb000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40109000)
	libc.so.6 => /lib/libc.so.6 (0x4011f000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXxf86vm

ldd /tmp/mplayer-conf-8528-24832.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40020000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400fb000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40109000)
	libc.so.6 => /lib/libc.so.6 (0x4011f000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXxf86dga -lXxf86vm

ldd /tmp/mplayer-conf-8528-24832.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40020000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400fb000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40109000)
	libc.so.6 => /lib/libc.so.6 (0x4011f000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXxf86dga

ldd /tmp/mplayer-conf-8528-24832.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40020000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400fb000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40109000)
	libc.so.6 => /lib/libc.so.6 (0x4011f000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lm
/tmp/mplayer-conf-11877-24832.c:1: GL/gl.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory


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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lm -lpthread
/tmp/mplayer-conf-11877-24832.c:1: GL/gl.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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

============ 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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lggi
/tmp/mplayer-conf-11877-24832.c:1: ggi/ggi.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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

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

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -laa
/tmp/mplayer-conf-11877-24832.c:1: aalib.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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

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

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lvgagl -lvga
/tmp/mplayer-conf-11877-24832.c:1: vga.h: No such file or directory
/tmp/mplayer-conf-11877-24832.c:2: vgagl.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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

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

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

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

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lpng -lz -lm

ldd /tmp/mplayer-conf-8528-24832.o
	libpng.so.2 => /usr/lib/libpng.so.2 (0x40020000)
	libz.so.1 => /usr/lib/libz.so.1 (0x4004c000)
	libm.so.6 => /lib/libm.so.6 (0x4005b000)
	libc.so.6 => /lib/libc.so.6 (0x4007d000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -I/usr/include/SDL -D_REENTRANT -L/usr/lib -lSDL -lpthread -L/usr/X11R6/lib -lXxf86dga -lXxf86vm -lXv

ldd /tmp/mplayer-conf-8528-24832.o
	libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x40020000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x4009d000)
	libc.so.6 => /lib/libc.so.6 (0x400b3000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401d7000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x402b2000)
	libdl.so.2 => /lib/libdl.so.2 (0x402c0000)
	libm.so.6 => /lib/libm.so.6 (0x402c4000)
	libasound.so.1 => /usr/lib/libasound.so.1 (0x402e6000)
	libartsc.so.0 => /usr/lib/libartsc.so.0 (0x402fd000)
	libesd.so.0 => /usr/lib/libesd.so.0 (0x40304000)
	libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x4030b000)
	libggi.so.2 => /usr/lib/libggi.so.2 (0x4032c000)
	libgii.so.0 => /usr/lib/libgii.so.0 (0x40338000)
	libgg.so.0 => /usr/lib/libgg.so.0 (0x4033f000)
	libvga.so.1 => /usr/lib/libvga.so.1 (0x40345000)
	libaa.so.1 => /usr/lib/libaa.so.1 (0x4034d000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
	libslang.so.1 => /lib/libslang.so.1 (0x40367000)
	libgpm.so.1 => /usr/lib/libgpm.so.1 (0x403c8000)
	libncurses.so.5 => /lib/libncurses.so.5 (0x403ce000)

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

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

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

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

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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

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

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 
/tmp/mplayer-conf-11877-24832.c:1: linux/em8300.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lasound -ldl -lpthread
/tmp/mplayer-conf-11877-24832.c:1: sys/asoundlib.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory


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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lasound -ldl -lpthread
/tmp/mplayer-conf-11877-24832.c:1: sys/asoundlib.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 
/tmp/mplayer-conf-11877-24832.c:2: sys/audioio.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -I/opt/SUNWmlib/include -L/opt/SUNWmlib/lib -lmlib
/tmp/mplayer-conf-11877-24832.c:1: mlib.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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

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

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 
/tmp/mplayer-conf-11877-24832.c:1: dmedia/audio.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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

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

============ Checking for DVD support ============

#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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -ldvdread -ldl
/tmp/mplayer-conf-11877-24832.c:1: dvdread/dvd_reader.h: No such file or directory
/tmp/mplayer-conf-11877-24832.c:2: dvdread/ifo_types.h: No such file or directory
/tmp/mplayer-conf-11877-24832.c:3: dvdread/ifo_read.h: No such file or directory
/tmp/mplayer-conf-11877-24832.c:4: dvdread/nav_read.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory


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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lcss
/tmp/mplayer-conf-11877-24832.c:1: css.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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

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

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lz

ldd /tmp/mplayer-conf-8528-24832.o
	libz.so.1 => /usr/lib/libz.so.1 (0x40020000)
	libc.so.6 => /lib/libc.so.6 (0x4002f000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lmad
/tmp/mplayer-conf-11877-24832.c:1: mad.h: No such file or directory

ldd /tmp/mplayer-conf-8528-24832.o
lddlibc4: cannot read header from `/tmp/mplayer-conf-8528-24832.o': No such file or directory

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

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

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lvorbis -logg -lm

ldd /tmp/mplayer-conf-8528-24832.o
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x40020000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0x4003c000)
	libm.so.6 => /lib/libm.so.6 (0x40040000)
	libc.so.6 => /lib/libc.so.6 (0x40062000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

============ Checking for XAnim DLL ============
Result is: no suitable directory found
##########################################

============ 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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lm
/tmp/mplayer-conf-11877-24832.c: In function `main':
/tmp/mplayer-conf-11877-24832.c:21: warning: passing arg 2 of `iconv' from incompatible pointer type

ldd /tmp/mplayer-conf-8528-24832.o
	libm.so.6 => /lib/libm.so.6 (0x40020000)
	libc.so.6 => /lib/libc.so.6 (0x40042000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

============ Checking for FFmpeg codec ============
Result is: static libavcodec
##########################################

============ Checking for Divx4linux decore ============

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -ldivxdecore -lm

ldd /tmp/mplayer-conf-8528-24832.o
	libdivxdecore.so => /usr/local/lib/libdivxdecore.so (0x40020000)
	libm.so.6 => /lib/libm.so.6 (0x40064000)
	libc.so.6 => /lib/libc.so.6 (0x40086000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -lmp3lame -lvorbis -logg -lm

ldd /tmp/mplayer-conf-8528-24832.o
	libmp3lame.so.0 => /usr/local/lib/libmp3lame.so.0 (0x40020000)
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x400c8000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0x400e4000)
	libm.so.6 => /lib/libm.so.6 (0x400e8000)
	libc.so.6 => /lib/libc.so.6 (0x4010b000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

============ Checking for Divx4linux encore (required for mencoder) ============

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -ldivxencore -lm

ldd /tmp/mplayer-conf-8528-24832.o
	libdivxencore.so => /usr/local/lib/libdivxencore.so (0x40020000)
	libm.so.6 => /lib/libm.so.6 (0x4004d000)
	libc.so.6 => /lib/libc.so.6 (0x4006f000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

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

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

gcc    /tmp/mplayer-conf-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o 

ldd /tmp/mplayer-conf-8528-24832.o
	libc.so.6 => /lib/libc.so.6 (0x40020000)
	/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-11877-24832.c -o /tmp/mplayer-conf-8528-24832.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-8528-24832.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40020000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400fb000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40109000)
	libc.so.6 => /lib/libc.so.6 (0x4011f000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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



More information about the MPlayer-users mailing list