[MPlayer-users] libao2 compile problem
Andras Salamon
asalamon at elender.hu
Wed Feb 27 18:01:02 CET 2002
Hi,
After the latest change on libao2, I'm unable to compile the CVS version.
I have gcc 3.0.3, and I was using ./configure; make
Error message:
make -C libao2
make[1]: Entering directory `/usr/local/src/MPlayer-CVS2/main/libao2'
gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I. -I.. -I/usr/include/SDL -D_REENTRANT -o
ao_plugin.o ao_plugin.c
ao_plugin.c:39: conflicting types for `ao_plugin_data'
audio_plugin.h:29: previous declaration of `ao_plugin_data'
Thanks,
Sala
-------------------------------------------------------
config.h and config.mak attached
--------------------------------------------------------
Basic system info:
Linux distribution:
Mandrake Linux release 8.1 (Vitamin) for i586
lots of thing upgraded
kernel version:
2.4.17
libc version:
-rwxr-xr-x 1 root root 1285480 Oct 4 11:03 /lib/libc-2.2.4.so
lrwxrwxrwx 1 root root 13 Oct 27 08:57 /lib/libc.so.6 -> libc-2.2.4.so
gcc and ld version
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share/gcc-3.0.3 --enable-shared
--enable-threads=posix --disable-checking --enable-long-long
--enable-cstdio=stdio --enable-clocale=generic
--enable-languages=c,c++,f77,objc,java --program-suffix=-3.0.3
--enable-objc-gc --host=i586-mandrake-linux-gnu
Thread model: posix
gcc version 3.0.3 (Mandrake Linux 8.2 3.0.3-1mdk)
GNU ld version
2.11.92.0.12 20011121
binutils version:
GNU assembler 2.11.92.0.12 20011121
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i586-mandrake-linux-gnu'.
CPU info
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Celeron (Coppermine)
stepping : 6
cpu MHz : 798.644
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1595.80
-------------- next part --------------
/* -------- 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 */
#define USE_DVDREAD 1
/* 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 */
#define HAVE_MENCODER
/* Indicates if XviD/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 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/lib/xanim/mods"
/* 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"
#define HAVE_ALSA5 1
#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 */
#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 */
#undef USE_LIBMAD
/* enable OggVorbis support */
#define HAVE_OGGVORBIS 1
/* enable streaming */
#define STREAMING 1
/* enables / disables vidix usage */
#define CONFIG_VIDIX 1
/* enables / disables new input */
#define HAVE_NEW_INPUT 1
/* enables / disables new input joystick support */
#undef HAVE_JOYSTICK
/* Extension defines */
#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)
#define HAVE_SSE 1 // only define if you have SSE (Intel Pentium III/4 or Celeron II)
#undef HAVE_SSE2 // only define if you have SSE2 (Intel Pentium 4)
#ifdef HAVE_MMX
#define USE_MMX_IDCT 1
#endif
#undef HAVE_MLIB // Sun mediaLib, available only on solaris
/* libmpeg2 uses a different feature test macro for mediaLib */
#ifdef HAVE_MLIB
#define LIBMPEG2_MLIB 1
#endif
/* libvo options */
#define SCREEN_SIZE_X 1
#define SCREEN_SIZE_Y 1
#define HAVE_X11 1
#define HAVE_XV 1
#define HAVE_XF86VM 1
#define HAVE_XINERAMA 1
#define HAVE_GL 1
#define HAVE_DGA 1
#define HAVE_DGA2 1
#define HAVE_SDL 1
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
#undef BUGGY_SDL
#define HAVE_GGI 1
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_DIRECTFB
#undef HAVE_ZR
#undef HAVE_MGA
#undef HAVE_XMGA
#undef HAVE_SYNCFB
#define HAVE_FBDEV 1
#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
#undef __ENABLE_XP
#ifdef __ENABLE_XP
#define __ENABLE_DEC_AHEAD 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
AWK = mawk
# 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/lib/win32\"
STREAMING = yes
STREAMING_LIB = -lnsl
VIDIX = yes
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
# video output
X_LIB = -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -lnsl
GGI_LIB = -lggi
MLIB_LIB =
MLIB_INC =
PNG_LIB = -lpng -lz
SDL_LIB = -L/usr/lib -lSDL -lpthread
SVGA_LIB = -lvgagl -lvga
AA_LIB = -laa
# audio output
ALSA_LIB = -lasound
NAS_LIB =
MAD_LIB =
VORBIS_LIB = -lvorbis -logg
SGIAUDIO_LIB =
# input
TERMCAP_LIB =
LIRC_LIB =
CSS_USE = no
CSS_LIB = -ldvdread
SDL_INC = -I/usr/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 = yes
ENCORE_LIB = -lm -ldivxencore -lmp3lame -lvorbis -logg
DIRECTFB_LIB =
NEW_INPUT_LIB = -Linput -linput
# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_CYGWIN = no
TARGET_CPU=686
TARGET_MMX = yes
TARGET_MMX2 = yes
TARGET_3DNOW = no
TARGET_3DNOWEX = no
TARGET_SSE = yes
BINUTILS = yes
# --- GUI stuff ---
GTKLIB =
GLIBLIB =
GTK_LIBS =
GUI = no
DEBUG = -DDEBUG
# --- HAZARDOUS STUFF
ENABLE_XP=no
More information about the MPlayer-users
mailing list