[MPlayer-users] Compile failure in libmpdemux

dan carter hedonist at win.co.nz
Thu Jul 25 12:57:02 CEST 2002


Hi, just did a cvs update to get the latest mplayer but now it wont 
compile for me :(

gcc -c -O4 -march=athlon-tbird -mcpu=athlon-tbird -pipe -ffast-math 
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I../loader   -o video.o video.c
video.c: In function `process_userdata':
video.c:193: `subcc_enabled' undeclared (first use in this function)
video.c:193: (Each undeclared identifier is reported only once
video.c:193: for each function it appears in.)
make[1]: *** [video.o] Error 1
make[1]: Leaving directory `/home/dantheperson/src/mplayer/main/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

I've checked everything i can think of to no avail.  Does anyone know 
how to solve this compile error?

I'm using gcc3.1.1 and the ./configure output is included below

TIA,
dan.

[dantheperson at danski main]$ ./configure
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 3.1.1, ok
Checking for CPU vendor ... AuthenticAMD (6:4:4)
Checking for CPU type ...  AMD Athlon(tm) Processor
Checking for GCC & CPU optimization abilities ... athlon-tbird
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowex ... yes
Checking for mtrr support ... yes
Checking for assembler (as 2.12.90.0.7) ... ok
Checking for Linux kernel version ... 2.4.18-6mdk, ok
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... no
Checking for language ... using en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for kstat ... no
Checking for posix4 ... no
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 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 pthread ... yes (using -lpthread)
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 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 strsep() ... yes
Checking for vsscanf() ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/include)
Checking for X11 libs presence ... yes (using /usr/X11R6/lib)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for Xinerama ... yes
Checking for Xxf86vm ... 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 AA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no (specify path to DVB/ost/include with 
--with-extraincdir=DIR)
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for GIF89a support ... yes
Checking for VESA support ... yes
Checking for SDL ... 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 ... no
Checking for ALSA audio ... no
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 (libcss - old style) ... no
Checking for DVD support (libdvdread - new style) ... disabled by 
libmpdvdkit
Checking for DVD support (libdvdnav) ... no
Checking for cdparanoia ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for mad support ... no
Checking for OggVorbis support ... no
Checking for FAAD (AAC) support ... no
Checking for Win32 DLL support ... no
Checking for DirectShow ... no
Checking for XAnim DLL ... no (no suitable directory found - see 
DOCS/codecs.html)
Checking for RealPlayer DLL ... yes (using /usr/lib/RealPlayer8/Codecs)
Checking for iconv ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for libdv-0.9.5 (for mencoder) ... no
Checking for zr ... no
Checking for XviD ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
no
Checking for libmp3lame (for mencoder) ... no
Checking for XviD/DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for TV interface ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... yes
Checking for audio select() ... yes
Checking for streaming ... yes
Checking for GUI ... no
Checking for ftello() ... yes
Checking for vidix ... yes
Checking for new input ... yes
Checking for joystick ... no
Checking for lirc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating help_mp.h

Config files successfully generated by ./configure !

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

  Optimizing for: athlon-tbird mmx mmx2 3dnow 3dnowex mtrr

  Enabled optional drivers:
    Input: network tv-v4l tv mpdvdkit vcd
    Codecs: libavcodec real
    Audio output: oss mpegpes(file)
    Video output: xvidix vesa gif89a jpeg png mpegpes(file) fbdev opengl 
dga xv x11
  Disabled optional drivers:
    Input: tv-bsdbt848 cdda dvdnav dvdread dvdcss
    Codecs: opendivx xvid xanim directshow win32 libvorbis libmad
    Audio output: sgi sun alsa arts dxr2 nas sdl
    Video output: zr dxr3 dxr2 sdl svga aa ggi xmga mga directfb tdfxfb 3dfx

'config.h' and 'config.mak' contain your configuration options.
Note: if you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DON'T BUGREPORT 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/video.html#2.2.1.1)


Check configure.log if you wonder why an autodetection failed (check 
whether the
development headers/packages are installed).

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






More information about the MPlayer-users mailing list