[MPlayer-users] r24118 failed to compile

Andrew Savchenko Bircoph at list.ru
Wed Aug 22 13:38:37 CEST 2007


Hello all,

I use the mplayer svn head (r24118) and the latest live stream 
libraries: live-2007.08.03a and the latest x264, build 56, r671.

I encounter the following compilation error:
*****************************************************************************************
cc -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith 
-Wredundant-decls -O4 -march=athlon-xp -mtune=athlon-xp -pipe 
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H 
-D__STDC_LIMIT_MACROS -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   -I/usr/include/cdda 
-I/usr/include/freetype2 -I/usr/include 
-I/usr/lib/live/liveMedia/include                   
-I/usr/lib/live/UsageEnvironment/include                   
-I/usr/lib/live/BasicUsageEnvironment/include                   
-I/usr/lib/live/groupsock/include   -c -o demux_rtp_codec.o 
demux_rtp_codec.cpp
../libavcodec/avcodec.h:2236: warning: 'ImgReSampleContext' is 
deprecated (declared at ../libavcodec/avcodec.h:2230)
../libavcodec/avcodec.h:2246: warning: 'ImgReSampleContext' is 
deprecated (declared at ../libavcodec/avcodec.h:2230)
demux_rtp_codec.cpp: In function 'void 
rtpCodecInitialize_video(demuxer_t*, MediaSubsession*, unsigned 
int&)':
demux_rtp_codec.cpp:120: error: 'h264_parser' was not declared in 
this scope
demux_rtp_codec.cpp:171: warning: comparison between signed and 
unsigned integer expressions
demux_rtp_codec.cpp: In function 'void 
rtpCodecInitialize_audio(demuxer_t*, MediaSubsession*, unsigned 
int&)':
demux_rtp_codec.cpp:304: warning: comparison between signed and 
unsigned integer expressions
make[1]: *** [demux_rtp_codec.o] Error 1
make[1]: Leaving directory `/home/andrew/src/mplayer/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Ошибка 2
*****************************************************************************************
wtf?

Here is configure's output:
*****************************************************************************************
$ ./configure --language=ru,en && make
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.0.2, ok
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 ... athlon-xp
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as 2.17.50.0.9) ... ok
Checking for .align is a power of two ... no
Checking for Linux kernel version ... 2.6.21.5-senbonsakura, ok
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... using ru (man pages: en en ru )
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 mkstemp ... 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 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 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 (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 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 xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for bl ... no
Checking for DirectFB ... yes (0.9.24)
Checking for X11 headers presence ... yes 
(using /usr/X11R6/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 VIDIX ... yes (internal)
Checking for 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 zr ... no
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 ... yes
Checking for SDL ... yes (using sdl-config)
Checking for NAS ... yes
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out ... 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 Polyp ... 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 internal liba52 support ... yes
Checking for libdca support ... yes
Checking for internal libmpeg2 support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... 
yes
Checking for FAAC (AAC encoder) support ... yes (in libavcodec: 
yes)
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 QuickTime codecs ... 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 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 libnut ... no
Checking for libmp3lame (for mencoder) ... yes
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 TV teletext 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 ... yes
Checking for byte order ... little-endian
Checking for OSD menu ... no
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 noexecstack ... yes
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 
--language=ru,en !

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

  Byte order: little-endian
  Optimizing for: athlon-xp

  Languages:
    Messages/GUI: ru
    Manual pages: en en ru

  Enabled optional drivers:
    Input: vstream ftp pvr tv-teletext tv-v4l2 tv-v4l tv live555 
cddb cdda libdvdcss(internal) dvdread(internal) vcd dvb smb 
network
    Codecs: x264 xvid libdv libamr_wb libamr_nb libavcodec qtx real 
xanim win32 faad2 faac musepack libmpeg2 libdca liba52 mp3lib 
libtheora speex tremor(internal) twolame libmad liblzo gif
    Audio output: alsa openal jack polyp esd arts oss nas sdl 
mpegpes(dvb)
    Video output: sdl vesa gif89a pnm jpeg png mpegpes(dvb) fbdev 
svga caca aa ggi xvidix cvidix opengl dga xv x11 xover dfbmga 
directfb md5sum tga
    Audio filters: ladspa
  Disabled optional drivers:
    Input: dvdnav radio
    Codecs: toolame
    Audio output: sun v4l2 ivtv dxr2
    Video output: v4l2 ivtv dxr3 dxr2 zr zr2 xmga mga winvidix xvmc 
bl xvr100 tdfx_vid s3fb tdfxfb 3dfx
    Audio filters:
*****************************************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20070822/3c1e208a/attachment.pgp>


More information about the MPlayer-users mailing list