Mplayer compile fails

Rune Maagensen maillist at maagensen.com
Tue Nov 16 20:43:17 UTC 2004


I'm trying to build an mplayer .deb, but it fails to compile everytime.

I'm running hoary dist-upgraded just before the compile and xorg

I've had XFree86 installed, prior to installing xorg.

I'm using "fakeroot debian/rules binary" to make a .deb:
./configure --prefix=/usr --confdir=/etc/mplayer 
--disable-runtime-cpudetection  $(DEB_BUILD_OPTIONS)
and no $(DEB_BUILD_OPTIONS)

Trying a normal make just now.

TIA
Rune

running configure get this:

$ ./configure
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 3.3.5, ok
Checking for CPU vendor ... GenuineIntel (6:8:6)
Checking for CPU type ...  Pentium III (Coppermine)
Checking for GCC & CPU optimization abilities ... pentium3
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of sse ... yes
Checking for mtrr support ... yes
Checking for assembler (as 2.15) ... ok
Checking for Linux kernel version ... 2.6.8.1-3-686, ok
Checking for mplayer binary name ... mplayer
Checking for awk ... mawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... yes
Checking for setlocale() ... yes
Checking for iconv ... 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 kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
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 int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
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 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 HPUX SCSI header ... 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 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 posix select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... no
Checking for Samba support (libsmbclient) ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/X11R6/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 XvMC ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... no
Checking for DGA ... no
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no (specify path to DVB/ost/include with 
--with-dvbincdir=DIR)
Checking for DVB HEAD ... yes
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for GIF support ... yes
Checking for broken giflib workaround ... disabled
Checking for VESA support ... yes
Checking for SDL ... no
Checking for Windows waveout ... no
Checking for Directx ... 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 EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for JACK ... no
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
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 (libdvdread) ... disabled by libmpdvdkit2
Checking for cdparanoia ... no
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
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 OggVorbis support ... no
Checking for OggTheora support (only the CVS version!) ... no
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libmpeg2 support ... yes
Checking for Matroska support (external 0.6.0 or later OR internal) ... 
yes, internal
Checking for internal FAAD2 (AAC) support ... yes
Checking for external FAAD2 (AAC) support ... no
Checking for FAAD2 version ... 2.0
Checking for MacOS X SHLB (shared lib) support ... no
Checking for Win32 codec DLL support ... yes (using /usr/local/lib/codecs)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... yes (using /usr/local/lib/codecs)
Checking for RealPlayer DLL ... yes (using /usr/local/lib/codecs)
Checking for LIVE.COM Streaming Media libraries ... no
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformatc (static) ... no
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... DivX5linux (with 
libdivxdecore.so)
Checking for libmp3lame (for mencoder) ... no
Checking for DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... no
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for byte order ... Little Endian
Checking for shared postprocess lib ... no
Checking for OSD menu ... no
Checking for QTX codecs ... yes
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 ftello() ... yes
Checking for VIDIX ... yes
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... 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/etc/mplayer

   Byte order: Little Endian
   Optimizing for: pentium3 mmx mmx2 sse mtrr

   Languages:
     Messages/GUI: en
     Manual pages: en (no localization selected, use --language=all)

   Enabled optional drivers:
     Input: ftp network edl tv matroska(internal) mpdvdkit2 vcd dvb smb
     Codecs: qtx divx5linux libavcodec real xanim dshow/dmo win32 
faad2(internal) libmpeg2 liba52 mp3lib libmad gif
     Audio output: alsa esd oss mpegpes(dvb)
     Video output: xvidix cvidix vesa gif89a jpeg png mpegpes(dvb) fbdev 
opengl xv x11 xover tga
   Disabled optional drivers:
     Input: tv-v4l2 tv-v4l tv-bsdbt848 live.com cdda dvdread
     Codecs: divx4linux xvid libdv libtheora libvorbis liblzo
     Audio output: sgi sun jack arts dxr2 nas win32 sdl macosx
     Video output: winvidix bl zr zr2 dxr3 dxr2 directx sdl svga caca aa 
ggi xmga mga dga xvmc directfb tdfx_vid tdfxfb 3dfx quartz

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

Please check mtrr settings at /proc/mtrr (see 
DOCS/HTML/en/devices.html#mtrr)


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/HTML/en/bugreports.html.

###########################
And the error is:
mplayer/gtk/pl.c:180: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
mplayer/gtk/pl.c:180: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium3 
-mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-fexpensive-optimizations -fschedule-insns2 -Wall -I. -I../loader -I./wm 
-I./skin -I/usr/include/freetype2 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -DDEBUG  -o 
mplayer/gtk/sb.o mplayer/gtk/sb.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium3 
-mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-fexpensive-optimizations -fschedule-insns2 -Wall -I. -I../loader -I./wm 
-I./skin -I/usr/include/freetype2 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -DDEBUG  -o 
mplayer/gtk/fs.o mplayer/gtk/fs.c
mplayer/gtk/fs.c: In function `ShowFileSelect':
mplayer/gtk/fs.c:316: warning: unused variable `hist'
mplayer/gtk/fs.c: In function `fs_Ok_released':
mplayer/gtk/fs.c:504: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
mplayer/gtk/fs.c: In function `create_FileSelect':
mplayer/gtk/fs.c:557: warning: unused variable `FSFrame'
mplayer/gtk/fs.c:558: warning: unused variable `frame2'
mplayer/gtk/fs.c:559: warning: unused variable `frame3'
mplayer/gtk/fs.c:560: warning: unused variable `frame4'
mplayer/gtk/fs.c:564: warning: unused variable `hseparator1'
mplayer/gtk/fs.c:567: warning: unused variable `label1'
mplayer/gtk/fs.c:568: warning: unused variable `hseparator2'
mplayer/gtk/fs.c:569: warning: unused variable `hseparator3'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium3 
-mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-fexpensive-optimizations -fschedule-insns2 -Wall -I. -I../loader -I./wm 
-I./skin -I/usr/include/freetype2 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -DDEBUG  -o 
mplayer/gtk/opts.o mplayer/gtk/opts.c
mplayer/gtk/opts.c: In function `prButton':
mplayer/gtk/opts.c:559: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
mplayer/gtk/opts.c:609: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
mplayer/gtk/opts.c:610: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
mplayer/gtk/opts.c: In function `create_Preferences':
mplayer/gtk/opts.c:1179: warning: implicit declaration of function 
`get_video_quality_max'
mplayer/gtk/opts.c:767: warning: unused variable `hbuttonbox2'
mplayer/gtk/opts.c:775: warning: unused variable `hbox3'
mplayer/gtk/opts.c: In function `ossButton':
mplayer/gtk/opts.c:1344: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
mplayer/gtk/opts.c:1345: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium3 
-mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-fexpensive-optimizations -fschedule-insns2 -Wall -I. -I../loader -I./wm 
-I./skin -I/usr/include/freetype2 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -DDEBUG  -o 
mplayer/gtk/url.o mplayer/gtk/url.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium3 
-mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-fexpensive-optimizations -fschedule-insns2 -Wall -I. -I../loader -I./wm 
-I./skin -I/usr/include/freetype2 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -DDEBUG  -o 
mplayer/gtk/eq.o mplayer/gtk/eq.c
mplayer/gtk/eq.c: In function `eqSetBands':
mplayer/gtk/eq.c:71: warning: implicit declaration of function 
`get_video_colors'
mplayer/gtk/eq.c: In function `ecButtonReleased':
mplayer/gtk/eq.c:543: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
mplayer/gtk/eq.c:544: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
mplayer/gtk/eq.c:545: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
mplayer/gtk/eq.c:546: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
mplayer/gtk/eq.c:547: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
mplayer/gtk/eq.c:548: warning: dereferencing type-punned pointer will 
break strict-aliasing rules
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium3 
-mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-fexpensive-optimizations -fschedule-insns2 -Wall -I. -I../loader -I./wm 
-I./skin -I/usr/include/freetype2 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -DDEBUG  -o 
mplayer/gtk/common.o mplayer/gtk/common.c
rm -f libgui.a
ar rc libgui.a wm/ws.o wm/wsxdnd.o app.o interface.o cfg.o bitmap.o 
skin/skin.o skin/font.o skin/cut.o mplayer/widgets.o mplayer/play.o 
mplayer/mw.o mplayer/sw.o mplayer/menu.o mplayer/pb.o mplayer/common.o 
mplayer/gtk/menu.o mplayer/gtk/mb.o mplayer/gtk/about.o mplayer/gtk/pl.o 
mplayer/gtk/sb.o mplayer/gtk/fs.o mplayer/gtk/opts.o mplayer/gtk/url.o 
mplayer/gtk/eq.o mplayer/gtk/common.o
true libgui.a
make[2]: Leaving directory `/usr/src/mplayer/MPlayer-1.0pre5/Gui'
cc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium3 
-mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -Ilibmpdemux -Iloader 
-Ilibvo -I/usr/include/freetype2 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include   -I/usr/X11R6/include 
      -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o 
playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o 
find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o 
mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a  vidix/libvidix.a 
Gui/libgui.a libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a 
libmpeg2/libmpeg2.a loader/libloader.a loader/dshow/libDS_Filter.a 
loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a 
input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 
-lmpdvdkit libavcodec/libavcodec.a   -lmad     -ldivxdecore   -lpng -lz 
-lz -ljpeg -lasound -ldl -lpthread    -lfreetype -lz   -lnsl  -lungif 
-lsmbclient  -lfontconfig    libfaad2/libfaad2.a  -L/usr/lib 
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext 
-lX11 -lm -L/usr/lib -lglib  -lGL  -lXv    -L/usr/X11R6/lib -lXext -lX11 
-lnsl -lnsl         -L/usr/lib -lesd -laudiofile -lm        -lpthread 
-ldl -rdynamic   -lm
/usr/lib/libGL.a(glxcmds.o)(.text+0x31f4): In function `glXGetMscRateOML':
: undefined reference to `XF86VidModeQueryVersion'
/usr/lib/libGL.a(glxcmds.o)(.text+0x3228): In function `glXGetMscRateOML':
: undefined reference to `XF86VidModeGetModeLine'
collect2: ld returned 1 exit status
make[1]: *** [mplayer] Fejl 1
make[1]: Forlader katalog '/usr/src/mplayer/MPlayer-1.0pre5'
make: *** [build-stamp] Fejl 2






More information about the ubuntu-users mailing list