[MPlayer-users] Error linking libMP3.a on a non-MMX pentium cpu

Roberto Togni rtogni at freemail.it
Mon Jan 21 00:57:02 CET 2002


I get an error linking Mplayer on my non-MMX Pentium cpu (runtime cpu 
detection not enabled).

Version is CVS-020120-22:02-2.92.2 (version CVS-020116-20:32- compiles 
ok)

Error message (while linking mplayer) is

mp3lib/libMP3.a(sr1.o): In function `MP3_Init':
sr1.o(.text+0x8d25): undefined reference to `synth_1to1_MMX'
sr1.o(.text+0x8d5e): undefined reference to `synth_1to1_MMX'
sr1.o(.text+0x8d8a): undefined reference to `synth_1to1_MMX'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

The code using function synth_1to1_MMX is compiled in if
CAN_COMPILE_X86_ASM is defined, but the function itself get
compiled only if RUNTIME_CPUDETECT is also defined (since
HAVE_MMX is undefined on my cpu)

This pathc fix the problem for me (don't know if it's the rigth solution
for every setup)

File to be patched is decod386.c in mp3lib directory

-----8<-----Cut here------8<--------

--- decod386.c.orig	Tue Jan 15 22:24:02 2002
+++ decod386.c	Sun Jan 20 23:52:27 2002
@@ -149,7 +149,7 @@
   synth_func_t synth_func;
  -#if (defined(RUNTIME_CPUDETECT) && defined(CAN_COMPILE_X86_ASM)) || 
defined(HAVE_MMX)
+#if defined(CAN_COMPILE_X86_ASM) || defined(HAVE_MMX)
  int synth_1to1_MMX( real *bandPtr,int channel,short * samples)
  {
      static short buffs[2][2][0x110];

-----8<-----Cut here------8<--------

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

/* 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 for using new DivX4Linux library, instead of open-source 
OpenDivX */
/* You have to change DECORE_LIBS in config.mak too! */
#define NEW_DECORE 1

/* If build mencoder */
#define HAVE_MENCODER

/* Indicates if Divx4linux encore is available
    Note: for mencoder */
#define HAVE_DIVX4ENCORE 1

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

/* 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 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 */
#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 */
#define HAVE_NEW_GUI 1
#define PREFIX "/usr/local"

/* Audio output 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__ 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 */
#define CONFIG_VIDIX 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.)
#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_XDPMS 1
#define HAVE_AA 1

/* used by GUI: */
#define HAVE_XSHAPE 1

#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 = mawk
# OPTFLAGS = -O4   -march=pentium -mcpu=pentium -pipe 
-fomit-frame-pointer -ffast-math
OPTFLAGS = -Djpeg_fdct_ifast=jpeg_fdct_ifast2 -O4 -march=pentium 
-mcpu=pentium -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
EXTRA_INC =  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include
WIN32_PATH = -DWIN32_PATH=\"/usr/local/lib/win32\"

STREAMING = yes
STREAMING_LIB = -lnsl
VIDIX = yes

VO2 = no

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 = JPEG_LIB = 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  DIVX4LINUX = yes
DECORE_LIB = -ldivxdecore opendivx/postprocess.o
MENCODER = yes
ENCORE_LIB =  -ldivxencore -lmp3lame -lvorbis -logg
DIRECTFB_LIB = 
# --- 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 =  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule 
-lglib -ldl -lXi -lXext -lX11 -lm
GLIBLIB =   -L/usr/lib -lglib
GTK_LIBS =   $(GTKLIB) $(GLIBLIB)
GUI = yes
DEBUG = -DDEBUG



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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -march=pentium -mcpu=pentium

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lkstat
/tmp/mplayer-conf-152471736-4175.c:1: kstat.h: File o directory 
inesistente

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't read header from /tmp/mplayer-conf-1158605563-4175.o

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

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

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

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lposix4
/usr/bin/ld: cannot find -lposix4
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't open /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lsocket
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status

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


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

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lnsl

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lsocket -lnsl
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't open /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lnsl

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o /tmp/ccNaSlnr.o: In function `main':
/tmp/ccNaSlnr.o(.text+0xe): undefined reference to `dlopen'
/tmp/ccNaSlnr.o(.text+0x1b): undefined reference to `dlclose'
/tmp/ccNaSlnr.o(.text+0x2a): undefined reference to `dlsym'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't open /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -ldl

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o /tmp/ccO9m0Az.o: In function `main':
/tmp/ccO9m0Az.o(.text+0x28): undefined reference to `pthread_create'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't open /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lpthread

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -ltermcap
/usr/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status

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

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

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

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

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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 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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -L/usr/X11R6/lib -lX11 -lXext -lnsl

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -L/usr/X11R6/lib -lX11 -lXext -lnsl
/tmp/ccAFsOrG.o: In function `main':
/tmp/ccAFsOrG.o(.text+0x10): undefined reference to `DPMSQueryExtension'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't open /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms -lXv
/tmp/mplayer-conf-152471736-4175.c:2: X11/extensions/Xvlib.h: File o 
directory inesistente

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't read header from /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms -lXinerama
/tmp/mplayer-conf-152471736-4175.c:2: X11/extensions/Xinerama.h: File o 
directory inesistente

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't read header from /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms -lXxf86vm

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms -lXxf86dga -lXxf86vm

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms -lXxf86dga
/tmp/ccBnJc2R.o: In function `main':
/tmp/ccBnJc2R.o(.text+0x14): undefined reference to `XDGASetViewport'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't open /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms -lGL -lm

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lggi
/tmp/mplayer-conf-152471736-4175.c:1: ggi/ggi.h: File o directory 
inesistente

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

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lvgagl -lvga

ldd /tmp/mplayer-conf-1158605563-4175.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 JPEG support ============

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

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -ljpeg

ldd /tmp/mplayer-conf-1158605563-4175.o
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4001d000)
	libc.so.6 => /lib/libc.so.6 (0x4003e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lpng -lz -lm

ldd /tmp/mplayer-conf-1158605563-4175.o
	libpng.so.2 => /usr/lib/libpng.so.2 (0x4001d000)
	libz.so.1 => /usr/lib/libz.so.1 (0x40045000)
	libm.so.6 => /lib/libm.so.6 (0x40054000)
	libc.so.6 => /lib/libc.so.6 (0x40071000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

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

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

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

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

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.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-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -laudio -L/usr/X11R6/lib -lX11 
-lXext -lnsl -lXdpms -lXt -lm
/tmp/mplayer-conf-152471736-4175.c:1: audio/audiolib.h: File o 
directory inesistente

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't read header from /tmp/mplayer-conf-1158605563-4175.o

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

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

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

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
/tmp/mplayer-conf-152471736-4175.c:1: linux/em8300.h: File o directory 
inesistente

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't read header from /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lasound -ldl -lpthread
/tmp/mplayer-conf-152471736-4175.c:1: sys/asoundlib.h: File o directory 
inesistente

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't read header from /tmp/mplayer-conf-1158605563-4175.o


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

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lasound -ldl -lpthread
/tmp/mplayer-conf-152471736-4175.c:1: sys/asoundlib.h: File o directory 
inesistente

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

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

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't read header from /tmp/mplayer-conf-1158605563-4175.o

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

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

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

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
/tmp/mplayer-conf-152471736-4175.c:1: dmedia/audio.h: File o directory 
inesistente

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't read header from /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lcss -ldl
/tmp/mplayer-conf-152471736-4175.c:2: css.h: File o directory 
inesistente

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't read header from /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -ldvdread -ldl
/tmp/mplayer-conf-152471736-4175.c:1: dvdread/dvd_reader.h: File o 
directory inesistente
/tmp/mplayer-conf-152471736-4175.c:2: dvdread/ifo_types.h: File o 
directory inesistente
/tmp/mplayer-conf-152471736-4175.c:3: dvdread/ifo_read.h: File o 
directory inesistente
/tmp/mplayer-conf-152471736-4175.c:4: dvdread/nav_read.h: File o 
directory inesistente

ldd /tmp/mplayer-conf-1158605563-4175.o
ldd: can't read header from /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lz

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o 
ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lmad

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lvorbis -logg -lm

ldd /tmp/mplayer-conf-1158605563-4175.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-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lm

ldd /tmp/mplayer-conf-1158605563-4175.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 Divx4linux decore ============

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

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -ldivxdecore -lm

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

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

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

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

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -lmp3lame -lvorbis -logg -lm

ldd /tmp/mplayer-conf-1158605563-4175.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 Divx4linux encore (for mencoder) ============

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

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -ldivxencore -lm

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

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

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

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

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

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

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

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

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

============ Checking for GUI ============
============ Checking for XShape extension ============

#include <X11/Xlib.h>
#include <X11/Xproto.h>
#include <X11/Xutil.h>
#include <X11/extensions/shape.h>
#include <stdlib.h>
int main(void) {
   char *name = ":0.0";
   Display *wsDisplay;
   int exitvar = 0;
   int eventbase, errorbase;
   if (getenv("DISPLAY"))
     name=getenv("DISPLAY");
   wsDisplay=XOpenDisplay(name);
   if (!XShapeQueryExtension(wsDisplay,&eventbase,&errorbase))
     exitvar=1;
   XCloseDisplay(wsDisplay);
   return exitvar;
}

gcc    /tmp/mplayer-conf-152471736-4175.c -o 
/tmp/mplayer-conf-1158605563-4175.o -L/usr/X11R6/lib -lX11 -lXext -lnsl 
-lXdpms

ldd /tmp/mplayer-conf-1158605563-4175.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 gtk version ============
Result is: 1.2.10 (using gtk-config)
##########################################

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




More information about the MPlayer-users mailing list