[MPlayer-users] Bug / compilation
Arpi
arpi at thot.banki.hu
Sat Nov 3 23:04:38 CET 2001
Hi,
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html &
^^^^ ^^^
you've broken glibc, it's an mdk-related known problem.
>
> 1.
> linux distribution: self made (mixture of mandrake, debian ... the rest
> selfmade_
> kernel 2.4.9
> libc2.2.4
> gcc 3.0.1
> ld 2.11.90.0.8
> 2.
> AMD Duron 900
> .. the rest is not necessary
>
> ./configure:
> You can get detailed help on configure with: ./configure --help
> Please wait while ./configure discovers your software and hardware
> environment!
> Detected operating system: Linux
> Detected host architecture: i386
> Checking version of gcc ... 3.0.1, ok
> Checking for language ... en
> Using ... help_mp-en.h file
> nm: /usr/X11R6/lib/libXext.a: No such file or directory
> /home/sauer/tmp/mplayer-conf-3303-26182-4244.c:2:25: sys/audioio.h: No such
> file or directory
> /home/sauer/tmp/mplayer-conf-3303-26182-4244.c: In function `main':
> /home/sauer/tmp/mplayer-conf-3303-26182-4244.c:3: `audio_info_t' undeclared
> (first use in this function)
> /home/sauer/tmp/mplayer-conf-3303-26182-4244.c:3: (Each undeclared
> identifier is reported only once
> /home/sauer/tmp/mplayer-conf-3303-26182-4244.c:3: for each function it
> appears in.)
> /home/sauer/tmp/mplayer-conf-3303-26182-4244.c:3: parse error before "info"
> /home/sauer/tmp/mplayer-conf-3303-26182-4244.c:3: `info' undeclared (first
> use in this function)
> Checking assembler (as) ... 2.11.90.0.8, ok
> Checking mmx support in Kernel ... ok
> Checking 3dnow support in Kernel ... ok
> Checking 3dnowex support in Kernel ... ok
> Checking mmx2 support in Kernel ... ok
> Checking Linux kernel version ... 2.4.9, ok
> Install prefix: /usr/local
> Data directory: /usr/local/share/mplayer
> Checking for cpu vendor ... AuthenticAMD ( 6:3:1 )
> Checking for cpu type ... AMD Duron(tm) Processor
> Optimizing to ... athlon
> Checking for mmx support ... yes
> Checking for mmx2 support ... yes
> Checking for 3dnow support ... yes
> Checking for 3dnowex support ... yes
> Checking for sse support ... no
> Checking for mtrr support ... yes
> Screen size ... 1x1
> Checking for X11 libs ... -L/usr/X11R6/lib
> Checking for X11 headers ...
> Checking mga_vid device ... no
> Checking for xmga ... no
> [snip]
> the rest went ok
>
> make[1]: Entering directory `/home/sauer/tmp/MPlayer-0.50/loader/DirectShow'
> gcc -c -O4 -march=athlon -mcpu=athlon -pipe -ffast-math
> -fomit-frame-pointer -I. -I.. -I/usr/local/include -DNOAVIFILE_HEADERS
> -fexceptions -o DS_AudioDec.o DS_AudioDec.cpp
> In file included from /usr/include/g++-v3/bits/std_cwchar.h:42,
> from /usr/include/g++-v3/bits/fpos.h:40,
> from /usr/include/g++-v3/bits/std_iosfwd.h:41,
> from /usr/include/g++-v3/bits/stl_algobase.h:77,
> from /usr/include/g++-v3/bits/std_list.h:61,
> from /usr/include/g++-v3/list:31,
> from allocator.h:8,
> from outputpin.h:8,
> from DS_Filter.h:6,
> from DS_AudioDecoder.h:5,
> from DS_AudioDec.cpp:5:
> /usr/include/wchar.h: In function `long long int wcstoq(const wchar_t*,
> wchar_t**, int)':
> /usr/include/wchar.h:514: cannot convert `const wchar_t* __restrict' to
> `const
> __gwchar_t*' for argument `1' to `long long int __wcstoll_internal(const
>
> __gwchar_t*, __gwchar_t**, int, int)'
> /usr/include/wchar.h: In function `long long unsigned int wcstouq(const
> wchar_t*, wchar_t**, int)':
> /usr/include/wchar.h:520: cannot convert `const wchar_t* __restrict' to
> `const
> __gwchar_t*' for argument `1' to `long long unsigned int
> __wcstoull_internal(const __gwchar_t*, __gwchar_t**, int, int)'
> make[1]: *** [DS_AudioDec.o] Error 1
> make[1]: Leaving directory `/home/sauer/tmp/MPlayer-0.50/loader/DirectShow'
> make: *** [loader/DirectShow/libDS_Filter.a] Error 2
>
>
> --
> mfg .~.
> Mischel S aus P /V\
> /( )\
> ^^-^^
>
> Homepage: http://fsinfo.cs.uni-sb.de/~waldi
>
> E-Mail: sauer at studcs.uni-sb.de
> misa0000 at stud.uni-sb.de
> AlfonTZ at web.de
>
> ICQ: #27995885
>
> Binary of the Beast 1010011010
>
>
> # -------- Generated by ./configure -----------
>
> prefix = /usr/local
> AR=ar
> CC=gcc
> # OPTFLAGS=-O4 -march=athlon -mcpu=athlon -pipe -fomit-frame-pointer -ffast-math
> OPTFLAGS=-O4 -march=athlon -mcpu=athlon -pipe -ffast-math -fomit-frame-pointer
> EXTRA_INC=-I/usr/local/include
> WIN32_PATH=-DWIN32_PATH=\"/usr/lib/win32\"
>
> X11_INC=
> X11DIR=-L/usr/X11R6/lib
> X_LIBS=-L/usr/X11R6/lib -L/usr/local/lib -lGL -L/usr/lib -lSDL -lpthread -lXxf86dga -lX11 -lXext -lXv -lXxf86vm -lvgagl -lvga -lpng -lz -lnsl -laa -lvorbis -lm
>
> TERMCAP_LIB=
> XMM_LIBS =
> LIRC_LIBS =
> CSS_USE=no
> CSS_LIB =
> CSS_INC =
> SDL_INC = -I/usr/include/SDL -D_REENTRANT
> W32_DEP = loader/libloader.a
> W32_LIB = -Lloader -lloader
> DS_DEP = loader/DirectShow/libDS_Filter.a
> DS_LIB = -Lloader/DirectShow -lDS_Filter -lstdc++
> AV_DEP = libavcodec/libavcodec.a
> AV_LIB = -Llibavcodec -lavcodec
> ALSA_LIB = -lasound
> ESD_LIB =
> ARCH_LIBS = -ldl -lpthread
> STREAM_SRCS =
> DECORE_LIBS = -ldivxdecore opendivx/postprocess.o
> DIVX4LINUX=yes
> MLIB_INC =
> MLIB_LIB =
>
> # --- Some stuff for autoconfigure ----
> TARGET_ARCH_X86=yes
> TARGET_CYGWIN=no
> TARGET_CPU=686
> TARGET_MMX=yes
> TARGET_MMX2=yes
> TARGET_3DNOW=yes
> TARGET_3DNOWEX=yes
> TARGET_SSE=no
>
> BINUTILS=yes
>
> HAVE_MLIB=no
>
> # --- GUI stuff ---
> GTKLIB=
> GLIBLIB=
> GUI_LIBS =
> GUI=no
> DEBUG=-DDEBUG
>
>
>
>
> /* -------- Generated by ./configure ----------- */
>
> #define USE_OSD
> #define USE_SUB
>
> #undef MP_DEBUG
>
> #undef USE_DVDREAD
>
> /* Common data directory (for fonts, etc) */
> #define DATADIR "/usr/local/share/mplayer"
>
> /* Define for using new DivX4Linux library, instead of open-source OpenDivX */
> /* You have to change DECORE_LIBS in config.mak too! */
> #define NEW_DECORE
>
> /* 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
>
> /* Undefine this if you want soundcard-only timing by default:
> You can still change this with the -alsa or -noalsa command-line option!
> (This function was originally impemented to solve ALSA driver's big
> buffer problems, but it seems to be useful for every soundcard drivers) */
> #define ALSA_TIMER
>
> /* Undefine this if you don't 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
>
> /* 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
>
> /* XMMP support: (test code) */
> #undef USE_XMMP_AUDIO
> #define LIBDIR "/usr/local/lib"
> #define PLUGINDIR LIBDIR "/xmmp/Plugins"
> #define XMMP_AUDIO_DRIVER PLUGINDIR "/Sound/oss.so"
>
> /* 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! */
> #ifdef USE_XMMP_AUDIO
> #define OUTBURST 4096
> #else
> //#define OUTBURST 1024
> #define OUTBURST 512
> #endif
>
> /* 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 here, if unsupported */
> /* #define memalign(a,b) malloc(b) */
> #define HAVE_MEMALIGN 1
>
> /* 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
>
> /* 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
>
> /* Win32 DLL support */
> #define USE_WIN32DLL 1
>
> /* DirectShow support */
> #define USE_DIRECTSHOW
>
> /* ffmpeg's libavcodec support (requires libavcodec source) */
> #define USE_LIBAVCODEC
> /* use only decoders from libavcodec: */
> #define CONFIG_DECODERS
>
> /* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
> #define USE_FASTMEMCPY
>
> /* gui support, please do not edit this option */
> #undef HAVE_GUI
> #define PREFIX "/usr/local"
>
> /* Audio lib drivers */
> #define USE_OSS_AUDIO
> #define HAVE_ALSA5
> #undef HAVE_ALSA9
> #undef HAVE_ESD
> #undef USE_SUN_AUDIO
>
> /* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
> #undef FAST_OSD
> #undef FAST_OSD_TABLE
>
> /* 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 to any prefered value from 386 up to infinity with step 100 */
> #define __CPU__ 686
>
> #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.
> **
> *---------------------------------------------------------------------------*/
>
> /* termcap flag for getch2.c */
> #undef USE_TERMCAP
>
> /* enable PNG support */
> #define HAVE_PNG
>
> /* enable OggVorbis support */
> #define HAVE_OGGVORBIS
>
> #undef STREAMING
>
> /* Extension defines */
> #define HAVE_3DNOW // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
> #define HAVE_3DNOWEX // only define if you have 3DNOWEX (AMD Athlon, etc.)
> #define HAVE_MMX // only define if you have MMX (newer x86 chips, not P54C/PPro)
> #define 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)
>
> #ifdef HAVE_MMX
> #define USE_MMX_IDCT
> #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
> #endif
>
> /* libvo options */
> #define SCREEN_SIZE_X 1
> #define SCREEN_SIZE_Y 1
> #define HAVE_X11
> #define HAVE_XV
> #define HAVE_XF86VM
> #define HAVE_GL
> #define HAVE_DGA
> #define HAVE_DGA2
> #define HAVE_SDL
> /* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
> #undef BUGGY_SDL
> #undef HAVE_GGI
> #undef HAVE_3DFX
> #undef HAVE_TDFXFB
> #undef HAVE_MGA
> #undef HAVE_XMGA
> #undef HAVE_SYNCFB
> #define HAVE_FBDEV
> #define HAVE_SVGALIB
> #undef HAVE_XDPMS
> #define HAVE_AA
>
> /* used by GUI: */
> #define HAVE_XSHAPE
>
> #if defined(HAVE_GL)||defined(HAVE_X11)||defined(HAVE_XV)
> #define X11_FULLSCREEN
> #endif
>
>
>
>
> include ../config.mak
>
> OPTIONAL_SRCS= vo_aa.c vo_png.c vo_gl.c vo_gl2.c vo_sdl.c vo_x11.c vo_xv.c vo_svga.c vo_dga.c vo_dga.c vo_fbdev.c
> OPTIONAL_OBJS=vo_aa.o vo_png.o vo_gl.o vo_gl2.o vo_sdl.o vo_x11.o vo_xv.o vo_svga.o vo_dga.o vo_dga.o vo_fbdev.o
>
>
>
>
> include ../config.mak
>
> OPTIONAL_SRCS= ao_alsa5.c ao_oss.c ao_sdl.c
> OPTIONAL_OBJS=ao_alsa5.o ao_oss.o ao_sdl.o
>
>
>
> _______________________________________________
> RTFM!!! http://www.MPlayerHQ.hu/DOCS
> Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
>
A'rpi / Astral & ESP-team
--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu
More information about the MPlayer-users
mailing list