[MPlayer-users] Compile svn Problem

Raena Lea-Shannon raen at internode.on.net
Sun Dec 31 06:20:10 CET 2006


With reinstallation on AMD64 Ubuntu with svn at revision 21794.

I get a make error

undefined reference to `xvid_encoder'
collect2: ld returned 1 exit status

The make error 

[1]: Leaving directory `/home/raena/DownloadApps/mplayer/osdep'
cc -o mplayer mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o 
cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o parser-cfg.o 
playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o 
mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a libao2/libao2.a 
input/libinput.a vidix/libvidix.a libmpcodecs/libmpcodecs.a libaf/libaf.a 
libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a 
libvo/libosd.a libavformat/libavformat.a libavcodec/libavcodec.a 
libavutil/libavutil.a libpostproc/libpostproc.a mp3lib/libMP3.a 
liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a 
tremor/libvorbisidec.a dvdread/libdvdread.a libdvdcss/libdvdcss.a 
osdep/libosdep.a -lXext -lX11 -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laudio -lXt -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lesd -laudiofile -lm -lmp3lame -L/usr/lib -L/usr/lib -Wl,-z,noexecstack   -lncurses -lpng -lz -ljpeg -lasound -ldl -lpthread -lcdda_interface -lcdda_paranoia -L/usr/local/lib -lfreetype -lz -lfontconfig  -lz -lmad -ldv -lxvidcore -lm  -lpthread -ldl -rdynamic  -lm
libavcodec/libavcodec.a(allcodecs.o): In function 
`avcodec_register_all':allcodecs.c:(.text+0x4ba): undefined reference to 
`xvid_encoder'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

The configure is here

./configure
Detected operating system: Linux
Detected host architecture: x86_64
Checking for cc version ... 4.0.3, ok
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... AuthenticAMD (15:47:2)
Checking for CPU type ...  AMD Athlon(tm) 64 Processor 3800+
Checking for GCC & CPU optimization abilities ... k8
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for .align is a power of two ... no
Checking for awk ... mawk
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 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 lrintf ... yes
Checking for round ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for inet_pton() ... yes (using )
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 64
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) ... no
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB ... no
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 ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
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 ... no
Checking for VESA support ... no
Checking for SDL ... no
Checking for NAS ... yes
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out ... 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 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 DVD support (libdvdnav) ... no
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 ... no (FreeType >= 2.1.8 needed)
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 libspeex (version >= 1.1 required) ... no
Checking for OggTheora support ... no
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libdts support ... no
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 ... no
Checking for Win32 codecs ... no
Checking for XAnim codecs ... yes (using /usr/local/lib/codecs)
Checking for RealPlayer codecs ... yes (using /usr/local/lib/codecs)
Checking for LIVE555 Streaming Media libraries ... no
Checking for FFmpeg libavutil (static) ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformat (static) ... yes
Checking for FFmpeg libpostproc (static) ... yes
Checking for md5sum support ... yes
Checking for AMR narrowband ... yes
Checking for AMR narrowband, fixed point ... no
Checking for AMR wideband ... yes
Checking for libdv-0.9.5+ ... yes
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... yes
Checking for XviD two pass plugin ... yes
Checking for x264 ... no (in libavcodec: no)
Checking for nut ... 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 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 audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for OSD menu ... no
Checking for QuickTime codecs ... auto
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 ftello() ... yes
Checking for VIDIX (internal) ... yes
Checking for VIDIX (external) ... no
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Checking for color console output ... no
Creating config.mak
Creating config.h

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:

  Languages:
    Messages/GUI: en
    Manual pages: en

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

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



More information about the MPlayer-users mailing list