[MPlayer-users] Compile error in osd_template.c with --enable-debug

Togni Roberto rtogni at bresciaonline.it
Sun Feb 24 15:41:02 CET 2002


Hi all.

I got this error while trying to compile Mplayer with debbugging 
enabled. Mplayer compiles fine without debug.

The error is:

[...]
make -C libvo
make[1]: Entering directory 
`/qmnt/home/r/Projects/mplayer/mplayer/libvo'
gcc -c -W -Wall -O2 -march=pentium -mcpu=pentium -g  -D_REENTRANT -I. 
-I.. -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT    
-DMPG12PLAY  -o osd.o osd.c
osd.c: In function `vo_draw_alpha_rgb24':
osd_template.c:240: Invalid `asm' statement:
osd_template.c:240: fixed or forbidden register 0 (ax) was spilled for 
class Q_REGS.
osd.c: In function `vo_draw_alpha_init':
osd.c:269: warning: implicit declaration of function `printf'
make[1]: *** [osd.o] Error 1
make[1]: Leaving directory `/qmnt/home/r/Projects/mplayer/mplayer/libvo'
make: *** [libvo/libvo.a] Error 2

The error is in an assembler block used on non-mmx processors.

configure command line is:

./configure --with-win32libdir=/usr/local/lib/win32 
--with-xanimlibdir=/usr/local/lib/xanim --enable-streaming --enable-png 
--disable-mencoder --disable-vidix --enable-debug

(I disabled mencoder and vidix to reduce compilation time)

Code from cvs version: "CVS-020224-00:59-2.95.2 "

My cpu is P133 non mmx
System is Linux-2.2.20


Ciao,
  Roberto



******** config.h *********

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

#define USR_PREFIX "/usr/local"

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

#define USE_OSD 1
#define USE_SUB 1

/* Toggles debugging informations */
#define MP_DEBUG 1

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

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

/* 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 */
#define USE_DIVX

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

/* If build mencoder */
#undef HAVE_MENCODER

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


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


/* 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) */
#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 */
#define HAVE_ZLIB 1

/* 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 to include support for OpenDivx postprocessing */
#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 libavcodec's decoders */
#define CONFIG_DECODERS 1
/* Use libavcodec's encoders */
#define CONFIG_ENCODERS 1

/* XAnim DLL support */
#define USE_XANIM 1
/* Default search path */
#define XACODEC_PATH "/usr/local/lib/xanim"

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

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

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

/* libmad support */
#define USE_LIBMAD 1

/* enable OggVorbis support */
#define HAVE_OGGVORBIS 1

/* enable streaming */
#define STREAMING 1

/* enables / disables vidix usage */
#undef CONFIG_VIDIX

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

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

/* 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.)
#undef HAVE_MMX	// only define if you have MMX (newer x86 chips, not 
P54C/PPro)
#undef HAVE_MMX2	// 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
#undef HAVE_XV
#define HAVE_XF86VM 1
#undef HAVE_XINERAMA
#define HAVE_GL 1
#define HAVE_DGA 1
#undef HAVE_DGA2
#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_SYNCFB
#undef HAVE_FBDEV
#undef USE_CONVERT2FB
#undef HAVE_DXR3
#undef HAVE_DVB
#define HAVE_SVGALIB 1
#define HAVE_VESA 1
#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


********* config.mak ***********

# -------- Generated by configure -----------

LANG = C
TARGET_OS = Linux
prefix = /usr/local
DATADIR = /usr/local/share/mplayer
CONFDIR = /usr/local/share/mplayer
AR = ar
CC = gcc
AWK = # OPTFLAGS = -O4  -g -march=pentium -mcpu=pentium -pipe 
-fomit-frame-pointer -ffast-math
OPTFLAGS = -W -Wall -O2 -march=pentium -mcpu=pentium -g  -D_REENTRANT
EXTRA_INC =  WIN32_PATH = -DWIN32_PATH=\"/usr/local/lib/win32\"

STREAMING = yes
STREAMING_LIB = -lnsl
VIDIX = no

OPENDIVX = no

VO2 = no

PNG = yes

EXTRA_LIB = Z_LIB =   -lz
HAVE_MLIB = no
STATIC_LIB = 
X11_INC = X11DIR = -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXdpms

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

# audio output
ALSA_LIB = NAS_LIB = MAD_LIB = -lmad
VORBIS_LIB = -lvorbis -logg
SGIAUDIO_LIB = 
# input
TERMCAP_LIB = LIRC_LIB = CSS_USE = no
CSS_LIB = SDL_INC = -I/usr/local/include -I/usr/local/include/SDL 
-D_REENTRANT
W32_DEP = loader/libloader.a
W32_LIB = -Lloader -lloader
DS_DEP = loader/dshow/libDS_Filter.a
DS_LIB = -Lloader/dshow -lDS_Filter
AV_DEP = libavcodec/libavcodec.a
AV_LIB = -Llibavcodec -lavcodec
MP1E_DEP = MP1E_LIB = ARCH_LIB =   -lpthread -ldl -rdynamic DIVX4LINUX 
= yes
XVID = no
DECORE_LIB = -ldivxdecore opendivx/postprocess.o
MENCODER = no
ENCORE_LIB =   DIRECTFB_LIB = NEW_INPUT_LIB = -Linput -linput

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

BINUTILS = yes

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


********** configure.log ***************

============ Checking for gcc version ============
Result is: 2.95.2, ok
##########################################

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

============ Checking for CPU type ============
Result is:  Pentium 75 - 200
##########################################

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

int main(void) { return 0; }

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -march=pentium -mcpu=pentium

ldd /tmp/mplayer-conf-542819324-4671.o
	libc.so.6 => /lib/libc.so.6 (0x4001d000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: pentium
##########################################

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

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

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

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

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

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

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

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lkstat
/tmp/mplayer-conf-1905903821-4671.c:1: kstat.h: File o directory 
inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.o

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lposix4
/usr/bin/ld: cannot find -lposix4
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't open /tmp/mplayer-conf-542819324-4671.o (File o directory 
inesistente)

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

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

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

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

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't open /tmp/mplayer-conf-542819324-4671.o (File o directory 
inesistente)


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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lnsl

ldd /tmp/mplayer-conf-542819324-4671.o
	libnsl.so.1 => /lib/libnsl.so.1 (0x4001d000)
	libc.so.6 => /lib/libc.so.6 (0x40034000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lsocket -lnsl
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't open /tmp/mplayer-conf-542819324-4671.o (File o directory 
inesistente)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lnsl

ldd /tmp/mplayer-conf-542819324-4671.o
	libnsl.so.1 => /lib/libnsl.so.1 (0x4001d000)
	libc.so.6 => /lib/libc.so.6 (0x40034000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o 
ldd /tmp/mplayer-conf-542819324-4671.o
	libc.so.6 => /lib/libc.so.6 (0x4001d000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't open /tmp/mplayer-conf-542819324-4671.o (File o directory 
inesistente)


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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -ldl

ldd /tmp/mplayer-conf-542819324-4671.o
	libdl.so.2 => /lib/libdl.so.2 (0x4001d000)
	libc.so.6 => /lib/libc.so.6 (0x40022000)
	/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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o /tmp/ccbVNFNE.o: In function `main':
/tmp/ccbVNFNE.o(.text+0x28): undefined reference to `pthread_create'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't open /tmp/mplayer-conf-542819324-4671.o (File o directory 
inesistente)


#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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lpthread

ldd /tmp/mplayer-conf-542819324-4671.o
	libpthread.so.0 => /lib/libpthread.so.0 (0x4001d000)
	libc.so.6 => /lib/libc.so.6 (0x40031000)
	/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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o 
ldd /tmp/mplayer-conf-542819324-4671.o
	libc.so.6 => /lib/libc.so.6 (0x4001d000)
	/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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -ltermcap
/usr/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't open /tmp/mplayer-conf-542819324-4671.o (File o directory 
inesistente)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o 
ldd /tmp/mplayer-conf-542819324-4671.o
	libc.so.6 => /lib/libc.so.6 (0x4001d000)
	/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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o 
ldd /tmp/mplayer-conf-542819324-4671.o
	libc.so.6 => /lib/libc.so.6 (0x4001d000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

============ Checking for DirectFB ============
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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o 
ldd /tmp/mplayer-conf-542819324-4671.o
	libc.so.6 => /lib/libc.so.6 (0x4001d000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-542819324-4671.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001d000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400bf000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x400cb000)
	libc.so.6 => /lib/libc.so.6 (0x400e1000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms

ldd /tmp/mplayer-conf-542819324-4671.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001d000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400bf000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x400cb000)
	libc.so.6 => /lib/libc.so.6 (0x400e1000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -L/usr/X11R6/lib -lX11 -lXext -lnsl
/tmp/cch4by1v.o: In function `main':
/tmp/cch4by1v.o(.text+0x10): undefined reference to `DPMSQueryExtension'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't open /tmp/mplayer-conf-542819324-4671.o (File o directory 
inesistente)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms -lXv
/tmp/mplayer-conf-1905903821-4671.c:2: X11/extensions/Xvlib.h: File o 
directory inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.o

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms -lXinerama
/tmp/mplayer-conf-1905903821-4671.c:2: X11/extensions/Xinerama.h: File 
o directory inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.o

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms -lXxf86vm

ldd /tmp/mplayer-conf-542819324-4671.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001d000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400bf000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x400cb000)
	libc.so.6 => /lib/libc.so.6 (0x400e1000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms -lXxf86dga -lXxf86vm

ldd /tmp/mplayer-conf-542819324-4671.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001d000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400bf000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x400cb000)
	libc.so.6 => /lib/libc.so.6 (0x400e1000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms -lXxf86dga
/tmp/ccY48zOv.o: In function `main':
/tmp/ccY48zOv.o(.text+0x14): undefined reference to `XDGASetViewport'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't open /tmp/mplayer-conf-542819324-4671.o (File o directory 
inesistente)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms -lGL -lm

ldd /tmp/mplayer-conf-542819324-4671.o
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001d000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400bf000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x400cb000)
	libGL.so.1 => /usr/local/lib/libGL.so.1 (0x400e1000)
	libm.so.6 => /lib/libm.so.6 (0x402ca000)
	libc.so.6 => /lib/libc.so.6 (0x402e7000)
	libglide2x.so => /usr/local/lib/libglide2x.so (0x403c4000)
	libvga.so.1 => /usr/lib/libvga.so.1 (0x4050c000)
	libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40563000)
	libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4056c000)
	libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40582000)
	libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40594000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x4059c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
	libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x405b0000)

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

============ 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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lggi
/tmp/mplayer-conf-1905903821-4671.c:1: ggi/ggi.h: File o directory 
inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -laa

ldd /tmp/mplayer-conf-542819324-4671.o
	libaa.so.1 => /usr/lib/libaa.so.1 (0x4001d000)
	libc.so.6 => /lib/libc.so.6 (0x40034000)
	libslang.so.1 => /lib/libslang.so.1 (0x40111000)
	libm.so.6 => /lib/libm.so.6 (0x4016f000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4018c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
	libdl.so.2 => /lib/libdl.so.2 (0x4022d000)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lvgagl -lvga

ldd /tmp/mplayer-conf-542819324-4671.o
	libvgagl.so.1 => /usr/lib/libvgagl.so.1 (0x4001d000)
	libvga.so.1 => /usr/lib/libvga.so.1 (0x4002d000)
	libc.so.6 => /lib/libc.so.6 (0x40084000)
	libm.so.6 => /lib/libm.so.6 (0x40161000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lpng -lz -lm
/tmp/mplayer-conf-1905903821-4671.c: In function `main':
/tmp/mplayer-conf-1905903821-4671.c:6: warning: passing arg 2 of 
`strcmp' makes pointer from integer without a cast
/tmp/cc4iPO8y.o: In function `main':
/tmp/cc4iPO8y.o(.text+0x24): undefined reference to `png_get_libpng_ver'
/tmp/cc4iPO8y.o(.text+0x44): undefined reference to `png_get_libpng_ver'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't open /tmp/mplayer-conf-542819324-4671.o (File o directory 
inesistente)

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

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -I/usr/local/include 
-I/usr/local/include/SDL -D_REENTRANT -L/usr/local/lib 
-Wl,-rpath,/usr/local/lib -lSDL -lpthread

ldd /tmp/mplayer-conf-542819324-4671.o
	libSDL-1.2.so.0 => /usr/local/lib/libSDL-1.2.so.0 (0x40014000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x40086000)
	libc.so.6 => /lib/libc.so.6 (0x40099000)
	libm.so.6 => /lib/libm.so.6 (0x40176000)
	libesd.so.0 => /usr/lib/libesd.so.0 (0x40193000)
	libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x4019a000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401b7000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40259000)
	libdl.so.2 => /lib/libdl.so.2 (0x40265000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -laudio -L/usr/X11R6/lib -lX11 
-lXext -lnsl -lXdpms -lXt -lm
/tmp/mplayer-conf-1905903821-4671.c:1: audio/audiolib.h: File o 
directory inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.o

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o 
/tmp/mplayer-conf-1905903821-4671.c:1: linux/em8300.h: File o directory 
inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.o

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

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o 
ldd /tmp/mplayer-conf-542819324-4671.o
	libc.so.6 => /lib/libc.so.6 (0x4001d000)
	/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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lasound -ldl -lpthread
/tmp/mplayer-conf-1905903821-4671.c:1: sys/asoundlib.h: File o 
directory inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.o


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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lasound -ldl -lpthread
/tmp/mplayer-conf-1905903821-4671.c:1: sys/asoundlib.h: File o 
directory inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o 
/tmp/mplayer-conf-1905903821-4671.c:2: sys/audioio.h: File o directory 
inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -I/opt/SUNWmlib/include 
-L/opt/SUNWmlib/lib -lmlib
/tmp/mplayer-conf-1905903821-4671.c:1: mlib.h: File o directory 
inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.o

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o 
/tmp/mplayer-conf-1905903821-4671.c:1: dmedia/audio.h: File o directory 
inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.o

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

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lcss -ldl
/tmp/mplayer-conf-1905903821-4671.c:2: css.h: File o directory 
inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.o

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -ldvdread -ldl
/tmp/mplayer-conf-1905903821-4671.c:1: dvdread/dvd_reader.h: File o 
directory inesistente
/tmp/mplayer-conf-1905903821-4671.c:2: dvdread/ifo_types.h: File o 
directory inesistente
/tmp/mplayer-conf-1905903821-4671.c:3: dvdread/ifo_read.h: File o 
directory inesistente
/tmp/mplayer-conf-1905903821-4671.c:4: dvdread/nav_read.h: File o 
directory inesistente

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't read header from /tmp/mplayer-conf-542819324-4671.o

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lz

ldd /tmp/mplayer-conf-542819324-4671.o
	libz.so.1 => /usr/lib/libz.so.1 (0x4001d000)
	libc.so.6 => /lib/libc.so.6 (0x4002d000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o 
ldd /tmp/mplayer-conf-542819324-4671.o
	libc.so.6 => /lib/libc.so.6 (0x4001d000)
	/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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lmad

ldd /tmp/mplayer-conf-542819324-4671.o
	libmad.so.0 => /usr/local/lib/libmad.so.0 (0x4001d000)
	libc.so.6 => /lib/libc.so.6 (0x40035000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lvorbis -logg -lm

ldd /tmp/mplayer-conf-542819324-4671.o
	libvorbis.so.0 => /usr/local/lib/libvorbis.so.0 (0x4001d000)
	libogg.so.0 => /usr/local/lib/libogg.so.0 (0x4003d000)
	libm.so.6 => /lib/libm.so.6 (0x40041000)
	libc.so.6 => /lib/libc.so.6 (0x4005e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

============ Checking for Win32 DLL support ============
Result is: yes (using /usr/local/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 <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-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lm

ldd /tmp/mplayer-conf-542819324-4671.o
	libm.so.6 => /lib/libm.so.6 (0x4001d000)
	libc.so.6 => /lib/libc.so.6 (0x4003b000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lm -lxvidcore
/usr/bin/ld: cannot find -lxvidcore
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-542819324-4671.o
ldd: can't open /tmp/mplayer-conf-542819324-4671.o (File o directory 
inesistente)


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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lm -ldivxdecore -lm

ldd /tmp/mplayer-conf-542819324-4671.o
	libm.so.6 => /lib/libm.so.6 (0x4001d000)
	libdivxdecore.so => /usr/local/lib/libdivxdecore.so (0x4003b000)
	libc.so.6 => /lib/libc.so.6 (0x40080000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lmp3lame -lvorbis -logg -lm

ldd /tmp/mplayer-conf-542819324-4671.o
	libmp3lame.so.0 => /usr/local/lib/libmp3lame.so.0 (0x4001d000)
	libvorbis.so.0 => /usr/local/lib/libvorbis.so.0 (0x400ce000)
	libogg.so.0 => /usr/local/lib/libogg.so.0 (0x400ed000)
	libm.so.6 => /lib/libm.so.6 (0x400f1000)
	libc.so.6 => /lib/libc.so.6 (0x4010e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

gcc    /tmp/mplayer-conf-1905903821-4671.c -o 
/tmp/mplayer-conf-542819324-4671.o -lm -ldivxencore

ldd /tmp/mplayer-conf-542819324-4671.o
	libm.so.6 => /lib/libm.so.6 (0x4001d000)
	libdivxencore.so => /usr/local/lib/libdivxencore.so (0x4003b000)
	libc.so.6 => /lib/libc.so.6 (0x40067000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

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

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

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

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




More information about the MPlayer-users mailing list