[MPlayer-users] Error compiling mplayer, SVN revision: 23364

Alexander Godumov hellfire7 at gmail.com
Mon May 21 17:14:48 CEST 2007


For several day i`ve been trying to compile mplayer from svn. My ./configure is:


hellfire at debian:~/Desktop/mplayer$ ./configure --enable-gui
--enable-menu --enable-largefiles --language=bg
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.1.3, ok
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... GenuineIntel (6:14:8)
Checking for CPU type ...  Intel(R) Celeron(R) M CPU        420  @ 1.60GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... pentium-m
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as ) ... ok
Checking for .align is a power of two ... no
Checking for Linux kernel version ... 2.6.20-1-686, ok
Checking for extra headers ... none
Checking for extra libs ... none
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... using bg (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 lrintf ... yes
Checking for round ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for inet_pton() ... yes (using )
Checking for network ... yes
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 rpath ... no
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 termcap ... yes (using -lncurses)
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 setenv() ... yes
Checking for sys/sysinfo.h ... yes
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB ... yes (0.9.25)
Checking for X11 headers presence ... yes (using /usr/include)
Checking for X11 ... yes
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 ... 2 (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 ... yes
Checking for SVGAlib ... yes
Checking for FBDev ... no
Checking for DVB ... no
Checking for DVB HEAD ... yes
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for PNM support ... yes
Checking for GIF support ... yes
Checking for broken giflib workaround ... disabled
Checking for VESA support ... no
Checking for SDL ... yes (using sdl-config)
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for Polyp ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for dvdread ... yes (internal)
Checking for internal libdvdcss ... yes
Checking for cdparanoia ... yes
Checking for libcdio ... auto (using cdparanoia)
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for SSA/ASS support ... yes
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for liblzo2 support ... no
Checking for mad support ... yes
Checking for Twolame ... yes
Checking for Toolame ... no (disabled by twolame)
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... yes
Checking for OggTheora support ... yes
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libmpeg2 support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC (AAC encoder) support ... no (in libavcodec: )
Checking for FAAD2 (AAC) support ... yes (internal floating-point)
Checking for LADSPA plugin support ... yes
Checking for Win32 codecs ... yes (using /usr/lib/codecs)
Checking for XAnim codecs ... yes (using /usr/lib/codecs)
Checking for RealPlayer codecs ... yes (using /usr/lib/codecs)
Checking for LIVE555 Streaming Media libraries ... no
Checking for FFmpeg libavutil ... yes (static)
Checking for FFmpeg libavcodec ... yes (static)
Checking for FFmpeg libavformat ... yes (static)
Checking for FFmpeg libpostproc ... yes (static)
Checking for md5sum support ... yes
Checking for libamr narrowband ... no
Checking for libamr wideband ... no
Checking for libdv-0.9.5+ ... yes
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for x264 ... yes (in libavcodec: yes)
Checking for nut ... no
Checking for libmp3lame (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 Video 4 Linux TV interface ... yes
Checking for Video 4 Linux 2 TV interface ... yes
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... no
Checking for Video 4 Linux Radio interface ... no
Checking for Video 4 Linux 2 MPEG PVR interface ... yes
Checking for audio select() ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for OSD menu ... yes
Checking for QuickTime codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... yes
Checking for XShape extension ... yes
Checking for GTK+ version ... 2.10.12
Checking for glib version ... 2.12.12
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... yes
Checking for ftello() ... yes
Checking for VIDIX ... yes (internal)
Checking for joystick ... no
Checking for lirc ... yes
Checking for lircc ... no
Checking for color console output ... no
Checking for DVD support (libdvdnav) ... no
Creating config.mak
Creating config.h

Config files successfully generated by ./configure --enable-gui
--enable-menu --enable-largefiles --language=bg !

  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer

  Byte order: little-endian
  Optimizing for: pentium-m

  Languages:
    Messages/GUI: bg
    Manual pages: en

  Enabled optional drivers:
    Input: ftp pvr tv-v4l2 tv-v4l tv cddb cdda libdvdcss(internal)
dvdread(internal) vcd dvb smb network
    Codecs: qtx x264 libdv libavcodec real xanim win32 faad2 libmpeg2
liba52 mp3lib libtheora speex tremor(internal) twolame libmad gif
    Audio output: alsa esd oss sdl mpegpes(dvb)
    Video output: xvidix cvidix md5sum sdl gif89a pnm jpeg png
mpegpes(dvb) svga caca opengl dga xv x11 xover dfbmga directfb tga
    Audio filters: ladspa
  Disabled optional drivers:
    Input: dvdnav vstream radio live555
    Codecs: xvid libamr_wb libamr_nb faac musepack toolame liblzo
    Audio output: sun openal jack polyp arts ivtv dxr2 nas
    Video output: winvidix bl zr zr2 ivtv dxr3 dxr2 vesa fbdev aa ggi
xmga mga xvmc tdfx_vid s3fb tdfxfb 3dfx
    Audio filters:

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)

Check configure.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).

NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-gui and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.



The error itself is this:


make -C loader
make[1]: Entering directory `/home/hellfire/Desktop/mplayer/loader'
cc -DMPLAYER -D__WINE__ -DNOAVIFILE_HEADERS -I../libavcodec
-I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil
-O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb
-I/usr/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT
-I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12   -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer   -c -o driver.o driver.c
In file included from win32.h:13,
                 from driver.c:19:
wine/winbase.h:544: warning: 'packed' attribute ignored for field of
type 'CHAR[8]'
In file included from driver.c:21:
wine/pe_image.h:60: warning: 'packed' attribute ignored for field of type 'BYTE'
wine/pe_image.h:62: warning: 'packed' attribute ignored for field of type 'BYTE'
wine/pe_image.h:64: warning: 'packed' attribute ignored for field of type 'BYTE'
wine/pe_image.h:66: warning: 'packed' attribute ignored for field of type 'BYTE'
wine/pe_image.h:67: warning: 'packed' attribute ignored for field of type 'BYTE'
wine/pe_image.h:69: warning: 'packed' attribute ignored for field of type 'BYTE'
cc -DMPLAYER -D__WINE__ -DNOAVIFILE_HEADERS -I../libavcodec
-I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil
-O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb
-I/usr/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT
-I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12   -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer   -c -o afl.o afl.c
In file included from afl.c:28:
wine/winbase.h:544: warning: 'packed' attribute ignored for field of
type 'CHAR[8]'
cc -DMPLAYER -D__WINE__ -DNOAVIFILE_HEADERS -I../libavcodec
-I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil
-O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb
-I/usr/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT
-I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12   -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer   -c -o vfl.o vfl.c
In file included from win32.h:13,
                 from vfl.c:15:
wine/winbase.h:544: warning: 'packed' attribute ignored for field of
type 'CHAR[8]'
cc -DMPLAYER -D__WINE__ -DNOAVIFILE_HEADERS -I../libavcodec
-I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil
-O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb
-I/usr/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT
-I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12   -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer   -c -o ldt_keeper.o ldt_keeper.c
ldt_keeper.c:39:24: error: operator '>=' has no left operand
ldt_keeper.c: In function 'Setup_LDT_Keeper':
ldt_keeper.c:194: error: storage size of 'array' isn't known
ldt_keeper.c:226: error: invalid application of 'sizeof' to incomplete
type 'struct modify_ldt_ldt_s'
make[1]: *** [ldt_keeper.o] Error 1
make[1]: Leaving directory `/home/hellfire/Desktop/mplayer/loader'
make: *** [loader/libloader.a] Error 2


This error ocurs on debian unstable with kernel 2.6.20-1-686. I found
reference to this error here -
http://lists.mplayerhq.hu/pipermail/mplayer-users/2007-May/067226.html
- but it didn`t help me solve my problem.



More information about the MPlayer-users mailing list