Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#444 closed defect (invalid)

Unable to compile mplayer

Reported by: gotaylor@… Owned by: alex@…
Priority: normal Component: ve
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I have been working with the CVS version for the last week or so (until today,
the version that I had previously checked out using CVS was about 1 week old).
I re-compiled yesterday to include support for playing DVDs and began getting an
error. Below is the output from mplayer:
Playing dvd://.
Reading disc structure, please wait...
There are 25 titles on this DVD.
There are 21 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9801.6 kbps (1225.2 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...

MPlayer interrupted by signal 11 in module: decode_audio

  • MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
  • MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug.

I wanted to update to the latest CVS tree before posting this bug in the hope
that it had already been addressed. I updated my sources using the command `cvs
-z3 update -dPA` from the "main" directory created at my initial checkout.

Following the update, I am no longer able to compile mplayer. The make fails
in the libmpcodecs directory. Below is the output from the cc that causes the
error:
cc -c -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4
-mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -Inative -I../libmpdemux
-I../loader -D_GNU_SOURCE -o ve_lavc.o ve_lavc.c
ve_lavc.c: In function ‘config’:
ve_lavc.c:643: error: ‘struct AVCodecContext’ has no member named
‘scenechange_factor’
make[1]: * [ve_lavc.o] Error 1
make[1]: Leaving directory `/usr/local/src/mplayer_dir/mplayer/libmpcodecs'
make:
* [libmpcodecs/libmpcodecs.a] Error 2

Suspecting that my source tree had become corrupt, I deleted it and checked out
fresh source from the CVS server using the instructions on the MPLayer website.

This copy of the source files yielded the same error shown above.

Below is the configure command and options used prior to make

./configure --enable-gui --with-codecsdir=/usr/lib/codecs
--with-win32libdir=/usr/lib/codecs --with-xmmslibdir=/usr/lib
--with-xmmsplugindir=/usr/lib/xmms
--with-reallibdir=/usr/lib/RealPlayer10/codecs --enable-xmms

Please feel free to contact me if you need additional information,

gordon

Relevant Hardware / Software Info:

# uname -a
Linux minstrel-wxp 2.6.13-15.7-smp #1 SMP Tue Nov 29 14:32:29 UTC 2005 i686 i686
i386 GNU/Linux

# ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1405291 Sep 9 13:36 /lib/libc-2.3.5.so
lrwxrwxrwx 1 root root 13 Jan 7 22:21 /lib/libc.so.6 -> libc-2.3.5.so

# gcc -v
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,f95,java,ada --disable-checking
--with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk
--disable-libjava-multilib --with-slibdir=/lib --with-system-zlib
--enable-shared --enable-cxa_atexit --without-system-libunwind
--host=i586-suse-linux
Thread model: posix
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
# ld -v
GNU ld version 2.16.91.0.2 20050720 (SuSE Linux)

# as --version
GNU assembler 2.16.91.0.2 20050720 (SuSE Linux)
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i586-suse-linux'.

# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 9
cpu MHz : 2999.161
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 6003.23

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 9
cpu MHz : 2999.161
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 5997.59

* config.h *
# cat config.h
/* -------- This file has been automatically generated by configure ---------

Note: Any changes in it will be lost when you run configure again. */

/* Protect against multiple inclusion */
#ifndef MPLAYER_CONFIG_H
#define MPLAYER_CONFIG_H 1

/* use GNU internationalization */
#define USE_I18N 1

/* Runtime CPU detection */
#undef RUNTIME_CPUDETECT

/* Dynamic a/v plugins */
#undef DYNAMIC_PLUGINS

/* "restrict" keyword */
#define restrict restrict

/* builtin_expect branch prediction hint */
#define HAVE_BUILTIN_EXPECT 1
#ifdef HAVE_BUILTIN_EXPECT
#define likely(x)
builtin_expect ((x) != 0, 1)
#define unlikely(x) builtin_expect ((x) != 0, 0)
#else
#define likely(x) (x)
#define unlikely(x) (x)
#endif

/* attribute(used) as needed by some compilers */
#if (GNUC * 100 + GNUC_MINOR >= 300)
# define attribute_used attribute((used))
#else
# define attribute_used
#endif

#define PREFIX "/usr/local"

#define USE_OSD 1
#define USE_SUB 1

/* enable/disable SIGHANDLER */
#define ENABLE_SIGHANDLER 1

/* enable/disable automatic gdb attach on crash, requires SIGHANDLER */
#undef CRASH_DEBUG

/* Toggles debugging informations */
#undef MP_DEBUG

/* Toggles colorized output */
#define MSG_USE_COLORS 1

/* Indicates that libcdio is available for VCD and CD-DA playback */
#undef HAVE_LIBCDIO

/* Indicates that Ogle's libdvdread is available for DVD playback */
#define USE_DVDREAD 1

/* Indicates that dvdread is from libmpdvdkit */
#define USE_MPDVDKIT 2

/* Additional options for libmpdvdkit*/
#undef DVD_STRUCT_IN_DVD_H
#define DVD_STRUCT_IN_LINUX_CDROM_H 1
#undef DVD_STRUCT_IN_SYS_CDIO_H
#undef DVD_STRUCT_IN_SYS_DVDIO_H
#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H
#undef HAVE_BSD_DVD_STRUCT
#define HAVE_LINUX_DVD_STRUCT 1
#undef HAVE_OPENBSD_DVD_STRUCT
#undef DARWIN_DVD_IOCTL
#undef SOLARIS_USCSI
#undef HPUX_SCTL_IO
#define HAVE_STDDEF_H 1
#define HAVE_DVD 1

/* Common data directory (for fonts, etc) */
#define MPLAYER_DATADIR "/usr/local/share/mplayer"
#define MPLAYER_CONFDIR "/usr/local/etc/mplayer"
#define MPLAYER_LIBDIR "/usr/local/lib"

/* Define this to compile stream-caching support, it can be enabled via

-cache <kilobytes> */

#define USE_STREAM_CACHE 1

/* Define to include support for XviD/Divx4Linux/OpenDivx */
#undef USE_DIVX

/* Define to use the new XviD/DivX4Linux library instead of open source OpenDivX */
/* You have to change DECORE_LIBS in config.mak, too! */
#undef NEW_DECORE

/* Define if you are using DivX5Linux Decore library */
#undef DECORE_DIVX5

/* Define if you are using XviD library */
#undef HAVE_XVID3
#undef HAVE_XVID4
#undef DECORE_XVID
#undef ENCORE_XVID

/* Define if you are using the X.264 library */
#undef HAVE_X264

/* Define to include support for libdv-0.9.5 */
#define HAVE_LIBDV095 1

/* If build mencoder */
#define HAVE_MENCODER

/* Indicates if XviD/Divx4linux encore is available

Note: for mencoder */

#undef HAVE_DIVX4ENCORE

/* Indicates if libmp3lame is available

Note: for mencoder */

#define HAVE_MP3LAME
#define HAVE_MP3LAME_PRESET
#define HAVE_MP3LAME_PRESET_MEDIUM

/* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */
#undef USE_MP1E

/* Define this to enable avg. byte/sec-based AVI sync method by default:

(use -bps or -nobps commandline option for run-time method selection)
-bps gives better sync for vbr mp3 audio, it is now default */

#define AVI_SYNC_BPS 1

/* Undefine this if you do not want to select mono audio (left or right)

with a stereo MPEG layer 2/3 audio stream. The command line option
-stereo has three possible values (0 for stereo, 1 for left-only, 2 for
right-only), with 0 being the default.
*/

#define USE_FAKE_MONO 1

/* Undefine this if your sound card driver has no working select().

If you have kernel Oops, player hangups, or just no audio, you should
try to recompile MPlayer with this option disabled! */

#define HAVE_AUDIO_SELECT 1

/* define this to use iconv(3) function to codepage conversions */
#define USE_ICONV 1

/* define this to use nl_langinfo function */
#define USE_LANGINFO 1

/* define this to use RTC (/dev/rtc) for video timers */
#define HAVE_RTC 1

/* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */
#define MAX_OUTBURST 65536

/* set up audio OUTBURST. Do not change this! */
#define OUTBURST 512

/* Define this if your system has the header file for the OSS sound interface */
#define HAVE_SYS_SOUNDCARD_H 1

/* Define this if your system has the header file for the OSS sound interface

  • in /usr/include */

#undef HAVE_SOUNDCARD_H

/* Define this if your system has the sysinfo header */
#define HAVE_SYS_SYSINFO_H 1

/* Define this if your system has ftello() */

#define HAVE_FTELLO 1
#ifndef HAVE_FTELLO
/* Need these for FILE and off_t an config.h is usually before other includes*/
#include <stdio.h>
#include <sys/types.h>
off_t ftello(FILE *);
#endif

/* Define this if your system has the "malloc.h" header file */
#define HAVE_MALLOC_H 1

/* memalign is mapped to malloc if unsupported */
#define HAVE_MEMALIGN 1
#ifndef HAVE_MEMALIGN
# define memalign(a,b) malloc(b)
#define MEMALIGN_HACK 1
#endif

/* Define this if your system has the "alloca.h" header file */
#define HAVE_ALLOCA_H 1

/* Define this if your system has the "sys/mman.h" header file */
#define HAVE_SYS_MMAN_H 1

/* Define this if you have the elf dynamic linker -ldl library */
#define HAVE_LIBDL 1

/* Define this if you have the kstat kernel statistics library */
#undef HAVE_LIBKSTAT

/* Define this if you have zlib */
#define HAVE_ZLIB 1
#ifdef HAVE_ZLIB
#define CONFIG_ZLIB 1
#endif

/* Define this if you have shm support */
#define HAVE_SHM 1

/* Define this if your system has scandir & alphasort */
#define HAVE_SCANDIR 1

/* Define this if your system has strsep */
#define HAVE_STRSEP 1

/* Define this if your system has strlcpy */
#undef HAVE_STRLCPY
#ifndef HAVE_STRLCPY
unsigned int strlcpy (char *dest, const char *src, unsigned int size);
#endif

/* Define this if your system has strlcat */
#undef HAVE_STRLCAT
#ifndef HAVE_STRLCAT
unsigned int strlcat (char *dest, const char *src, unsigned int size);
#endif

/* Define this if your system has fseeko */
#define HAVE_FSEEKO 1
#ifndef HAVE_FSEEKO
/* Need these for FILE and off_t an config.h is usually before other includes*/
#include <stdio.h>
#include <sys/types.h>
int fseeko(FILE *, off_t, int);
#endif

#define HAVE_LOCALTIME_R 1

/* Define this if your system has vsscanf */
#define HAVE_VSSCANF 1

/* Define this if your system has swab */
#define HAVE_SWAB 1

/* Define this if your system has no posix select */
#undef HAVE_NO_POSIX_SELECT

/* Define this if your system has gettimeofday */
#define HAVE_GETTIMEOFDAY 1

/* Define this if your system has glob */
#define HAVE_GLOB 1

/* Define this if your system has setenv */
#define HAVE_SETENV 1
#ifndef HAVE_SETENV
int setenv(const char *name, const char *val, int overwrite);
#endif

/* Define this if your system has pthreads */
#define HAVE_PTHREADS 1

/* Define this if you enabled thread support for libavcodec */
#define HAVE_THREADS 1

/* LIRC (remote control, see www.lirc.org) support: */
#undef HAVE_LIRC

/*

#undef HAVE_LIRCC

/* DVD navigation support using libdvdnav */

/* Define this to enable MPEG 1/2 image postprocessing (requires a FAST CPU!) */
#define MPEG12_POSTPROC 1

/* Define this to enable image postprocessing in libavcodec (requires a FAST
CPU!) */
#undef USE_LIBPOSTPROC
#define USE_LIBPOSTPROC_SO 1

/* Define to include support for OpenDivx postprocessing */
#undef HAVE_ODIVX_POSTPROCESS

/* Win32 DLL support */
#define USE_WIN32DLL 1
#define WIN32_PATH "/usr/lib/codecs"

/* DirectShow support */
#define USE_DIRECTSHOW 1

/* Mac OS X specific features */

#undef MACOSX_FINDER_SUPPORT
#undef MACOSX_BUNDLE

/* Build our Win32-loader */
#define WIN32_LOADER 1

/* ffmpeg's libavcodec support (requires libavcodec source) */
#define USE_LIBAVCODEC 1
#define USE_LIBAVCODEC_SO 1

/* ffmpeg's libavformat support (requires libavformat source) */
#undef USE_LIBAVFORMAT
#define USE_LIBAVFORMAT_SO 1
#undef CONFIG_WIN32

/* Use libavcodec's decoders */
#define CONFIG_DECODERS 1
/* Use libavcodec's encoders */
#define CONFIG_ENCODERS 1

/* Use libavformat's demuxers */
#define CONFIG_DEMUXERS 1
/* Use libavformat's muxers */
#define CONFIG_MUXERS 1

#define CONFIG_MPEGAUDIO_HP 1

#define CONFIG_GPL 1

/* Use amr codecs from libavcodec (requires amr sources) */
#undef AMR_NB
#undef AMR_NB_FIXED
#undef AMR_WB

/* Use specific codecs from libavcodec */
#define CONFIG_ 1

/* Use codec libs included in mplayer CVS / source dist: */
#define USE_MP3LIB 1
#define USE_LIBA52 1
#undef CONFIG_DTS
#define USE_LIBMPEG2 1

/* Use libfame encoder filter */
#undef USE_LIBFAME

/* XAnim DLL support */
#define USE_XANIM 1
/* Default search path */
#define XACODEC_PATH "/usr/lib/codecs"

/* RealPlayer DLL support */
#define USE_REALCODECS 1
/* Default search path */
#define REALCODEC_PATH "/usr/lib/RealPlayer10/codecs"

/* LIVE555 Streaming Media library support */
#undef STREAMING_LIVE555

/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
#define USE_FASTMEMCPY 1

/* Use unrarlib for Vobsubs */
#define USE_UNRARLIB 1

/* gui support, please do not edit this option */
#define HAVE_NEW_GUI 1
#define HAVE_GTK2_GUI 1

/* Audio output drivers */
#define USE_OSS_AUDIO 1
#define PATH_DEV_DSP "/dev/dsp"
#define PATH_DEV_MIXER "/dev/mixer"
#undef HAVE_ALSA5
#undef HAVE_ALSA9
#define HAVE_ALSA1X 1
#define USE_ARTS 1
#undef USE_ESD
#undef HAVE_ESD_LATENCY
#undef USE_POLYP
#define USE_JACK 1
#undef HAVE_SYS_ASOUNDLIB_H
#define HAVE_ALSA_ASOUNDLIB_H 1
#undef USE_SUN_AUDIO
#undef USE_SGI_AUDIO
#undef HAVE_WIN32WAVEOUT
#undef HAVE_NAS

/* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
#undef FAST_OSD
#undef FAST_OSD_TABLE

/* Enable TV Interface support */
#define USE_TV 1

/* Enable EDL support */
#define USE_EDL

/* Enable Video 4 Linux TV interface support */
#define HAVE_TV_V4L 1

/* Enable Video 4 Linux 2 TV interface support */
#define HAVE_TV_V4L2 1

/* Enable *BSD BrookTree TV interface support */
#undef HAVE_TV_BSDBT848

/* Define if your processor stores words with the most significant

byte first (like Motorola and SPARC, unlike Intel and VAX). */

#undef WORDS_BIGENDIAN

#define ARCH_X86 1

/* For the PPC. G5 has the dcbzl when in 64bit mode but G4s and earlier do not

have the instruction. */

/* libmpeg2 wants ARCH_PPC and the rest of mplayer use ARCH_POWERPC,

  • define ARCH_PPC if ARCH_POWERPC is set to cope with that. */

#ifdef ARCH_POWERPC
#define ARCH_PPC 1
#endif

/* the same issue as with ARCH_POWERPC but with ffmpeg/libavcodec */
#ifdef ARCH_ARMV4L
#define ARCH_ARM 1
#endif

/* only gcc3 can compile mvi instructions */

/* Define this for Cygwin build for win32 */

/* Define this to any prefered value from 386 up to infinity with step 100 */
#define CPU 686

#define MP_WORDSIZE 32

#define TARGET_LINUX 1

#define HAVE_VCD 1

#ifdef sun
#define DEFAULT_CDROM_DEVICE "/vol/dev/aliases/cdrom0"
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
#elif defined(HPUX)
#define DEFAULT_CDROM_DEVICE "/dev/cdrom"
#define DEFAULT_DVD_DEVICE "/dev/dvd"
#elif defined(WIN32)
#define DEFAULT_CDROM_DEVICE "D:"
#define DEFAULT_DVD_DEVICE "D:"
#elif defined(SYS_DARWIN)
#define DEFAULT_CDROM_DEVICE "/dev/disk1"
#define DEFAULT_DVD_DEVICE "/dev/rdiskN"
#elif defined(OpenBSD)
#define DEFAULT_CDROM_DEVICE "/dev/rcd0a"
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
#elif defined(FreeBSD)
#define DEFAULT_CDROM_DEVICE "/dev/acd0"
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
#else
#define DEFAULT_CDROM_DEVICE "/dev/cdrom"
#define DEFAULT_DVD_DEVICE "/dev/dvd"
#endif

/*----------------------------------------------------------------------------

NOTE: Instead of modifying these definitions here, use the
--enable/--disable options of the ./configure script!
See ./configure --help for details.

*---------------------------------------------------------------------------*/

/* C99 lrintf function available */
#define HAVE_LRINTF 1

/* round function is available */
#define HAVE_ROUND 1

/* yes, we have inttypes.h */
#define HAVE_INTTYPES_H 1

/* int_fastXY_t emulation */

/* nanosleep support */
#define HAVE_NANOSLEEP 1

/* SMB support */
#undef LIBSMBCLIENT

/* termcap flag for getch2.c */
#define USE_TERMCAP 1

/* termios flag for getch2.c */
#define HAVE_TERMIOS 1
#undef HAVE_TERMIOS_H
#define HAVE_SYS_TERMIOS_H 1

/* enable PNG support */
#define HAVE_PNG 1

/* enable JPEG support */
#define HAVE_JPEG 1

/* enable PNM support */
#define HAVE_PNM

/* enable md5sum support */
#define HAVE_MD5SUM

/* enable GIF support */
#undef HAVE_GIF
#undef HAVE_GIF_4

/* enable FreeType support */
#define HAVE_FREETYPE

/* enable Fontconfig support */
#define HAVE_FONTCONFIG

/* enable FriBiDi usage */
#undef USE_FRIBIDI

/* enable ENCA usage */
#undef HAVE_ENCA

/* liblzo support */
#undef USE_LIBLZO
#ifdef USE_LIBLZO
#define CONFIG_LZO 1
#endif

/* libmad support */
#define USE_LIBMAD 1

/* enable OggVorbis support */
#define HAVE_OGGVORBIS 1

/* enable Tremor as vorbis decoder */
#define TREMOR 1

/* enable Speex support */
#undef HAVE_SPEEX

/* enable musepack support */
#undef HAVE_MUSEPACK

/* enable OggTheora support */
#undef HAVE_OGGTHEORA

/* enable Matroska support */
#define HAVE_MATROSKA 1

/* enable FAAD (AAC) support */
#define HAVE_FAAD 1
#define USE_INTERNAL_FAAD 1

/* enable FAAC (AAC encoder) support */
#define HAVE_FAAC 1

/* enable LADSPA plugin support */
#define HAVE_LADSPA

/* enable network */
#define MPLAYER_NETWORK 1

/* enable ftp support */
#define HAVE_FTP 1

/* enable vstream support */
#undef HAVE_VSTREAM

/* enable winsock2 instead of Unix functions*/
#undef HAVE_WINSOCK2

/* define this to use inet_aton() instead of inet_pton() */
#undef USE_ATON

/* enables / disables cdparanoia support */
#define HAVE_CDDA

/* enables / disables VIDIX usage */
#define CONFIG_VIDIX 1

/* enables / disables new input joystick support */
#undef HAVE_JOYSTICK

/* enables / disables QTX codecs */
#define USE_QTX_CODECS 1

/* enables / disables osd menu */
#undef HAVE_MENU

/* enables / disables subtitles sorting */
#define USE_SORTSUB 1

/* XMMS input plugin support */
#define HAVE_XMMS 1
#define XMMS_INPUT_PLUGIN_DIR "/usr/lib/xmms"

/* enables inet6 support */
#define HAVE_AF_INET6 1

/* do we have gethostbyname2? */
#define HAVE_GETHOSTBYNAME2 1

/* Extension defines */
#undef HAVE_3DNOW only define if you have 3DNOW (AMD k6-2, AMD Athlon,
iDT WinChip, etc.)
#undef HAVE_3DNOWEX
only define if you have 3DNOWEX (AMD Athlon, etc.)
#define HAVE_MMX 1 only define if you have MMX (newer x86 chips, not
P54C/PPro)
#define HAVE_MMX2 1
only define if you have MMX2 (Athlon/PIII/4/CelII)
#define HAVE_SSE 1 only define if you have SSE (Intel Pentium III/4 or
Celeron II)
#define HAVE_SSE2 1
only define if you have SSE2 (Intel Pentium 4)

only define if you have Altivec (G4)

enables usage of altivec.h

#undef HAVE_MLIB Sun mediaLib, available only on solaris

only define if you have VIS ( ultrasparc )

/* libmpeg2 uses a different feature test macro for mediaLib */
#ifdef HAVE_MLIB
#define LIBMPEG2_MLIB 1
#endif

/* libvo options */
#define SCREEN_SIZE_X 1
#define SCREEN_SIZE_Y 1
#define HAVE_X11 1
#define HAVE_XV 1
#undef HAVE_XVMC
#define HAVE_XF86VM 1
#define HAVE_XF86XK 1
#define HAVE_XINERAMA 1
#define HAVE_GL 1

#define HAVE_DGA 1
#define HAVE_DGA2 1
#undef HAVE_SDL
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */

#undef HAVE_DIRECTX
#undef HAVE_GGI
#undef HAVE_GGIWMH
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_TDFX_VID
#define HAVE_DIRECTFB 1
#define DIRECTFBVERSION 922
#undef HAVE_ZR
#undef HAVE_BL
#undef HAVE_MGA
#undef HAVE_XMGA

#define HAVE_FBDEV 1
#undef HAVE_DXR2
#undef HAVE_DXR3
#define HAVE_DVB_HEAD 1
#define HAS_DVBIN_SUPPORT 1
#undef HAVE_SVGALIB
#undef HAVE_VESA
#define HAVE_XDPMS 1
#undef HAVE_AA
#undef HAVE_CACA
#define HAVE_TGA 1
#define HAVE_TOOLAME 1
#undef HAVE_TWOLAME

/* used by GUI: */
#define HAVE_XSHAPE 1

#if defined(HAVE_GL)
defined(HAVE_X11) defined(HAVE_XV)

#define X11_FULLSCREEN 1
#endif

#endif /* MPLAYER_CONFIG_H */

* config.mak *
# cat config.mak
# -------- Generated by configure -----------

LANG = C
MAN_LANG = en
TARGET_OS = Linux
DESTDIR =
prefix = $(DESTDIR)/usr/local
BINDIR = $(DESTDIR)/usr/local/bin
DATADIR = $(DESTDIR)/usr/local/share/mplayer
MANDIR = $(DESTDIR)/usr/local/man
CONFDIR = $(DESTDIR)/usr/local/etc/mplayer
LIBDIR = $(DESTDIR)/usr/local/lib
# FFmpeg uses libdir instead of LIBDIR
libdir = $(LIBDIR)
#AR = ar
CC = cc
HOST_CC = cc
AWK = gawk
RANLIB = true
INSTALL = install
# OPTFLAGS = -O4 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer
-ffast-math
EXTRA_INC =
OPTFLAGS = -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4
-march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(EXTRA_INC)
STRIPBINARIES = yes
CHARSET =
HELP_FILE = help/help_mp-en.h

PRG = mplayer
PRG_MENCODER = mencoder

MPLAYER_NETWORK = yes
STREAMING_LIVE555 = no
MPLAYER_NETWORK_LIB = -lnsl
DVBIN = yes
VIDIX = yes
CONFIG_PP = yes
CONFIG_MP3LAME = yes
LIBMENU = no
I18NLIBS =
MATROSKA = yes

OPENDIVX = no

MP3LIB = yes
LIBA52 = yes
LIBMPEG2 = yes
TREMOR = yes
TREMOR_FLAGS =

SPEEX = no
MUSEPACK = no

UNRARLIB = yes
PNG = yes
JPEG = yes
GIF = no

EXTRA_LIB = -Wl,-z,noexecstack
Z_LIB = -lz
HAVE_MLIB = no
WIN32_LIB =
STATIC_LIB =
ENCA_LIB =
HAVE_PTHREADS = yes
MATH_LIB = -lm
LIBC_LIB =

X11_INC = -I/usr/X11/include
X11DIR = -L/usr/X11R6/lib -lXext -lX11 -lnsl -lpthread

HAVE_XVMC_ACCEL = no

# for FFmpeg
SRC_PATH=..
LIBPREF=lib
LIBSUF=.a
LIB=$(LIBPREF)$(NAME)$(LIBSUF)

# video output
X_LIB = -lGL -ldl -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext
-lX11 -lnsl -lpthread -lnsl
GGI_LIB =
MLIB_LIB =
MLIB_INC =
DXR2_INC =
DVB_INC =
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
GIF_LIB =
SDL_LIB =
SVGA_LIB =
VESA_LIB =
AA_LIB =
CACA_INC =
CACA_LIB =

# audio output
ALSA_LIB = -lasound -ldl -lpthread
NAS_LIB =
ARTS_LIB = -L/opt/kde3/lib -ldl -lartsc -lpthread -L/opt/gnome/lib -lgmodule-2.0
-ldl -lgthread-2.0 -lglib-2.0
ARTS_INC = -I/opt/kde3/include/artsc -pthread -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include
ESD_LIB =
ESD_INC =
POLYP_LIB =
POLYP_INC =
JACK_LIB = -ljack
JACK_INC =
SGIAUDIO_LIB =

# input/demuxer/codecs
TERMCAP_LIB = -lncurses
LIRC_LIB =
LIRCC_LIB =
HAVE_DVD = yes
DVDREAD = libmpdvdkit2
DVDREAD_LIB = -Llibmpdvdkit2 -lmpdvdkit
DVDKIT = no
DVDKIT2 = yes
DVDKIT_SHARED = no
SDL_INC =
W32_DEP = loader/libloader.a
W32_LIB = loader/libloader.a
DS_DEP = loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a
DS_LIB = loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a
AV_DEP =
AV_LIB = -lavcodec -lavformat -lpostproc
CONFIG_LIBAVUTIL = no
CONFIG_LIBAVCODEC = no
CONFIG_LIBAVCODEC_SO = yes
CONFIG_LIBAVFORMAT = no
CONFIG_LIBAVFORMAT_SO = yes
CONFIG_LIBPOSTPROC = no
CONFIG_LIBPOSTPROC_SO = yes
ZORAN = no
FAME = no
FAME_LIB =
MP1E_DEP =
MP1E_LIB =
ARCH_LIB = -lpthread -ldl -rdynamic
XVID = no
XVID_INC =
XVID_LIB =
X264 = no
X264_INC =
X264_LIB =
CONFIG_DTS = no
DTS_INC =
DTS_LIB =
DECORE_LIB = -lmp3lame
MENCODER = yes
ENCORE_LIB = -lmp3lame
DIRECTFB_INC = -I/usr/include/directfb
DIRECTFB_LIB = -ldirectfb
CDPARANOIA_INC =
CDPARANOIA_LIB = -lcdda_interface -lcdda_paranoia
FREETYPE_INC = -I/usr/include/freetype2
FREETYPE_LIB = -lfreetype -lz
FONTCONFIG_INC =
FONTCONFIG_LIB = -lfontconfig
FRIBIDI_INC =
FRIBIDI_LIB =
LIBCDIO_INC =
LIBCDIO_LIB =
LIBLZO_LIB=
MAD_LIB = -lmad
VORBIS_LIB = -ldv
SPEEX_LIB =
THEORA_LIB =
FAAD_LIB =
INTERNAL_FAAD = yes
SMBSUPPORT_LIB =
XMMS_PLUGINS = yes
XMMS_LIB = /usr/lib/libxmms.so.1 -export-dynamic
MACOSX = auto
MACOSX_FINDER_SUPPORT = no
MACOSX_BUNDLE = no
MACOSX_FRAMEWORKS =
MACOSX_COREVIDEO =
TOOLAME=yes
TOOLAME_EXTRAFLAGS=
TOOLAME_LIB=-ltoolame
TWOLAME=no
TWOLAME_LIB=
MUSEPACK_LIB =
FAAC=yes
FAAC_LIB=-lfaac
AMR_NB=no
AMR_NB_FIXED=no
AMR_WB=no
CONFIG_=yes
CONFIG_GPL=yes
CONFIG_MUXERS=yes

# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_WIN32 = no
TARGET_CPU=686
TARGET_MMX = yes
TARGET_MMX2 = yes
TARGET_3DNOW = no
TARGET_3DNOWEX = no
TARGET_SSE = yes
TARGET_ALTIVEC =
TARGET_VIS =

# --- GUI stuff ---
GTKINC = -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include
-I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0
-I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0
-I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include
GTKLIB = -L/usr/X11R6/lib -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lfontconfig -lXrender -lX11 -lXext
-lpng12 -lz -lglitz -lm
GLIBLIB = -L/opt/gnome/lib -lglib-2.0
GTK_LIBS = $(GTKLIB) $(GLIBLIB)
GUI = yes
DEBUG = -DDEBUG

Change History (2)

comment:1 by reimar, 18 years ago

Probably your libavcodec/libavformat is outdate. Not to mention that configure
tries to use dynamically linked libavcodec. You really shouldn't do that,
instead copy libavcodec, libavformat and libavutil from ffmpeg CVS into the
MPlayer directory, as described on the download page.

comment:2 by diego@…, 18 years ago

Resolution: invalid
Status: newclosed

No further info, the problem is unreproducible and possibly user errror -->
WORKSFORME.

Note: See TracTickets for help on using tickets.