[MPlayer-users] [BUGREPORT] Can't build MPlayer-pre[1-2] and last CVS version under FreeBSD 5.0-DP1

christophe nowicki nowick_c at epita.fr
Wed May 1 10:42:01 CEST 2002


Hi everyone,
I am running under FreeBSD 5.0 DP1 (testing version) and I got a small build problem with libdha. I know that that DP1 is a testing version but it's look like a missing header. I got the same message with mplayer-pre1 version and the last cvs version (20020430).
Thanks. 

gmake -C libdha
gmake[1]: Entering directory `/goinfre/MPlayer-0.90pre2/libdha'
gcc -c -O4 -march=pentiumpro -mcpu=pentiumpro -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I.. -Wall -W -o pci.o pci.c
In file included from pci.c:66:
sysdep/pci_freebsd.c:9: machine/console.h: No such file or directory
In file included from pci.c:66:
sysdep/pci_freebsd.c: In function `enable_os_io':
sysdep/pci_freebsd.c:23: `KDENABIO' undeclared (first use in this function)
sysdep/pci_freebsd.c:23: (Each undeclared identifier is reported only once
sysdep/pci_freebsd.c:23: for each function it appears in.)
sysdep/pci_freebsd.c: In function `disable_os_io':
sysdep/pci_freebsd.c:32: `KDDISABIO' undeclared (first use in this function)
gmake[1]: *** [pci.o] Error 1
gmake[1]: Leaving directory `/goinfre/MPlayer-0.90pre2/libdha'
gmake: *** [libdha/libdha.so] Error 2


System Information :
FreeBSD 5.0-DP1
Kernel : FreeBSD TuX.csquad.org 5.0-DP1 FreeBSD 5.0-DP1 #0: Mon Apr 29 23:09:32 CEST 2002     root at TuX.csquad.org:/usr/src/sys/i386/compile/CUSTOM  i386 (just a generic kernel with ext2fs and sound card support)
GCC : version 2.95.3 20010315 (release)
LD : GNU ld version 2.12.0 [FreeBSD] 2002-03-20


-- 
Meuuuhh elle fait la vache :)) _(__)_        
                              '-e e -'__,--.__)
Nowicki Christophe             (o_o)        )
17, rue Saint Exupery            \. /___.  |
77500 Chelles                     ||| _)/_)/
Etudiant EPITECH Promo 2005       //_(/_(/_(
-------------- next part --------------
============ Checking for gcc version ============
Result is: 2.95.3, ok
##########################################

============ Checking for CPU vendor ============
Result is: AuthenticAMD (6:2:1)
##########################################

============ Checking for CPU type ============
Result is:  AMD Athlon(tm) Processor
##########################################

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

int main(void) { return 0; }

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -march=k7 -mcpu=k7
cc1: bad value (k7) for -march= switch
cc1: bad value (k7) for -mcpu= switch

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable


int main(void) { return 0; }

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -march=athlon -mcpu=athlon
cc1: bad value (athlon) for -march= switch
cc1: bad value (athlon) for -mcpu= switch

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable


int main(void) { return 0; }

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -march=pentiumpro -mcpu=pentiumpro

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

Result is: pentiumpro
##########################################

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

============ Checking for kernel support of 3dnow ============

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

============ Checking for kernel support of 3dnowex ============

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

============ Checking for assembler (/usr/libexec/elf/as 2.12.0) ============
Result is: ok
##########################################

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

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

============ Checking for extra headers ============
Result is:  -I/usr/local/include
##########################################

============ Checking for extra libs ============
Result is:  -L/usr/local/lib
##########################################

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

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

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

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lkstat
/tmp/mplayer-conf--78808.c:1: kstat.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lposix4
/usr/libexec/elf/ld: cannot find -lposix4

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lsocket
/usr/libexec/elf/ld: cannot find -lsocket

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


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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lnsl
/usr/libexec/elf/ld: cannot find -lnsl

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


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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lsocket -lnsl
/usr/libexec/elf/ld: cannot find -lsocket

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

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

============ 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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
In file included from /tmp/mplayer-conf--78808.c:1:
/usr/include/malloc.h:3: #error "<malloc.h> has been replaced by <stdlib.h>"

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
In file included from /tmp/mplayer-conf--78808.c:1:
/usr/include/malloc.h:3: #error "<malloc.h> has been replaced by <stdlib.h>"

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
/tmp/mplayer-conf--78808.c:1: alloca.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable


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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
/tmp/mplayer-conf--78808.c:1: alloca.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

============ 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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
/tmp/ccd4FSDf.o: In function `main':
/tmp/ccd4FSDf.o(.text+0x24): undefined reference to `pthread_create'

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lpthread
/usr/libexec/elf/ld: cannot find -lpthread

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -pthread

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc_r.so.5 => /usr/lib/libc_r.so.5 (0x28068000)
	libc.so.5 => /usr/lib/libc.so.5 (0x28086000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
/tmp/mplayer-conf--78808.c:1: linux/cdrom.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
/tmp/mplayer-conf--78808.c:1: dvd.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

============ Checking for extras/BSDI_dvdioctl/dvd.h ============

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
/tmp/mplayer-conf--78808.c:1: extras/BSDI_dvdioctl/dvd.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
/tmp/mplayer-conf--78808.c:2: stropts.h: No such file or directory
/tmp/mplayer-conf--78808.c:3: sys/scsi/scsi_types.h: No such file or directory
/tmp/mplayer-conf--78808.c:4: sys/scsi/impl/uscsi.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

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

int main(void) { return 0; }

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -ltermcap

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libncurses.so.5 => /usr/lib/libncurses.so.5 (0x28068000)
	libc.so.5 => /usr/lib/libc.so.5 (0x280a9000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

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

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

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

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

============ 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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28068000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28123000)
	libc.so.5 => /usr/lib/libc.so.5 (0x28131000)
	libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x281e4000)

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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -lXdpms
/usr/libexec/elf/ld: cannot find -lXdpms

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


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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28068000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28123000)
	libc.so.5 => /usr/lib/libc.so.5 (0x28131000)
	libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x281e4000)

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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -lXv

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x2806a000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28125000)
	libc.so.5 => /usr/lib/libc.so.5 (0x28133000)
	libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x281e6000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -lXinerama

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28069000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28124000)
	libc.so.5 => /usr/lib/libc.so.5 (0x28132000)
	libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x281e5000)

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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x2806b000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28126000)
	libc.so.5 => /usr/lib/libc.so.5 (0x28134000)
	libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x281e7000)

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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x2806b000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28126000)
	libc.so.5 => /usr/lib/libc.so.5 (0x28134000)
	libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x281e7000)


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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x2806a000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28125000)
	libc.so.5 => /usr/lib/libc.so.5 (0x28133000)
	libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x281e6000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -lGL -lm

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28068000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28123000)
	libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x28131000)
	libm.so.2 => /usr/lib/libm.so.2 (0x2818e000)
	libc.so.5 => /usr/lib/libc.so.5 (0x281a9000)
	libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x2825c000)

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

============ 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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lggi
/tmp/mplayer-conf--78808.c:1: ggi/ggi.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -laa

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libaa.so.1 => /usr/local/lib/libaa.so.1 (0x28068000)
	libc.so.5 => /usr/lib/libc.so.5 (0x2807b000)
	libncurses.so.5 => /usr/lib/libncurses.so.5 (0x2812e000)
	libm.so.2 => /usr/lib/libm.so.2 (0x2816f000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lvgagl -lvga

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libvgagl.so.1 => /usr/local/lib/libvgagl.so.1 (0x28068000)
	libvga.so.1 => /usr/local/lib/libvga.so.1 (0x28076000)
	libc.so.5 => /usr/lib/libc.so.5 (0x280c7000)
	libm.so.2 => /usr/lib/libm.so.2 (0x2817a000)

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

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

============ 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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
/tmp/mplayer-conf--78808.c:7: ost/dmx.h: No such file or directory
/tmp/mplayer-conf--78808.c:8: ost/frontend.h: No such file or directory
/tmp/mplayer-conf--78808.c:9: ost/sec.h: No such file or directory
/tmp/mplayer-conf--78808.c:10: ost/video.h: No such file or directory
/tmp/mplayer-conf--78808.c:11: ost/audio.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable


#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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -I/usr/src/DVB/ost/include
/tmp/mplayer-conf--78808.c:7: ost/dmx.h: No such file or directory
/tmp/mplayer-conf--78808.c:8: ost/frontend.h: No such file or directory
/tmp/mplayer-conf--78808.c:9: ost/sec.h: No such file or directory
/tmp/mplayer-conf--78808.c:10: ost/video.h: No such file or directory
/tmp/mplayer-conf--78808.c:11: ost/audio.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable


#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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o  -I/usr/local/include/ost/include
gcc:  -I/usr/local/include/ost/include: No such file or directory
/tmp/mplayer-conf--78808.c:7: ost/dmx.h: No such file or directory
/tmp/mplayer-conf--78808.c:8: ost/frontend.h: No such file or directory
/tmp/mplayer-conf--78808.c:9: ost/sec.h: No such file or directory
/tmp/mplayer-conf--78808.c:10: ost/video.h: No such file or directory
/tmp/mplayer-conf--78808.c:11: ost/audio.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lpng -lz -lm

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28068000)
	libz.so.2 => /usr/lib/libz.so.2 (0x2808a000)
	libm.so.2 => /usr/lib/libm.so.2 (0x28097000)
	libc.so.5 => /usr/lib/libc.so.5 (0x280b2000)

png.h : 1.2.1
libpng: 1.2.1
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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -ljpeg -lm

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28068000)
	libm.so.2 => /usr/lib/libm.so.2 (0x28086000)
	libc.so.5 => /usr/lib/libc.so.5 (0x280a1000)

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

============ Checking for VESA support ============
Result is: no (not supported on this OS/architecture)
##########################################

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -I/usr/local/include -I/usr/local/include/SDL11 -D_REENTRANT -D_THREAD_SAFE -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -lc_r -lm -lvgl -L/usr/local/lib -lesd -laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv -lXinerama -lvga -laa

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libSDL-1.1.so.3 => /usr/local/lib/libSDL-1.1.so.3 (0x28068000)
	libc_r.so.5 => /usr/lib/libc_r.so.5 (0x280be000)
	libm.so.2 => /usr/lib/libm.so.2 (0x280dc000)
	libvgl.so.3 => /usr/lib/libvgl.so.3 (0x280f7000)
	libesd.so.2 => /usr/local/lib/libesd.so.2 (0x280ff000)
	libaudiofile.so.0 => /usr/local/lib/libaudiofile.so.0 (0x28107000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x2812a000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x281e5000)
	libvga.so.1 => /usr/local/lib/libvga.so.1 (0x281f3000)
	libaa.so.1 => /usr/local/lib/libaa.so.1 (0x28244000)
	libc.so.5 => /usr/lib/libc.so.5 (0x28257000)
	libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x2830a000)
	libncurses.so.5 => /usr/lib/libncurses.so.5 (0x2830c000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -laudio -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -lXt -lm
/tmp/mplayer-conf--78808.c:1: audio/audiolib.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
/tmp/mplayer-conf--78808.c:1: linux/em8300.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

============ Checking for libmp1e ============
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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lasound -pthread
/tmp/mplayer-conf--78808.c:1: sys/asoundlib.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable


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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lasound -pthread
/tmp/mplayer-conf--78808.c:1: sys/asoundlib.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable


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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lasound -pthread
/tmp/mplayer-conf--78808.c:1: alsa/asoundlib.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
/tmp/mplayer-conf--78808.c:2: sys/audioio.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

============ Checking for SGI audio ============

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 
/tmp/mplayer-conf--78808.c:1: dmedia/audio.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lcss
/tmp/mplayer-conf--78808.c:2: css.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -I/usr/local/include -I -ldvdnav
/tmp/mplayer-conf--78808.c:1: dvdnav.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lz

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libz.so.2 => /usr/lib/libz.so.2 (0x28068000)
	libc.so.5 => /usr/lib/libc.so.5 (0x28075000)

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

============ Checking for RTC ============
Result is: no (Linux specific feature)
##########################################

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lmad

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libmad.so.1 => /usr/local/lib/libmad.so.1 (0x28068000)
	libc.so.5 => /usr/lib/libc.so.5 (0x2807f000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lvorbis -logg -lm

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libvorbis.so.1 => /usr/local/lib/libvorbis.so.1 (0x28068000)
	libogg.so.3 => /usr/local/lib/libogg.so.3 (0x28085000)
	libm.so.2 => /usr/lib/libm.so.2 (0x28089000)
	libc.so.5 => /usr/lib/libc.so.5 (0x280a4000)

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lfaad -lm
/tmp/mplayer-conf--78808.c:1: faad.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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 iconv ============

#include <stdio.h>
#include <unistd.h>
#include <giconv.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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lm -lgiconv

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libm.so.2 => /usr/lib/libm.so.2 (0x28068000)
	libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28083000)
	libc.so.5 => /usr/lib/libc.so.5 (0x28157000)

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

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

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

============ 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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -ldv -lm
/tmp/mplayer-conf--78808.c:1: libdv/dv.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

============ 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  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lm -lxvidcore
/tmp/mplayer-conf--78808.c:1: decore.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable


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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lm -ldivxdecore -lm
/tmp/mplayer-conf--78808.c:1: decore.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable


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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lm -ldivxdecore -lm
/tmp/mplayer-conf--78808.c:1: decore.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

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

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o -lmp3lame -lvorbis -logg -lm
/tmp/mplayer-conf--78808.c:1: lame/lame.h: No such file or directory

ldd /tmp/mplayer-conf--78808.o
ldd: /tmp/mplayer-conf--78808.o: not a dynamic executable

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

============ Checking for XviD/DivX4linux encore (for mencoder) ============
Result is: no
##########################################

============ 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>
#ifdef __NetBSD__
#include <dev/ic/bt8xx.h>
#else
#include <machine/ioctl_bt848.h>
#endif
int main(void) { return 0; }

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

============ 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 GUI ============
============ Checking for ftello() ============

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

gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--78808.c -o /tmp/mplayer-conf--78808.o 

ldd /tmp/mplayer-conf--78808.o
/tmp/mplayer-conf--78808.o:
	libc.so.5 => /usr/lib/libc.so.5 (0x28068000)

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

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

-------------- next part --------------
/* -------- This file has been automatically generated by configure ---------
   Note: Any changes in it will be lost when you run configure again. */

/* use GNU internationalisation */
#undef USE_I18N

/* Runtime Cpudetection */
#undef RUNTIME_CPUDETECT

#define PREFIX "/usr/local"

/* define this to use simple idct with patched libavcodec */
#define SIMPLE_IDCT 1

#define USE_OSD 1
#define USE_SUB 1

/* enable/disable SIGHANDLER */
#define ENABLE_SIGHANDLER 1

/* Toggles debugging informations */
#undef MP_DEBUG

/* Indicates that Ogle's libdvdread is available for DVD playback */
#define USE_DVDREAD 1

/* Indicates that dvdread is from libmpdvdkit */
#define USE_MPDVDKIT 1

/* Additional options for libmpdvdkit*/
#undef DVD_STRUCT_IN_DVD_H
#undef DVD_STRUCT_IN_LINUX_CDROM_H
#define DVD_STRUCT_IN_SYS_CDIO_H 1
#define DVD_STRUCT_IN_SYS_DVDIO_H 1
#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H
#define HAVE_BSD_DVD_STRUCT 1
#undef HAVE_LINUX_DVD_STRUCT
#undef SOLARIS_USCSI
#define HAVE_STDDEF_H 1

/* Common data directory (for fonts, etc) */
#define DATADIR "/usr/local/share/mplayer"
#define CONFDIR "/usr/local/share/mplayer"
#define LIBDIR "/usr/local/lib"

/* Define this to compile stream-caching support, it can be enabled via
   -cache <kilobytes> */
#define USE_STREAM_CACHE 1

/* Define to include support for XviD/Divx4Linux/OpenDivx */
#undef USE_DIVX

/* Define for using new XviD/DivX4Linux library, instead of open-source OpenDivX */
/* You have to change DECORE_LIBS in config.mak too! */
#undef NEW_DECORE

/* Define if you are using DivX5Linux Decore library */
#undef DECORE_DIVX5

/* Define to include support for libdv-0.9.5 */
#undef HAVE_LIBDV095

/* If build mencoder */
#define HAVE_MENCODER

/* Indicates if XviD/Divx4linux encore is available
   Note: for mencoder */
#undef HAVE_DIVX4ENCORE

/* Indicates if libmp3lame is available
   Note: for mencoder */
#undef HAVE_MP3LAME

/* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */
#undef USE_MP1E

/* Define this to enable avg. byte/sec-based AVI sync method by default:
   (use -bps or -nobps commandline option for run-time method selection)
   -bps gives better sync for vbr mp3 audio, it is now default */
#define AVI_SYNC_BPS 1

/* Undefine this if you do not want to select mono audio (left or right)
   with a stereo MPEG layer 2/3 audio stream. The command-line option
   -stereo has three possible values (0 for stereo, 1 for left-only, 2 for
   right-only), with 0 being the default.
   */
#define USE_FAKE_MONO 1

/* Undefine this if your soundcard driver has no working select().
   If you have kernel Oops, player hangups, or just no audio, you should
   try to recompile MPlayer with this option disabled! */
#define HAVE_AUDIO_SELECT 1

/* define this to use iconv(3) function to codepage conversions */
#define USE_ICONV 1

/* define this to use RTC (/dev/rtc) for video timers (LINUX only) */
#undef HAVE_RTC

/* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */
#define MAX_OUTBURST 65536

/* set up audio OUTBURST. Do not change this! */
#define OUTBURST 512

/* Define this if your system has the header file for the OSS sound interface */
#define HAVE_SYS_SOUNDCARD_H 1

/* Define this if you system has the header file for the OSS sound interface
 * in /usr/include */


/* Define this if your system uses ftello() for off_t seeking */

#define HAVE_FTELLO 1
#ifndef HAVE_FTELLO
# define ftello(a) ftell(a)
#endif

/* Define this if your system has the "malloc.h" header file */
#undef HAVE_MALLOC_H

/* memalign is mapped to malloc if unsupported */
#undef HAVE_MEMALIGN
#ifndef HAVE_MEMALIGN
# define memalign(a,b) malloc(b)
#endif

/* Define this if your system has the "alloca.h" header file */
#undef HAVE_ALLOCA_H

/* Define this if your system has the "sys/mman.h" header file */
#define HAVE_SYS_MMAN_H 1

/* Define this if you have the elf dynamic linker -ldl library */
#define HAVE_LIBDL 1

/* Define this if you have the kstat kernel statistics library */
#undef HAVE_LIBKSTAT

/* Define this if you have zlib */
#define HAVE_ZLIB 1

/* Define this if you have shm support */
#define HAVE_SHM 1

/* Define this if your system has strsep */
#define HAVE_STRSEP 1

/* Define this if your system has vsscanf */
#define HAVE_VSSCANF 1

/* LIRC (remote control, see www.lirc.org) support: */
#undef HAVE_LIRC

/* DeCSS support using libcss */
#undef HAVE_LIBCSS

/* DVD navigation support using libdvdnav */
#undef USE_DVDNAV

/* Define this to enable MPEG 1/2 image postprocessing (requires FAST cpu!) */
#define MPEG12_POSTPROC 1

/* Define this to enable image postprocessing in libavcodec (requires FAST cpu!) */
#define FF_POSTPROCESS 1

/* Define to include support for OpenDivx postprocessing */
#undef HAVE_ODIVX_POSTPROCESS

/* Win32 DLL support */
#define USE_WIN32DLL 1

/* DirectShow support */
#define USE_DIRECTSHOW 1

/* ffmpeg's libavcodec support (requires libavcodec source) */
#define USE_LIBAVCODEC 1
#undef USE_LIBAVCODEC_SO

/* Use libavcodec's decoders */
#define CONFIG_DECODERS 1
/* Use libavcodec's encoders */
#define CONFIG_ENCODERS 1

/* Use libfame encoder filter */
#define USE_LIBFAME 1

/* XAnim DLL support */
#undef USE_XANIM
/* Default search path */
#undef XACODEC_PATH

/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
#define USE_FASTMEMCPY 1

/* gui support, please do not edit this option */
#undef HAVE_NEW_GUI

/* Audio output drivers */
#define USE_OSS_AUDIO 1
#define PATH_DEV_DSP "/dev/dsp"
#define PATH_DEV_MIXER "/dev/mixer"
#undef HAVE_ALSA5
#undef HAVE_ALSA9
#undef HAVE_SYS_ASOUNDLIB_H
#undef HAVE_ALSA_ASOUNDLIB_H
#undef USE_SUN_AUDIO
#undef USE_SGI_AUDIO
#undef HAVE_NAS

/* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
#undef FAST_OSD
#undef FAST_OSD_TABLE

/* Enable TV Interface support */
#define USE_TV 1

/* Enable Video 4 Linux TV interface support */
#undef HAVE_TV_V4L

/* Enable *BSD BrookTree TV interface support */
#define HAVE_TV_BSDBT848 1

/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
#undef WORDS_BIGENDIAN

#define ARCH_X86 1

/* Define this for Cygwin build for win32 */


/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ 686

#undef TARGET_LINUX

#define HAVE_VCD 1

#ifdef sun
#define	DEFAULT_CDROM_DEVICE	"/vol/dev/aliases/cdrom0"
#define DEFAULT_DVD_DEVICE	DEFAULT_CDROM_DEVICE
#else
#define DEFAULT_CDROM_DEVICE    "/dev/cdrom"
#define DEFAULT_DVD_DEVICE	"/dev/dvd"
#endif


/*----------------------------------------------------------------------------
**
** NOTE: Instead of modifying these definitions here, use the
**       --enable/--disable options of the ./configure script!
**       See ./configure --help for details.
**
*---------------------------------------------------------------------------*/

/* nanosleep support */
#define HAVE_NANOSLEEP 1

/* termcap flag for getch2.c */
#define USE_TERMCAP 1

/* termios flag for getch2.c */
#define HAVE_TERMIOS 1
#undef HAVE_TERMIOS_H
#define HAVE_SYS_TERMIOS_H 1

/* enable PNG support */
#define HAVE_PNG 1

/* enable JPEG support */
#define HAVE_JPEG 1

/* libmad support */
#define USE_LIBMAD 1

/* enable OggVorbis support */
#define HAVE_OGGVORBIS 1

/* enable FAAD (AAC) support */
#undef HAVE_FAAD

/* enable streaming */
#define STREAMING 1

/* enables / disables vidix usage */
#define CONFIG_VIDIX 1

/* enables / disables new input */
#define HAVE_NEW_INPUT 1

/* enables / disables new input joystick support */
#undef HAVE_JOYSTICK

/* Extension defines */
#define HAVE_3DNOW 1	// only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
#define HAVE_3DNOWEX 1	// only define if you have 3DNOWEX (AMD Athlon, etc.)
#define HAVE_MMX 1	// only define if you have MMX (newer x86 chips, not P54C/PPro)
#define HAVE_MMX2 1	// only define if you have MMX2 (Athlon/PIII/4/CelII)
#undef HAVE_SSE	// only define if you have SSE (Intel Pentium III/4 or Celeron II)
#undef HAVE_SSE2	// only define if you have SSE2 (Intel Pentium 4)

#ifdef HAVE_MMX
#define USE_MMX_IDCT 1
#endif

#undef HAVE_MLIB  // Sun mediaLib, available only on solaris

/* libmpeg2 uses a different feature test macro for mediaLib */
#ifdef HAVE_MLIB
#define LIBMPEG2_MLIB 1
#endif

/* libvo options */
#define SCREEN_SIZE_X 1
#define SCREEN_SIZE_Y 1
#define HAVE_X11 1
#define HAVE_XV 1
#define HAVE_XF86VM 1
#define HAVE_XINERAMA 1
#define HAVE_GL 1
#define HAVE_DGA 1
#define HAVE_DGA2 1
#define HAVE_SDL 1
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
#undef BUGGY_SDL
#undef HAVE_GGI
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_DIRECTFB


#undef HAVE_ZR
#undef HAVE_MGA
#undef HAVE_XMGA

#undef HAVE_FBDEV
#undef USE_CONVERT2FB
#undef HAVE_DXR3
#undef HAVE_DVB
#define HAVE_SVGALIB 1
#undef HAVE_VESA
#define HAVE_XDPMS 1
#define HAVE_AA 1

/* used by GUI: */


#if defined(HAVE_GL) || defined(HAVE_X11) || defined(HAVE_XV)
#define X11_FULLSCREEN 1
#endif

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

LANG = C
TARGET_OS = FreeBSD
prefix = /usr/local
DATADIR = /usr/local/share/mplayer
CONFDIR = /usr/local/share/mplayer
LIBDIR = /usr/local/lib
AR = ar
CC = gcc
AWK = mawk
# OPTFLAGS = -O4   -march=pentiumpro -mcpu=pentiumpro -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS = -O4 -march=pentiumpro -mcpu=pentiumpro -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
EXTRA_INC =  -I/usr/local/include 
WIN32_PATH = -DWIN32_PATH=\"/usr/lib/win32\"

STREAMING = yes
STREAMING_LIB = 
VIDIX = yes

OPENDIVX = no

VO2 = no

PNG = yes
JPEG = yes

EXTRA_LIB =  -L/usr/local/lib
Z_LIB =   -lz
HAVE_MLIB = no
STATIC_LIB = 

X11_INC = -I/usr/X11R6/include
X11DIR = -L/usr/X11R6/lib -lX11 -lXext 

# video output
X_LIB = -L/usr/X11R6/lib -lX11 -lXext  -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -lmad 
GGI_LIB = 
MLIB_LIB =  
MLIB_INC = 
DVB_INC = 
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
SDL_LIB = -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -lc_r -lm -lvgl -L/usr/local/lib -lesd -laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv -lXinerama -lvga -laa
SVGA_LIB = -lvgagl -lvga
AA_LIB = -laa

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

# input
TERMCAP_LIB = -ltermcap
LIRC_LIB = 
CSS_USE = no
CSS_LIB = -Llibmpdvdkit -lmpdvdkit
DVDKIT = yes
DVDKIT_SHARED = no
SDL_INC = -I/usr/local/include -I/usr/local/include/SDL11 -D_REENTRANT -D_THREAD_SAFE
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
FAME = yes
FAME_LIB = -Llibfame -lfame
MP1E_DEP = 
MP1E_LIB = 
ARCH_LIB =   -pthread  -rdynamic -lgiconv
DIVX4LINUX = no
XVID = no
DECORE_LIB = 
MENCODER = yes
ENCORE_LIB =    
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 = yes
TARGET_3DNOWEX = yes
TARGET_SSE = no

# --- GUI stuff ---
GTKLIB =  
GLIBLIB =   
GTK_LIBS =   
GUI = no
DEBUG = -DDEBUG

-------------- next part --------------
include ../config.mak
OPTIONAL_SRCS =  vo_x11.c vo_xv.c vo_dga.c vo_gl.c vo_gl2.c vo_aa.c vo_svga.c vo_png.c vo_jpeg.c vo_sdl.c vo_xvidix.c
OPTIONAL_OBJS = vo_x11.o vo_xv.o vo_dga.o vo_gl.o vo_gl2.o vo_aa.o vo_svga.o vo_png.o vo_jpeg.o vo_sdl.o vo_xvidix.o
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 237 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020501/74139e9c/attachment.pgp>


More information about the MPlayer-users mailing list