[MPlayer-users] Mencoder Gui compiling error
David Harris
david at lumni.dyndns.org
Sun Feb 17 00:45:02 CET 2002
Linux Distribution: Slackware 7.0
Kernel Version: Linux lumni 2.2.13 #127 Thu Oct 21 13:13:20 CDT 1999 i586
unknown
Libc Version: /lib/libc-2.1.2.so
GCC Version:
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.0.3/specs
Configured with: ./configure : (reconfigured) ./configure
Thread model: single
gcc version 3.0.3
LD Version: GNU ld version 2.9.1 (with BFD 2.9.1.0.25)
Binutils Version: GNU assembler 2.9.1
CPU info:
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 2
model name : Pentium 75 - 200
stepping : 12
cpu MHz : 166.196037
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8
bogomips : 66.36
Video Card:
00:0d.0 VGA compatible controller: S3 Inc. Vision 968
Flags: VGA palette snoop, stepping, medium devsel, IRQ 11
Memory at fa000000 (32-bit, non-prefetchable)
Sound Card: Creative SB32 ISA PnP with OSS drivers of kernel
Configure.log:
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 3.0.3, ok
Checking for CPU vendor ... GenuineIntel (5:2:12)
Checking for CPU type ... Pentium 75 - 200
Checking for GCC & CPU optimization abilities ... pentium
Checking for mtrr support ... no
Checking for assembler (as 2.9.1) ... ok
Checking for Linux kernel version ... 2.2.13, ok
Checking for extra libs ... none
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 stdint.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 termcap ... yes
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for DirectFB ... no
Checking for language ... using en
Checking for vsscanf() ... yes
Checking for X11 headers ... yes (using /usr/include)
Checking for X11 libs ... yes (using /usr/X11R6/lib)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 3)
Checking for Xv ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... yes
Checking for DGA ... yes (using DGA 1.0)
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... no
Checking for syncfb ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... yes
Checking for SVGAlib ... yes
Checking for FBDev ... no
Checking for DVB ... no
Checking for PNG support ... yes
Checking for VESA support ... yes
Checking for SDL ... yes (using sdl-config)
Checking for NAS ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for OSS Audio ... yes
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 ... no
Checking for zlib ... yes
Checking for RTC ... no
Checking for mad support ... no
Checking for OggVorbis support ... no
Checking for Win32 DLL support ... yes (using /usr/lib/win32)
Checking for DirectShow ... yes
Checking for XAnim DLL ... no (no suitable directory found - see
DOCS/codecs.ht
Checking for iconv ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for Divx4linux decore ... yes
Checking for libmp3lame (for mencoder) ... yes
Checking for Divx4linux encore (for mencoder) ... yes
Checking for lirc ... no
Checking for fastmemcpy ... yes
Checking for TV interface ... yes
Checking for Video 4 Linux TV interface ... no
Checking for select ... yes
Checking for streaming ... yes
Checking for GUI ... yes
Checking for XShape extension ... yes
Checking for gtk version ... 1.2.6 (using gtk-config)
Checking for glib version ... 1.2.6 (using glib-config)
Creating Gui/config.mak
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
Enabled optional drivers:
Input: network tv vcd
Codecs: divx4linux libavcodec directshow win32
Audio output: oss sdl
Video output: sdl vesa png mpegpes(file) svga aa opengl dga x11
'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'.
If you cannot understand why a test failed please check configure.log.
If you believe it is a bug in configure, please report it.
config.h:
/* -------- This file has been automatically generated by configure
---------
Note: Any changes in it will be lost when you run configure again. */
/* define this to use simple idct with patched libavcodec */
#define SIMPLE_IDCT 1
#define USE_OSD 1
#define USE_SUB 1
/* Toggles debugging informations */
#undef MP_DEBUG
/* Indicates is Ogle's libdvdread is available for DVD playback */
#undef USE_DVDREAD
/* Common data directory (for fonts, etc) */
#define DATADIR "/usr/local/share/mplayer"
#define CONFDIR "/usr/local/share/mplayer"
/* Define this to compile stream-caching support, it can be enabled via
-cache <kilobytes> */
#define USE_STREAM_CACHE 1
/* Define for using new DivX4Linux library, instead of open-source
OpenDivX */
/* You have to change DECORE_LIBS in config.mak too! */
#define NEW_DECORE 1
/* Indicates if Divx4linux encore is available
Note: for mencoder */
#define HAVE_DIVX4ENCORE 1
/* Indicates if libmp3lame is available
Note: for mencoder */
#define HAVE_MP3LAME 1
/* Define libmp1e */
#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 soundcard 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 RTC (/dev/rtc) for video timers (LINUX only) */
#undef HAVE_RTC
/* 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 "stdint.h" header file */
#define HAVE_STDINT_H 1
/* 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)
#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
/* Define this if you have shm support */
#define HAVE_SHM 1
/* Define this if your system has vsscanf */
#define HAVE_VSSCANF 1
/* LIRC (remote control, see www.lirc.org) support: */
#undef HAVE_LIRC
/* DeCSS support using libcss */
#undef HAVE_LIBCSS
/* Define this to enable MPEG 1/2 image postprocessing (requires FAST
cpu!) */
#define MPEG12_POSTPROC 1
/* Define this to enable image postprocessing in libavcodec (requires FAST
cpu!
#define FF_POSTPROCESS 1
#define HAVE_ODIVX_POSTPROCESS 1
/* Win32 DLL support */
#define USE_WIN32DLL 1
/* DirectShow support */
#define USE_DIRECTSHOW 1
/* ffmpeg's libavcodec support (requires libavcodec source) */
#define USE_LIBAVCODEC 1
#undef USE_LIBAVCODEC_SO
/* use only decoders from libavcodec: */
#define CONFIG_DECODERS 1
#define CONFIG_ENCODERS 1
/* XAnim DLL support */
#undef USE_XANIM
#undef XACODEC_PATH
/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal
4]*/
#define USE_FASTMEMCPY 1
/* gui support, please do not edit this option */
#define HAVE_NEW_GUI 1
#define PREFIX "/usr/local"
/* Audio lib drivers */
#define USE_OSS_AUDIO 1
#undef HAVE_ALSA5
#undef HAVE_ALSA9
#undef USE_SUN_AUDIO
#undef USE_SGI_AUDIO
#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 Video 4 Linux TV interface support */
#undef HAVE_TV_V4L
/* 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
/* Define this for Cygwin build for win32 */
/* Define this to any prefered value from 386 up to infinity with step 100
*/
#define __CPU__ 586
#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
#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.
**
*---------------------------------------------------------------------------*/
/* nanosleep support */
#define HAVE_NANOSLEEP 1
/* 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
/* libmad support */
#undef USE_LIBMAD
/* enable OggVorbis support */
#undef HAVE_OGGVORBIS
#define STREAMING 1
/* Extension defines */
#undef HAVE_3DNOW // only define if you have 3DNOW (AMD k6-2, AMD
Athlon,
#undef HAVE_3DNOWEX // only define if you have 3DNOWEX (AMD Athlon,
etc.)
#undef HAVE_MMX // only define if you have MMX (newer x86 chips, not
P54C/PPro)
#undef HAVE_MMX2 // only define if you have MMX2
(Athlon/PIII/4/CelII)
#undef HAVE_SSE // only define if you have SSE (Intel Pentium III/4 or
Celeron
#undef HAVE_SSE2 // only define if you have SSE2 (Intel Pentium 4)
#ifdef HAVE_MMX
#define USE_MMX_IDCT 1
#endif
#undef HAVE_MLIB // Sun mediaLib, available only on solaris
/* 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
#undef HAVE_XV
#define HAVE_XF86VM 1
#undef HAVE_XINERAMA
#define HAVE_GL 1
#define HAVE_DGA 1
#undef HAVE_DGA2
#define HAVE_SDL 1
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
#undef BUGGY_SDL
#undef HAVE_GGI
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_DIRECTFB
#undef HAVE_MGA
#undef HAVE_XMGA
#undef HAVE_SYNCFB
#undef HAVE_FBDEV
#undef HAVE_DXR3
#undef HAVE_DVB
#define HAVE_SVGALIB 1
#define HAVE_XDPMS 1
#define HAVE_AA 1
/* used by GUI: */
#define HAVE_XSHAPE 1
#if defined(HAVE_GL) || defined(HAVE_X11) || defined(HAVE_XV)
#define X11_FULLSCREEN 1
#endif
Config.mak:
# -------- Generated by configure -----------
LANG = C
TARGET_OS = Linux
prefix = /usr/local
DATADIR = /usr/local/share/mplayer
CONFDIR = /usr/local/share/mplayer
AR = ar
CC = gcc
# OPTFLAGS = -O4 -march=pentium -mcpu=pentium -pipe -fomit-frame-pointer
-ffast-math
OPTFLAGS = -O4 -march=pentium -mcpu=pentium -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT
EXTRA_INC = -I/usr/X11R6/include -I/usr/lib/glib/include
WIN32_PATH = -DWIN32_PATH=\"/usr/lib/win32\"
STREAMING = yes
STREAMING_LIB = -lnsl
VO2 = no
EXTRA_LIB =
Z_LIB = -lz
HAVE_MLIB = no
STATIC_LIB =
X11_INC =
X11DIR = -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXdpms
# video output
X_LIB = -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXdpms -lGL -lXxf86dga
-lXxf86vm -lnsl
GGI_LIB =
MLIB_LIB =
MLIB_INC =
PNG_LIB = -lpng -lz
SDL_LIB = -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread
SVGA_LIB = -lvgagl -lvga
AA_LIB = -laa
# audio output
ALSA_LIB =
NAS_LIB =
MAD_LIB =
VORBIS_LIB =
SGIAUDIO_LIB =
# input
TERMCAP_LIB = -ltermcap
LIRC_LIB =
CSS_USE = no
CSS_LIB =
SDL_INC = -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT
W32_DEP = loader/libloader.a
W32_LIB = -Lloader -lloader
DS_DEP = loader/dshow/libDS_Filter.a
DS_LIB = -Lloader/dshow -lDS_Filter
AV_DEP = libavcodec/libavcodec.a
AV_LIB = -Llibavcodec -lavcodec
MP1E_DEP =
MP1E_LIB =
ARCH_LIB = -lpthread -ldl
DIVX4LINUX = yes
DECORE_LIB = -ldivxdecore opendivx/postprocess.o
MENCODER = yes
ENCORE_LIB = -ldivxencore -lmp3lame
DIRECTFB_LIB =
# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_CYGWIN = no
TARGET_CPU=586
TARGET_MMX = no
TARGET_MMX2 = no
TARGET_3DNOW = no
TARGET_3DNOWEX = no
TARGET_SSE = no
BINUTILS = yes
# --- GUI stuff ---
GTKLIB = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule
-lglib -ldl -lXext -lX11 -lm
GLIBLIB = -L/usr/lib -lglib
GTK_LIBS = $(GTKLIB) $(GLIBLIB)
GUI = yes
DEBUG = -DDEBUG
libvo/config.mak:
include ../config.mak
OPTIONAL_SRCS = vo_x11.c vo_dga.c vo_gl.c vo_gl2.c vo_aa.c vo_svga.c
vo_png.c vo_vesa.c vesa_lvo.c vo_sdl.c
OPTIONAL_OBJS = vo_x11.o vo_dga.o vo_gl.o vo_gl2.o vo_aa.o vo_svga.o
vo_png.o vo_vesa.o vesa_lvo.o vo_sdl.o
This is the error I am getting when I configure --enable-gui for MPlayer
0.60
gcc -O4 -march=pentium -mcpu=pentium -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -Ilibmpdemux -Iloader -Ilibvo
-I/usr/X11R6/include -I/usr/lib/glib/include -o mencoder mencoder.o
adpcm.o xacodec.o cpudetect.o mp_msg.o ac3-iec958.o
dec_audio.o dec_video.o msvidc.o cinepak.o fli.o qtrle.o codec-cfg.o
cfgparser.o my_profile.o RTjpegN.o minilzo.o nuppelvideo.o libao2/afmt.o
divx4_vbr.o libvo/aclib.o libvo/img_format.o dll_init.o -Lg72x -lg72x
-Lmp3lib -lMP3 -Lliba52 -la52 -Lxa -lxa -Llibmpeg2 -lmpeg2 -Llibavcodec
-lavcodec -Llibmpdemux -lmpdemux -Lloader -lloader -Lloader/dshow
-lDS_Filter -LGui -lgui -Llinux -losdep -Lpostproc -lpostproc
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
-lXext -lX11 -lm -L/usr/lib -lglib -lpng -lz -lz -lpthread -ldl
-ldivxdecore opendivx/postprocess.o -ldivxencore -lmp3lame -ltermcap
-lnsl -lm
Gui/libgui.a(ws.o): In function `wsScreenSaverOn':
ws.o(.text+0x19ed): undefined reference to `DPMSQueryExtension'
ws.o(.text+0x19fd): undefined reference to `DPMSEnable'
ws.o(.text+0x1a19): undefined reference to `DPMSInfo'
Gui/libgui.a(ws.o): In function `wsScreenSaverOff':
ws.o(.text+0x25f0): undefined reference to `DPMSQueryExtension'
ws.o(.text+0x2608): undefined reference to `DPMSInfo'
ws.o(.text+0x2639): undefined reference to `DPMSDisable'
collect2: ld returned 1 exit status
make: *** [mencoder] Error 1
What am I missing?
Let me know
Thanks
David Harris
More information about the MPlayer-users
mailing list