[MPlayer-users] Error compiling CVS version
Emanuel Eick
spamster at gmx.de
Tue Nov 29 11:53:27 CET 2005
Hi,
I try to compile the actual CVS version, including the ffmpeg CVS. Using a
standart ./configure detects the following parameters:
########################################################
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 3.4.4, ok
Checking for host cc ... cc
Checking for CPU vendor ... GenuineIntel (6:13:6)
Checking for CPU type ... Intel(R) Pentium(R) M processor 1.50GHz
Checking for GCC & CPU optimization abilities ... pentium3
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for mtrr support ... yes
Checking for assembler support of -pipe option ... yes
Checking for assembler
(/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/as
2.16.1) ... ok
Checking for Linux kernel version ... 2.6.14-suspend2, ok
Checking for mplayer binary name ... mplayer
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for -lposix ... no
Checking for -lm ... yes
Checking for i18n ... yes
Checking for langinfo ... yes
Checking for language ... using en (man pages: en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
Checking for -std=gnu99 ... yes
Checking for lrintf ... yes
Checking for round ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for iconv ... yes
Checking for sys/soundcard.h ... yes
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... no
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for strlcpy() ... no
Checking for strlcat() ... no
Checking for fseeko() ... yes
Checking for localtime_r() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for posix select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... no
Checking for Mac OS X Finder Support ... no
Checking for Mac OS X Bundle file locations ... no
Checking for Samba support (libsmbclient) ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/X11R6/include)
Checking for X11 ... yes (using /usr/X11R6/lib)
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for XF86keysym ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... yes
Checking for FBDev ... yes
Checking for DVB ... no (specify path to DVB/ost/include with
--with-dvbincdir=DIR)
Checking for DVB HEAD ... yes
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for PNM support ... yes
Checking for md5sum support ... yes
Checking for GIF support ... yes
Checking for broken giflib workaround ... disabled
Checking for VESA support ... yes
Checking for SDL ... yes (using sdl-config)
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... yes
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for Polyp ... no
Checking for JACK ... no
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... ok
Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libdvdread) ... disabled by libmpdvdkit2
Checking for cdparanoia ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... yes
Checking for Toolame ... no
Checking for Twolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for OggTheora support (only the CVS version!) ... no
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libdts support ... yes
Checking for libmpeg2 support ... yes
Checking for patched libmpcdec (musepack) ... no
Checking for Matroska support ... yes
Checking for FAAC (AAC encoder) support ... yes
Checking for internal FAAD2 (AAC) support ... yes
Checking for external FAAD2 (AAC) support ... no
Checking for LADSPA plugin support ... no
Checking for Win32 codec DLL support ... yes (using /usr/lib/win32)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... no (no suitable directory found - see
DOCS/HTML/en/codecs.html)
Checking for RealPlayer DLL ... yes (using /usr/lib/win32)
Checking for LIVE.COM Streaming Media libraries ... yes (using /usr/lib/live)
Checking for FFmpeg libavutil (static) ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformat (static) ... yes
Checking for amr narrowband ... no
Checking for amr narrowband, fixed point ... no
Checking for amr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... yes
Checking for DivX4 compatibility in XviD ... no
Checking for x264 ... yes
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... yes
Checking for DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... no
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for shared postprocess lib ... no
Checking for OSD menu ... no
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for -fno-PIC ... yes
Checking for compiler support for noexecstack ... yes
Checking for ftello() ... yes
Checking for VIDIX ... yes
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating libaf/config.mak
Config files successfully generated by ./configure !
Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Config direct.: /usr/local/etc/mplayer
Byte order: little-endian
Optimizing for: pentium3 mmx mmx2 sse sse2 mtrr
Languages:
Messages/GUI: en
Manual pages: en
Enabled optional drivers:
Input: ftp network edl tv live.com matroska cdda mpdvdkit2 vcd dvb smb
Codecs: qtx x264 xvid libavcodec real dshow/dmo win32 faad2(internal)
libmpeg2 libdts liba52 mp3lib tremor(internal) libmad gif faac
Audio output: alsa esd arts oss sdl mpegpes(dvb)
Video output: xvidix cvidix sdl vesa gif89a md5sum pnm jpeg png mpegpes(dvb)
fbdev svga opengl dga xv x11 xover tga
Audio filters:
Disabled optional drivers:
Input: vstream tv-v4l2 tv-v4l tv-bsdbt848 dvdread
Codecs: opendivx libdv amr_wb amr_nb xanim musepack libtheora twolame
toolame liblzo
Audio output: sgi sun jack polyp dxr2 nas dsound win32 macosx
Video output: winvidix bl zr zr2 dxr3 dxr2 directx caca aa ggi xmga mga xvmc
directfb tdfx_vid tdfxfb 3dfx quartz
Audio filters: ladspa
###############################################################################
The compilation process ends with the following error message:
make -C libavformat LIBPREF=lib LIBSUF=.a
make[1]: Entering directory `/root/sources/MPlayer-20050806/libavformat'
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I.. -I.. -I../libavutil
-I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o utils.o utils.c
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I.. -I.. -I../libavutil
-I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o cutils.o cutils.c
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I.. -I.. -I../libavutil
-I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o os_support.o os_support.c
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I.. -I.. -I../libavutil
-I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o allformats.o allformats.c
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I.. -I.. -I../libavutil
-I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o mpeg.o mpeg.c
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I.. -I.. -I../libavutil
-I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o mpegts.o mpegts.c
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I.. -I.. -I../libavutil
-I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o mpegtsenc.o mpegtsenc.c
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I.. -I.. -I../libavutil
-I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o ffm.o ffm.c
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I.. -I.. -I../libavutil
-I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o crc.o crc.c
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I.. -I.. -I../libavutil
-I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o img.o img.c
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I.. -I.. -I../libavutil
-I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o img2.o img2.c
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium3
-mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I.. -I.. -I../libavutil
-I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o raw.o raw.c
raw.c:632: error: `raw_write_header' undeclared here (not in a function)
raw.c:632: error: initializer element is not constant
raw.c:632: error: (near initialization for `pcm_s16le_oformat.write_header')
raw.c:632: error: `raw_write_packet' undeclared here (not in a function)
raw.c:632: error: initializer element is not constant
raw.c:632: error: (near initialization for `pcm_s16le_oformat.write_packet')
raw.c:632: error: `raw_write_trailer' undeclared here (not in a function)
raw.c:632: error: initializer element is not constant
raw.c:632: error: (near initialization for `pcm_s16le_oformat.write_trailer')
raw.c:635: error: initializer element is not constant
raw.c:635: error: (near initialization for `pcm_s16be_oformat.write_header')
raw.c:635: error: initializer element is not constant
raw.c:635: error: (near initialization for `pcm_s16be_oformat.write_packet')
raw.c:635: error: initializer element is not constant
raw.c:635: error: (near initialization for `pcm_s16be_oformat.write_trailer')
raw.c:638: error: initializer element is not constant
raw.c:638: error: (near initialization for `pcm_u16le_oformat.write_header')
raw.c:638: error: initializer element is not constant
raw.c:638: error: (near initialization for `pcm_u16le_oformat.write_packet')
raw.c:638: error: initializer element is not constant
raw.c:638: error: (near initialization for `pcm_u16le_oformat.write_trailer')
raw.c:641: error: initializer element is not constant
raw.c:641: error: (near initialization for `pcm_u16be_oformat.write_header')
raw.c:641: error: initializer element is not constant
raw.c:641: error: (near initialization for `pcm_u16be_oformat.write_packet')
raw.c:641: error: initializer element is not constant
raw.c:641: error: (near initialization for `pcm_u16be_oformat.write_trailer')
raw.c:644: error: initializer element is not constant
raw.c:644: error: (near initialization for `pcm_s8_oformat.write_header')
raw.c:644: error: initializer element is not constant
raw.c:644: error: (near initialization for `pcm_s8_oformat.write_packet')
raw.c:644: error: initializer element is not constant
raw.c:644: error: (near initialization for `pcm_s8_oformat.write_trailer')
raw.c:647: error: initializer element is not constant
raw.c:647: error: (near initialization for `pcm_u8_oformat.write_header')
raw.c:647: error: initializer element is not constant
raw.c:647: error: (near initialization for `pcm_u8_oformat.write_packet')
raw.c:647: error: initializer element is not constant
raw.c:647: error: (near initialization for `pcm_u8_oformat.write_trailer')
raw.c:650: error: initializer element is not constant
raw.c:650: error: (near initialization for `pcm_mulaw_oformat.write_header')
raw.c:650: error: initializer element is not constant
raw.c:650: error: (near initialization for `pcm_mulaw_oformat.write_packet')
raw.c:650: error: initializer element is not constant
raw.c:650: error: (near initialization for `pcm_mulaw_oformat.write_trailer')
raw.c:653: error: initializer element is not constant
raw.c:653: error: (near initialization for `pcm_alaw_oformat.write_header')
raw.c:653: error: initializer element is not constant
raw.c:653: error: (near initialization for `pcm_alaw_oformat.write_packet')
raw.c:653: error: initializer element is not constant
raw.c:653: error: (near initialization for `pcm_alaw_oformat.write_trailer')
make[1]: *** [raw.o] Error 1
make[1]: Leaving directory `/root/sources/MPlayer-20050806/libavformat'
make: *** [libavformat/libavformat.a] Error 2
###############################################################################
Does anyone have a solution for that problem, or maybe a workaround?
Thnx
Emanuel
More information about the MPlayer-users
mailing list