[MPlayer-users] Levi's compilation error - possible bug.

Levente -Levi- Littvay littvay at mailbox.hu
Sat Aug 24 08:07:02 CEST 2002


Hello ya'll

I have problems compiling the new cvs.  First I figured it was the alsa
driver because that was what was new, but I was not able to compile
without alsa either.

Also tried new CVS (as it says in the manual) and tried without gui...


Here is the last page of make:

ad_a52.c:110: `MM_ACCEL_X86_MMX' undeclared (first use in this function)
ad_a52.c:111: `MM_ACCEL_X86_MMXEXT' undeclared (first use in this
function)
ad_a52.c:112: `MM_ACCEL_X86_3DNOW' undeclared (first use in this
function)
ad_a52.c:113: `MM_ACCEL_X86_3DNOWEXT' undeclared (first use in this
function)
ad_a52.c:114: warning: assignment makes pointer from integer without a
cast
ad_a52.c:128: `A52_MONO' undeclared (first use in this function)
ad_a52.c:130: `A52_DOLBY' undeclared (first use in this function)
ad_a52.c:132: `A52_2F1R' undeclared (first use in this function)
ad_a52.c:133: `A52_2F2R' undeclared (first use in this function)
ad_a52.c:134: `A52_3F2R' undeclared (first use in this function)
ad_a52.c:135: `A52_LFE' undeclared (first use in this function)
ad_a52.c:138: `A52_ADJUST_LEVEL' undeclared (first use in this function)
ad_a52.c:140: `level' undeclared (first use in this function)
ad_a52.c:140: `bias' undeclared (first use in this function)
ad_a52.c: In function `decode_audio':
ad_a52.c:173: `sample_t' undeclared (first use in this function)
ad_a52.c:173: parse error before `level'
ad_a52.c:174: `A52_ADJUST_LEVEL' undeclared (first use in this function)
ad_a52.c:179: `level' undeclared (first use in this function)
ad_a52.c:179: `bias' undeclared (first use in this function)
make[1]: *** [ad_a52.o] Error 1
make[1]: Leaving directory `/home/install/mplayer/main/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2


please help

thx

L

-- 

Littvay, Levente (Levi)
Politologus / Political Scientist

GPG Public Key = http://www.kign.org/levilpub.gpg
GPG Key fingerprint = 7E7F 9104 E563 BFB9 2CF1  2EFB 7C78 FC43 9C13 02F6
-------------- next part --------------
============ Checking for gcc version ============
Result is: 2.95.4, ok
##########################################

============ Checking for CPU vendor ============
Result is: GenuineTMx86 (5:4:3)
##########################################

============ Checking for CPU type ============
Result is:  Transmeta(tm) Crusoe(tm) Processor TM5800
##########################################

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

int main(void) { return 0; }

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -march=i586 -mcpu=i586

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: i586
##########################################

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

#include <signal.h>
void catch() { exit(1); }
int main(void){
  signal(SIGILL, catch);
  __asm__ __volatile__ ("emms":::"memory");return(0);
}

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

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

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

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

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

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

============ Checking for setlocale() ============

#include <locale.h>
int main(void) { setlocale( LC_ALL,"" ); return 0; }

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

============ Checking for enable sighandler ============
Result is: yes
##########################################

============ Checking for runtime cpudetection ============
Result is: no
##########################################

============ Checking for restrict keyword ============

void foo(char * restrict p); int main(){}

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/mplayer-conf-17781-11980.c:1: parse error before `p'

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory


void foo(char * __restrict p); int main(){}

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: __restrict
##########################################

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

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lkstat
/tmp/mplayer-conf-17781-11980.c:1: kstat.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lposix4
/usr/bin/ld: cannot find -lposix4
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

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

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory


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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lnsl

ldd /tmp/mplayer-conf-12095-11980.o
	libnsl.so.1 => /lib/libnsl.so.1 (0x4001c000)
	libc.so.6 => /lib/libc.so.6 (0x40030000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lsocket -lnsl
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lnsl

ldd /tmp/mplayer-conf-12095-11980.o
	libnsl.so.1 => /lib/libnsl.so.1 (0x4001c000)
	libc.so.6 => /lib/libc.so.6 (0x40030000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

============ Checking for stddef.h ============

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

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

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -ldl

ldd /tmp/mplayer-conf-12095-11980.o
	libdl.so.2 => /lib/libdl.so.2 (0x4001c000)
	libc.so.6 => /lib/libc.so.6 (0x4001f000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/ccrptWbh.o: In function `main':
/tmp/ccrptWbh.o(.text+0x28): undefined reference to `pthread_create'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lpthread

ldd /tmp/mplayer-conf-12095-11980.o
	libpthread.so.0 => /lib/libpthread.so.0 (0x4001c000)
	libc.so.6 => /lib/libc.so.6 (0x40030000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

============ Checking for sys/dvdio.h ============

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/mplayer-conf-17781-11980.c:2: sys/dvdio.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

============ Checking for sys/cdio.h ============

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/mplayer-conf-17781-11980.c:2: sys/cdio.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

============ Checking for linux/cdrom.h ============

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

============ Checking for dvd.h ============

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/mplayer-conf-17781-11980.c:1: dvd.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

============ Checking for BSDI dvd.h ============

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/mplayer-conf-17781-11980.c:1: dvd.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

============ Checking for userspace SCSI headers (Solaris) ============

#   include <unistd.h>
#   include <stropts.h>
#   include <sys/scsi/scsi_types.h>
#   include <sys/scsi/impl/uscsi.h>
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/mplayer-conf-17781-11980.c:3: sys/scsi/scsi_types.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:4: sys/scsi/impl/uscsi.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

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

int main(void) { return 0; }

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -ltermcap

ldd /tmp/mplayer-conf-12095-11980.o
	libncurses.so.5 => /lib/libncurses.so.5 (0x4001c000)
	libc.so.6 => /lib/libc.so.6 (0x4005a000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

============ Checking for strsep() ============

#include <string.h>
int main (void) { char *s = "Hello, world!"; (void) strsep(&s, ","); return 0; }

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

============ Checking for sys/sysinfo.h ============

#include <sys/sysinfo.h>
int main(void) {
  struct sysinfo s_info;
  sysinfo(&s_info);
  return 0;
}

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/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 headers presence ============
Result is: not found
##########################################

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

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

============ Checking for X11 libs presence ============
Result is: yes (using /usr/X11R6/lib)
##########################################

============ Checking for X11 ============

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-12095-11980.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400f6000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40104000)
	libc.so.6 => /lib/libc.so.6 (0x40118000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.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-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-12095-11980.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400f6000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40104000)
	libc.so.6 => /lib/libc.so.6 (0x40118000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXv

ldd /tmp/mplayer-conf-12095-11980.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400f6000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40104000)
	libc.so.6 => /lib/libc.so.6 (0x40118000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXinerama

ldd /tmp/mplayer-conf-12095-11980.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400f6000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40104000)
	libc.so.6 => /lib/libc.so.6 (0x40118000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXxf86vm

ldd /tmp/mplayer-conf-12095-11980.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400f6000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40104000)
	libc.so.6 => /lib/libc.so.6 (0x40118000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXxf86dga -lXxf86vm

ldd /tmp/mplayer-conf-12095-11980.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400f6000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40104000)
	libc.so.6 => /lib/libc.so.6 (0x40118000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXxf86dga

ldd /tmp/mplayer-conf-12095-11980.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400f6000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40104000)
	libc.so.6 => /lib/libc.so.6 (0x40118000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lm
/tmp/mplayer-conf-17781-11980.c:1: GL/gl.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory


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

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

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

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

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

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

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lggi
/tmp/mplayer-conf-17781-11980.c:1: ggi/ggi.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -laa
/tmp/mplayer-conf-17781-11980.c:1: aalib.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lvgagl -lvga
/tmp/mplayer-conf-17781-11980.c:1: vga.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:2: vgagl.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

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

============ Checking for DVB ============

#include <sys/poll.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>

#include <ost/dmx.h>
#include <ost/frontend.h>
#include <ost/sec.h>
#include <ost/video.h>
#include <ost/audio.h>
int main(void) {return 0;}

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/mplayer-conf-17781-11980.c:7: ost/dmx.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:8: ost/frontend.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:9: ost/sec.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:10: ost/video.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:11: ost/audio.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory


#include <sys/poll.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>

#include <ost/dmx.h>
#include <ost/frontend.h>
#include <ost/sec.h>
#include <ost/video.h>
#include <ost/audio.h>
int main(void) {return 0;}

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -I/usr/src/DVB/ost/include
/tmp/mplayer-conf-17781-11980.c:7: ost/dmx.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:8: ost/frontend.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:9: ost/sec.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:10: ost/video.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:11: ost/audio.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory


#include <sys/poll.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>

#include <ost/dmx.h>
#include <ost/frontend.h>
#include <ost/sec.h>
#include <ost/video.h>
#include <ost/audio.h>
int main(void) {return 0;}

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o /ost/include
gcc: /ost/include: No such file or directory
/tmp/mplayer-conf-17781-11980.c:7: ost/dmx.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:8: ost/frontend.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:9: ost/sec.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:10: ost/video.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:11: ost/audio.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

Result is: no (specify path to DVB/ost/include with --with-extraincdir=DIR)
##########################################

============ 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_libpng_ver);
  return (strcmp(PNG_LIBPNG_VER_STRING, png_libpng_ver));
}

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lpng -lz -lm

ldd /tmp/mplayer-conf-12095-11980.o
	libpng.so.2 => /usr/lib/libpng.so.2 (0x4001c000)
	libz.so.1 => /usr/lib/libz.so.1 (0x40047000)
	libm.so.6 => /lib/libm.so.6 (0x40056000)
	libc.so.6 => /lib/libc.so.6 (0x40077000)
	/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 JPEG support ============

#include <stdio.h>
#include <stdlib.h>
#include <setjmp.h>
#include <string.h>
#include <jpeglib.h>
int main(void) {
  return 0;
}

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -ljpeg -lm

ldd /tmp/mplayer-conf-12095-11980.o
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4001c000)
	libm.so.6 => /lib/libm.so.6 (0x4003b000)
	libc.so.6 => /lib/libc.so.6 (0x4005d000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

============ Checking for GIF89a support ============

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lgif
/tmp/mplayer-conf-17781-11980.c:1: gif_lib.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory


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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lungif
/tmp/mplayer-conf-17781-11980.c:1: gif_lib.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory


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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lgif -L/usr/X11R6/lib -lX11 -lXext -lnsl
/tmp/mplayer-conf-17781-11980.c:1: gif_lib.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory


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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lungif -L/usr/X11R6/lib -lX11 -lXext -lnsl
/tmp/mplayer-conf-17781-11980.c:1: gif_lib.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

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

============ Checking for SDL ============
./configure: line 2675: sdl-config: command not found
./configure: line 2677: sdl11-config: command not found
Result is: no
##########################################

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

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

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

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

============ Checking for DXR2 ============

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/mplayer-conf-17781-11980.c:1: dxr2ioctl.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory


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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -I /usr/local/include/dxr2
/tmp/mplayer-conf-17781-11980.c:1: dxr2ioctl.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory


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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -I /usr/include/dxr2
/tmp/mplayer-conf-17781-11980.c:1: dxr2ioctl.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/mplayer-conf-17781-11980.c:1: linux/em8300.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

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

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

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

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

============ Checking for aRts ============
./configure: line 2881: artsc-config: command not found
Result is: no
##########################################

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

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lasound -ldl -lpthread
In file included from /tmp/mplayer-conf-17781-11980.c:1:
/usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead.

ldd /tmp/mplayer-conf-12095-11980.o
	libasound.so.2 => /usr/lib/libasound.so.2 (0x4001c000)
	libdl.so.2 => /lib/libdl.so.2 (0x4009b000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x4009f000)
	libc.so.6 => /lib/libc.so.6 (0x400b3000)
	libm.so.6 => /lib/libm.so.6 (0x401d0000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lasound -ldl -lpthread
In file included from /tmp/mplayer-conf-17781-11980.c:1:
/usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead.

ldd /tmp/mplayer-conf-12095-11980.o
	libasound.so.2 => /usr/lib/libasound.so.2 (0x4001c000)
	libdl.so.2 => /lib/libdl.so.2 (0x4009b000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x4009f000)
	libc.so.6 => /lib/libc.so.6 (0x400b3000)
	libm.so.6 => /lib/libm.so.6 (0x401d0000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lasound -ldl -lpthread

ldd /tmp/mplayer-conf-12095-11980.o
	libasound.so.2 => /usr/lib/libasound.so.2 (0x4001c000)
	libdl.so.2 => /lib/libdl.so.2 (0x4009b000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x4009f000)
	libc.so.6 => /lib/libc.so.6 (0x400b3000)
	libm.so.6 => /lib/libm.so.6 (0x401d0000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes (using alsa 0.9.x and alsa/asoundlib.h)
##########################################

============ 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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/mplayer-conf-17781-11980.c:2: sys/audioio.h: No such file or directory

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

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/mplayer-conf-17781-11980.c:1: dmedia/audio.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

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

============ Checking for DVD support (libmpdvdkit) ============
Result is: yes
##########################################

============ Checking for DVD support (libcss - old style) ============

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lcss -ldl
/tmp/mplayer-conf-17781-11980.c:2: css.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

============ Checking for DVD support (libdvdread - new style) ============
Result is: disabled by libmpdvdkit
##########################################

============ Checking for DVD support (libdvdnav) ============

#include <dvdnav.h>
int main(void) { dvdnav_t *dvd=0; return 0; }

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -I -ldvdnav -ldl
/tmp/mplayer-conf-17781-11980.c:1: dvdnav.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

============ Checking for cdparanoia ============

#include <cdda_interface.h>
#include <cdda_paranoia.h>
// This need a better test. How ?
int main(void) { return 1; }

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lcdda_interface -lcdda_paranoia
/tmp/mplayer-conf-17781-11980.c:1: cdda_interface.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:2: cdda_paranoia.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lz

ldd /tmp/mplayer-conf-12095-11980.o
	libz.so.1 => /usr/lib/libz.so.1 (0x4001c000)
	libc.so.6 => /lib/libc.so.6 (0x4002a000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

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

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

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

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lvorbis -logg -lm

ldd /tmp/mplayer-conf-12095-11980.o
	libvorbis.so.0 => /usr/local/lib/libvorbis.so.0 (0x4001c000)
	libogg.so.0 => /usr/local/lib/libogg.so.0 (0x4003c000)
	libm.so.6 => /lib/libm.so.6 (0x40041000)
	libc.so.6 => /lib/libc.so.6 (0x40062000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

============ Checking for FAAD (AAC) support ============

#include <faad.h>
int main(void) { faacDecHandle testhand; testhand = faacDecOpen(); return 0; }

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lfaad -lm
/tmp/mplayer-conf-17781-11980.c:1: faad.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

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

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

============ Checking for XAnim DLL ============
Result is: no (no suitable directory found - see DOCS/codecs.html)
##########################################

============ Checking for RealPlayer DLL ============
Result is: no (no suitable directory found - see DOCS/codecs.html)
##########################################

============ Checking for LIVE.COM Streaming Media libraries ============
Result is: no
##########################################

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

ldd /tmp/mplayer-conf-12095-11980.o
	libm.so.6 => /lib/libm.so.6 (0x4001c000)
	libc.so.6 => /lib/libc.so.6 (0x4003d000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

============ Checking for FFmpeg libavcodec (static) ============
Result is: no (see DOCS/codecs.html)
##########################################

============ Checking for FFmpeg libavcodec (dynamic) ============

#define FF_POSTPROCESS 1 
#include <ffmpeg/avcodec.h>
int quant_store[MBR+1][MBC+1];
int main(void) { 
    avcodec_find_encoder_by_name("");
    return 0; 
}

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lavcodec -lm
/tmp/mplayer-conf-17781-11980.c:2: ffmpeg/avcodec.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

Result is: no (libavcodec.so is broken/obsolete)
##########################################

============ Checking for libdv-0.9.5 (for mencoder) ============

#include <libdv/dv.h>
int main(void) { dv_encoder_t* enc=dv_encoder_new(1,1,1); return 0; }

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -ldv -lm
/tmp/mplayer-conf-17781-11980.c:1: libdv/dv.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

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

============ Checking for XviD ============

#include <xvid.h>
#include <divx4.h>
int main(void) { xvid_init(0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lm 
gcc: : No such file or directory
/tmp/mplayer-conf-17781-11980.c:1: xvid.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:2: divx4.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory


#include <xvid.h>
#include <divx4.h>
int main(void) { xvid_init(0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lm -lxvidcore
/tmp/mplayer-conf-17781-11980.c:1: xvid.h: No such file or directory
/tmp/mplayer-conf-17781-11980.c:2: divx4.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

============ Checking for 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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lm -ldivxdecore -lm

ldd /tmp/mplayer-conf-12095-11980.o
	libm.so.6 => /lib/libm.so.6 (0x4001c000)
	libdivxdecore.so => /usr/local/lib/libdivxdecore.so (0x4003d000)
	libc.so.6 => /lib/libc.so.6 (0x40082000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: DivX4linux (with libdivxdecore.so)
##########################################

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

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lmp3lame -lvorbis -logg -lm

ldd /tmp/mplayer-conf-12095-11980.o
	libmp3lame.so.0 => /usr/local/lib/libmp3lame.so.0 (0x4001c000)
	libvorbis.so.0 => /usr/local/lib/libvorbis.so.0 (0x400ca000)
	libogg.so.0 => /usr/local/lib/libogg.so.0 (0x400eb000)
	libm.so.6 => /lib/libm.so.6 (0x400ef000)
	libc.so.6 => /lib/libc.so.6 (0x40110000)
	/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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -lm -ldivxencore

ldd /tmp/mplayer-conf-12095-11980.o
	libm.so.6 => /lib/libm.so.6 (0x4001c000)
	libdivxencore.so => /usr/local/lib/libdivxencore.so (0x4003d000)
	libc.so.6 => /lib/libc.so.6 (0x4006b000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: DivX4linux (with libdivxencore.so)
##########################################

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

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

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

============ Checking for *BSD BrookTree 848 TV interface ============

#include <sys/types.h>
#if defined(__NetBSD__)
#include <dev/ic/bt8xx.h>
#else
#include <machine/ioctl_bt848.h>
#endif
int main(void) { return 0; }

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 
/tmp/mplayer-conf-17781-11980.c:5: machine/ioctl_bt848.h: No such file or directory

ldd /tmp/mplayer-conf-12095-11980.o
ldd: /tmp/mplayer-conf-12095-11980.o: No such file or directory

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

============ Checking for Video 4 Linux TV interface ============
Result is: no
##########################################

============ Checking for audio select() ============
Result is: yes
##########################################

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

============ Checking for byte order ============

#include <inttypes.h>
int main(void) { 
    volatile uint32_t i=0x01234567;
    return (*((uint8_t*)(&i))) == 0x67;
}

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: Little Endian
##########################################

============ 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-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-12095-11980.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001c000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400f6000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40104000)
	libc.so.6 => /lib/libc.so.6 (0x40118000)
	/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 ftello() ============

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

gcc    /tmp/mplayer-conf-17781-11980.c -o /tmp/mplayer-conf-12095-11980.o 

ldd /tmp/mplayer-conf-12095-11980.o
	libc.so.6 => /lib/libc.so.6 (0x4001c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h
Type: text/x-c-header
Size: 9920 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020824/f53d70c4/attachment.bin>
-------------- next part --------------
# -------- Generated by configure -----------

LANG = C
TARGET_OS = Linux
DESTDIR =
prefix = $(DESTDIR)/usr/local
DATADIR = $(DESTDIR)/usr/local/share/mplayer
CONFDIR = $(DESTDIR)/usr/local/share/mplayer
LIBDIR = $(DESTDIR)/usr/local/lib
#AR = ar
CC = gcc
AWK = mawk
# OPTFLAGS = -O4   -march=i586 -mcpu=i586 -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS = -O4 -march=i586 -mcpu=i586 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
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\"
STRIPBINARIES = yes



STREAMING = yes
STREAMING_LIVE_DOT_COM = no
STREAMING_LIB = -lnsl 
VIDIX = yes

OPENDIVX = no

VO2 = no

PNG = yes
JPEG = yes
GIF = no

EXTRA_LIB = 
Z_LIB =   -lz
HAVE_MLIB = no
STATIC_LIB = 

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

# for libavcodec:
SRC_PATH=.

# video output
X_LIB = -L/usr/X11R6/lib -lX11 -lXext -lnsl  -lXxf86dga -lXv -lXxf86vm -lXinerama  -lnsl
GGI_LIB = 
MLIB_LIB =  
MLIB_INC = 
DXR2_INC = 
DVB_INC = 
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
GIF_LIB = 
SDL_LIB = 
SVGA_LIB = 
AA_LIB = 

# audio output
ALSA_LIB = -lasound -ldl -lpthread
NAS_LIB = 
MAD_LIB = 
ARTS_LIB = 
ARTS_INC = 
VORBIS_LIB = -lvorbis -logg
FAAD_LIB = 
SGIAUDIO_LIB = 

# input
TERMCAP_LIB = -ltermcap
LIRC_LIB = 
CSS_USE = no
CSS_LIB = -Llibmpdvdkit -lmpdvdkit
DVDKIT = yes
DVDKIT2 = 
DVDKIT_SHARED = no
SDL_INC = 
W32_DEP = loader/libloader.a
W32_LIB = -Lloader -lloader
DS_DEP = loader/dshow/libDS_Filter.a
DS_LIB = -Lloader/dshow -lDS_Filter
AV_DEP = 
AV_LIB = 
FAME = no
FAME_LIB = 
MP1E_DEP = 
MP1E_LIB = 
ARCH_LIB =   -lpthread -ldl  
DIVX4LINUX = yes
XVID = no
XVID_LIB = 
DECORE_LIB = -ldivxdecore 
MENCODER = yes
ENCORE_LIB =  -ldivxencore -lmp3lame -lvorbis -logg
DIRECTFB_INC = 
DIRECTFB_LIB = 
NEW_INPUT_LIB = -Linput -linput
CDPARANOIA_INC = 
CDPARANOIA_LIB = 

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

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

-------------- next part --------------
include ../config.mak
OPTIONAL_SRCS =  x11_common.c vo_x11.c vo_xv.c vo_dga.c vo_fbdev.c vo_png.c vo_jpeg.c vo_vesa.c vesa_lvo.c vo_xvidix.c
OPTIONAL_OBJS = x11_common.o vo_x11.o vo_xv.o vo_dga.o vo_fbdev.o vo_png.o vo_jpeg.o vo_vesa.o vesa_lvo.o vo_xvidix.o


More information about the MPlayer-users mailing list