[MPlayer-users] r28334 failes to compile

Andrew Savchenko bircoph at gmail.com
Fri Jan 16 21:04:23 CET 2009


Hello,

MPlayer-r28334 failes to compile with the following:
*******************************************************************************
cc -Wdisabled-optimization -Wno-pointer-sign 
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch 
-Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native 
-pipe -ffast-math -fomit-frame-pointer -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-I.  -I/usr/include/directfb -I/usr/X11R6/include -I/usr/include/  
-I/usr/include/SDL -D_REENTRANT -I/usr/include/kde/artsc -pthread 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -D_REENTRANT   
-Ilibdvdread4 -I/usr/include/cdda -I/usr/include/freetype2 
-I/usr/include   -pthread -DHAVE_STRUCT_SOCKADDR_STORAGE 
-I/usr/include/nemesi   -I/usr/include/dirac   
-I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3   
-Ilibdvdnav   -c -o libvo/aclib.o libvo/aclib.c
libvo/aclib.c:105:1: warning: "HAVE_MMX" redefined
libvo/aclib.c:100:1: warning: this is the location of the previous 
definition
libvo/aclib.c:106:1: warning: "HAVE_MMX2" redefined
libvo/aclib.c:101:1: warning: this is the location of the previous 
definition
In file included from libvo/aclib.c:108:
libvo/aclib_template.c:69:14: error: operator '&&' has no left 
operand
libvo/aclib_template.c:80:16: error: operator '!' has no right 
operand
libvo/aclib_template.c:108:14: error: #if with no expression
libvo/aclib_template.c:124:14: error: #if with no expression
libvo/aclib_template.c:347:14: error: #if with no expression
libvo/aclib_template.c:431:14: error: #if with no expression
libvo/aclib.c:168:16: error: #if with no expression
libvo/aclib.c:172:15: error: #if with no expression
libvo/aclib.c:202:16: error: #if with no expression
libvo/aclib.c:206:15: error: #if with no expression
make: *** [libvo/aclib.o] Error 1
*******************************************************************************

configure's output is attached.

-- 
Best regards,
Andrew
-------------- next part --------------
$ ./configure --enable-menu --enable-xmms --enable-xvmc
--disable-tv --disable-v4l2 --disable-lirc
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.3.0
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... AuthenticAMD (6:10:0)
Checking for CPU type ...  AMD Athlon(tm) XP 3200+
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... native
Checking for byte order ... little-endian
Checking for extern symbol prefix ...
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as 2.18.50.0.4) ... ok
Checking for .align is a power of two ... no
Checking for yasm ... yasm
Checking for Linux kernel version ... 2.6.24.3-yoruichi-sama, ok
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... messages: en - man pages: en -
documentation: 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 llrint ... yes
Checking for lrint ... yes
Checking for lrintf ... yes
Checking for round ... yes
Checking for roundf ... yes
Checking for truncf ... yes
Checking for mkstemp ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for inet_pton() ... yes
Checking for socklen_t ... yes
Checking for closesocket() ... no
Checking for network ... yes
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for fastmemcpy ... 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 w32threads ... no (using pthread instead)
Checking for rpath ... no
Checking for iconv ... yes
Checking for soundcard.h ... yes (sys/soundcard.h)
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 strsep() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for audio select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Apple IR ... no
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... yes
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for wii ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for yuv4mpeg support ... yes
Checking for bl ... no
Checking for DirectFB ... yes (1.0.0)
Checking for X11 headers presence ... yes (using
/usr/X11R6/include)
Checking for X11 ... yes
Checking for Xss screensaver extensions ... no
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... yes (using XvMCNVIDIA)
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for XF86keysym ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for 3dfx ... no
Checking for OpenGL ... yes
Checking for VIDIX ... yes
Checking for VIDIX PCI device name database ... yes
Checking for VIDIX dhahelper support ... no
Checking for VIDIX svgalib_helper support ... no
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... yes
Checking for GGI extension: libggiwmh ... no
Checking for AA ... yes
Checking for CACA ... yes
Checking for SVGAlib ... yes
Checking for FBDev ... yes
Checking for DVB ... no
Checking for DVB HEAD ... yes
Checking for PNG support ... yes
Checking for MNG 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 ... yes
Checking for SDL ... yes (using sdl-config)
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out (pre linux-2.6.24) ... no
Checking for V4L2 MPEG Decoder ... no
Checking for OSS Audio ... yes
Checking for aRts ... yes
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for NAS ... yes
Checking for pulse ... yes
Checking for JACK ... yes
Checking for OpenAL ... yes
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 ... yes
Checking for ENCA ... yes
Checking for zlib ... yes
Checking for RTC ... yes
Checking for liblzo2 support ... yes
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 internal mp3lib support ... yes
Checking for liba52 support ... yes (internal)
Checking for internal libmpeg2 support ... yes
Checking for libdca support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ...
yes
Checking for FAAC support ... yes (in libavcodec: yes)
Checking for FAAD2 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 QuickTime codecs ... yes
Checking for Nemesi Streaming Media libraries ... yes
Checking for LIVE555 Streaming Media libraries ... yes (using
/usr/lib/live)
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 FFmpeg libswscale ... yes (static)
Checking for libamr narrowband ... yes
Checking for libamr wideband ... yes
Checking for libdv-0.9.5+ ... yes
Checking for Xvid ... yes
Checking for Xvid two pass plugin ... yes
Checking for x264 ... yes (in libavcodec: yes)
Checking for libdirac ... yes
Checking for libschroedinger ... yes
Checking for libnut ... yes
Checking for zr ... no
Checking for libmp3lame ... yes (in libavcodec: yes)
Checking for mencoder ... yes
Checking for UnRAR executable ... yes
Checking for TV interface ... no
Checking for DirectShow TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... no
Checking for TV teletext interface ... no
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 ... no
Checking for ftp ... yes
Checking for vstream client ... yes
Checking for OSD menu ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... yes
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... yes
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Checking for DVD support (libdvdnav) ... yes (internal)
Creating config.mak
Creating config.h

Config files successfully generated by ./configure --enable-menu
--enable-xmms --enable-xvmc --disable-tv --disable-v4l2
--disable-lirc !

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

  Byte order: little-endian
  Optimizing for: native

  Languages:
    Messages/GUI: en
    Manual pages: en

  Enabled optional drivers:
    Input: dvdnav(internal) vstream ftp live555 nemesi cddb cdda
libdvdcss(internal) dvdread(internal) vcd dvb smb network
    Codecs: libschroedinger libdirac x264 xvid libdv libamr_wb
libamr_nb libavcodec(internal) qtx real xanim win32 faad2(internal)
faac musepack libdca libmpeg2(internal) liba52(internal)
mp3lib(internal) libtheora speex tremor(internal) twolame libmad
liblzo gif
    Audio output: alsa openal jack pulse nas esd arts oss sdl
mpegpes(dvb)
    Video output: sdl vesa gif89a pnm jpeg png mpegpes(dvb) fbdev
svga caca aa ggi xvidix cvidix opengl dga xvmc xv x11 xover dfbmga
directfb yuv4mpeg md5sum tga

  Disabled optional drivers:
    Input: pvr radio tv-teletext tv-v4l2 tv-v4l1 tv-dshow tv
    Codecs: toolame
    Audio output: sun v4l2 ivtv dxr2
    Video output: zr zr2 v4l2 ivtv dxr3 dxr2 xmga mga winvidix 3dfx
bl xvr100 tdfx_vid wii s3fb tdfxfb

'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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20090116/ba8c4cbd/attachment.pgp>


More information about the MPlayer-users mailing list