[MPlayer-users] --disable-mencoder not working?

André Dahlqvist andre.dahlqvist at telia.com
Fri Dec 28 14:33:55 CET 2001


During compilation of latest CVS I see this:

mencoder.c:48: warning: No include path in which to find encore2.h
mencoder.c:48: warning: No include path in which to find encore2.h

even though I have used --disable-mencoder. The error message is of course
clear: I am missing those headers, but why is it trying to compile mencoder
even though I used --disable-mencoder?

I have attached configure.log, config.h config.mak and libvo/config.mak.
-- 

André Dahlqvist <andre.dahlqvist at telia.com>

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

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

#define USE_OSD 1
#define USE_SUB 1

/* Toggles debugging informations */
#undef MP_DEBUG

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

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

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

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

/* Indicates if Divx4linux encore is available
   Note: REQUIRED for mencoder */


/* Indicates if libmp3lame is available
   Note: REQUIRED for mencoder */


/* Define libmp1e */
#define 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) */
#define HAVE_RTC 1

/* 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 your system has the "malloc.h" header file */
#define HAVE_MALLOC_H 1

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

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

/* 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 */
#undef HAVE_ZLIB

/* Define this if you have shm support */
#define HAVE_SHM 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

/* 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 HAVE_ODIVX_POSTPROCESS 1

/* 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 only decoders from libavcodec: */
#define CONFIG_DECODERS 1
#define CONFIG_ENCODERS 1

/* XAnim DLL support */
#undef USE_XANIM
#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
#define PREFIX "/usr/local"

/* Audio lib drivers */
#define USE_OSS_AUDIO 1
#undef HAVE_ALSA5
#undef HAVE_ALSA9
#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

/* 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

#define TARGET_LINUX 1

#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 */
#undef HAVE_PNG

/* libmad support */
#undef USE_LIBMAD

/* enable OggVorbis support */
#undef HAVE_OGGVORBIS

#define STREAMING 1

/* Extension defines */
#undef HAVE_3DNOW	// only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
#undef HAVE_3DNOWEX	// 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)

#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
#undef HAVE_X11
#undef HAVE_XV
#undef HAVE_XF86VM
#undef HAVE_XINERAMA
#undef HAVE_GL
#undef HAVE_DGA
#undef HAVE_DGA2
#undef HAVE_SDL
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */

#undef HAVE_GGI
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_DIRECTFB
#undef HAVE_MGA
#undef HAVE_XMGA
#undef HAVE_SYNCFB
#undef HAVE_FBDEV
#undef HAVE_DXR3
#undef HAVE_DVB
#undef HAVE_SVGALIB
#undef HAVE_XDPMS
#undef HAVE_AA

/* 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 = Linux
prefix = /usr/local
DATADIR = /usr/local/share/mplayer
CONFDIR = /usr/local/share/mplayer
AR = ar
CC = gcc
# OPTFLAGS = -O4   -march=i686 -mcpu=i686 -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS = -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
EXTRA_INC =  
WIN32_PATH = -DWIN32_PATH=\"/usr/local/win32\"

STREAMING = yes

VO2 = no

EXTRA_LIB = 
Z_LIB =   
HAVE_MLIB = no
STATIC_LIB = 

X11_INC = 
X11DIR = 

# video output
X_LIB =         -lnsl
GGI_LIB = 
MLIB_LIB =  
MLIB_INC = 
PNG_LIB = 
SDL_LIB = 
SVGA_LIB = 
AA_LIB = 

# audio output
ALSA_LIB = 
NAS_LIB = 
MAD_LIB = 
VORBIS_LIB = 
SGIAUDIO_LIB = 

# input
TERMCAP_LIB = -ltermcap
LIRC_LIB = 
CSS_USE = no
CSS_LIB = -ldvdread
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 = libavcodec/libavcodec.a
AV_LIB = -Llibavcodec -lavcodec
MP1E_DEP = libmp1e/libmp1e.a
MP1E_LIB = -Llibmp1e -lmp1e
ARCH_LIB =   -lpthread -ldl  
DIVX4LINUX = no
DECORE_LIB = -Lopendivx -ldecore
MENCODER = no
ENCORE_LIB =   
DIRECTFB_LIB = 

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

BINUTILS = yes

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

-------------- next part --------------
include ../config.mak
OPTIONAL_SRCS =  vo_vesa.c vesa_lvo.c
OPTIONAL_OBJS = vo_vesa.o vesa_lvo.o
-------------- next part --------------
============ Checking for gcc version ============
Result is: 2.95.4, ok
##########################################

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

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

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

int main(void) { return 0; }

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -march=i686 -mcpu=i686

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: failed
##########################################

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

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

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

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lkstat
/tmp/mplayer-conf-7781-14400.c:1: kstat.h: No such file or directory

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lposix4
/usr/bin/ld: cannot find -lposix4
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-19518-14400.o
ldd: /tmp/mplayer-conf-19518-14400.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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

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

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


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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lnsl

ldd /tmp/mplayer-conf-19518-14400.o
	libnsl.so.1 => /lib/libnsl.so.1 (0x4001a000)
	libc.so.6 => /lib/libc.so.6 (0x4002f000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

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

ldd /tmp/mplayer-conf-19518-14400.o
ldd: /tmp/mplayer-conf-19518-14400.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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -ldl

ldd /tmp/mplayer-conf-19518-14400.o
	libdl.so.2 => /lib/libdl.so.2 (0x4001a000)
	libc.so.6 => /lib/libc.so.6 (0x4001e000)
	/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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 
/tmp/ccL8JP7P.o: In function `main':
/tmp/ccL8JP7P.o(.text+0x28): undefined reference to `pthread_create'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-19518-14400.o
ldd: /tmp/mplayer-conf-19518-14400.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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lpthread

ldd /tmp/mplayer-conf-19518-14400.o
	libpthread.so.0 => /lib/libpthread.so.0 (0x4001a000)
	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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

int main(void) { return 0; }

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -ltermcap

ldd /tmp/mplayer-conf-19518-14400.o
	libncurses.so.5 => /lib/libncurses.so.5 (0x4001a000)
	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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -ldirectfb
/tmp/mplayer-conf-7781-14400.c:1: directfb.h: No such file or directory

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

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -L/usr/X11R6/lib -lX11 -lXext -lnsl
/tmp/mplayer-conf-7781-14400.c:1: X11/Xlib.h: No such file or directory
/tmp/mplayer-conf-7781-14400.c:2: X11/Xutil.h: No such file or directory

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

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

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

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

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

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

============ 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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lXxf86dga -lXxf86vm
/tmp/mplayer-conf-7781-14400.c:1: X11/Xlib.h: No such file or directory
/tmp/mplayer-conf-7781-14400.c:2: X11/extensions/xf86dga.h: No such file or directory

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


#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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lXxf86dga
/tmp/mplayer-conf-7781-14400.c:1: X11/Xlib.h: No such file or directory
/tmp/mplayer-conf-7781-14400.c:2: X11/extensions/xf86dga.h: No such file or directory

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

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

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

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

============ Checking for syncfb ============
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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lggi
/tmp/mplayer-conf-7781-14400.c:1: ggi/ggi.h: No such file or directory

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -laa
/tmp/mplayer-conf-7781-14400.c:1: aalib.h: No such file or directory

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lvgagl -lvga
/tmp/mplayer-conf-7781-14400.c:1: vga.h: No such file or directory
/tmp/mplayer-conf-7781-14400.c:2: vgagl.h: No such file or directory

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

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

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

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

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

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

============ Checking for SDL ============
Result is: no (with false)
##########################################

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -laudio -lXt -lm
/tmp/mplayer-conf-7781-14400.c:1: audio/audiolib.h: No such file or directory

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 
/tmp/mplayer-conf-7781-14400.c:1: linux/em8300.h: No such file or directory

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

ldd /tmp/mplayer-conf-19518-14400.o
	libc.so.6 => /lib/libc.so.6 (0x4001a000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lasound -ldl -lpthread
/tmp/mplayer-conf-7781-14400.c:1: sys/asoundlib.h: No such file or directory

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


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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lasound -ldl -lpthread
/tmp/mplayer-conf-7781-14400.c:1: sys/asoundlib.h: No such file or directory

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 
/tmp/mplayer-conf-7781-14400.c:2: sys/audioio.h: No such file or directory

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

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

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

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

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

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 
/tmp/mplayer-conf-7781-14400.c:1: dmedia/audio.h: No such file or directory

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

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -ldvdread -ldl

ldd /tmp/mplayer-conf-19518-14400.o
	libdvdread.so.2 => not found
	libdl.so.2 => /lib/libdl.so.2 (0x4001a000)
	libc.so.6 => /lib/libc.so.6 (0x4001e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lcss
/tmp/mplayer-conf-7781-14400.c:1: css.h: No such file or directory

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

Result is: libdvdread
##########################################

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lz
/tmp/mplayer-conf-7781-14400.c:1: zlib.h: No such file or directory

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o 

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

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lvorbis -logg -lm
/tmp/mplayer-conf-7781-14400.c:1: vorbis/codec.h: No such file or directory

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

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

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

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

============ Checking for XAnim DLL ============
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-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -lm
/tmp/mplayer-conf-7781-14400.c: In function `main':
/tmp/mplayer-conf-7781-14400.c:21: warning: passing arg 2 of `iconv' from incompatible pointer type

ldd /tmp/mplayer-conf-19518-14400.o
	libm.so.6 => /lib/libm.so.6 (0x4001a000)
	libc.so.6 => /lib/libc.so.6 (0x4003c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

gcc    /tmp/mplayer-conf-7781-14400.c -o /tmp/mplayer-conf-19518-14400.o -ldivxdecore -lm
/tmp/mplayer-conf-7781-14400.c:1: decore.h: No such file or directory

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

Result is: not found
##########################################

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

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

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

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

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

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

============ Checking for GUI ============


More information about the MPlayer-users mailing list