[MPlayer-users] gui problem with libpng

Claudio Landi oclandi at hotmail.com
Tue Jun 11 12:34:02 CEST 2002


my distro is mandrake 8.2.
I've installed libpng 1.0.12 (with devel packages) and libpng 1.2.1 (without 
devel package), both from mdk install cds.

I've installed latest cvs version. mplayer works perfectly, while gmplayer 
crashes when I click on open button with the following:

MPlayer CVS-020611-11:47-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local 
display)
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': 
No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 36 audio & 97 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 
chars)
Using Linux's hardware RTC timing (1024Hz)
Can't open input config file /root/.mplayer/input.conf : No such file or 
directory
Falling back on default (hardcoded) input config
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
libpng warning: Application was compiled with png.h from libpng-1.2.1
libpng warning: Application  is running with png.c from libpng-1.0.12
libpng error: Incompatible libpng version in application and library

** ERROR **: No such image: scroller-v-trough.png
aborting...


MPlayer interrupted by signal 6 in module: unknown
- 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/bugreports.html and follow instructions 
there. We can't and won't help unless you provide these informations when 
reporting a possible bug.



################################################
##output of ./configure --cc=/usr/local/bin/gcc --enable-gui
################################################

Detected operating system: Linux
Detected host architecture: i386
Checking for /usr/local/bin/gcc version ... 2.95.3, ok
Checking for CPU vendor ... AuthenticAMD (6:4:2)
Checking for CPU type ...  AMD Athlon(tm) Processor
Checking for GCC & CPU optimization abilities ... pentiumpro
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.11.92.0.12) ... 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 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 ... no
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 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 RealPlayer8 DLL ... yes
Checking for iconv ... yes
Checking for FFmpeg libavcodec (static) ... no (see DOCS/codecs.html)
Checking for FFmpeg libavcodec (dynamic) ... no
Checking for libdv-0.9.5 (for mencoder) ... no
Checking for zr ... no
Checking for XviD/DivX4linux/DivX5linux/OpenDivX decore ... DivX5linux (with 
libdivxdecore.so)
Checking for libmp3lame (for mencoder) ... no
Checking for XviD/DivX4linux encore (for mencoder) ... DivX4linux (with 
libdivxencore.so)
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 ... yes
Checking for XShape extension ... yes
Checking for gtk version ... 1.2.10 (using gtk-config)
Checking for glib version ... 1.2.10 (using glib-config)
Creating Gui/config.mak
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: pentiumpro mmx mmx2 3dnow 3dnowex mtrr

  Enabled optional drivers:
    Input: network tv-v4l tv mpdvdkit vcd
    Codecs: divx5linux real
    Audio output: oss mpegpes(file)
    Video output: xvidix vesa jpeg png mpegpes(file) fbdev opengl dga xv x11
  Disabled optional drivers:
    Input: tv-bsdbt848 dvdnav dvdread dvdcss
    Codecs: divx4linux libavcodec xanim directshow win32 libvorbis libmad
    Audio output: sgi sun alsa arts dxr2 nas sdl
    Video output: zr dxr3 dxr2 sdl gif89a 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.




############################################
#####Contents of configure.log (partial)####
############################################



============ Checking for PNG support ============

#include <png.h>
#include <string.h>
int main(void) {
  printf("png.h : %s\n", PNG_LIBPNG_VER_STRING);
  printf("libpng: %s\n", png_libpng_ver);
  return (strcmp(PNG_LIBPNG_VER_STRING, png_libpng_ver));
}

/usr/local/bin/gcc    /tmp/mplayer-conf-17646-2772.c -o 
/tmp/mplayer-conf-2076-2772.o -lpng -lz -lm

ldd /tmp/mplayer-conf-2076-2772.o
	libpng.so.2 => /usr/lib/libpng.so.2 (0x40028000)
	libz.so.1 => /lib/libz.so.1 (0x4004f000)
	libm.so.6 => /lib/libm.so.6 (0x4005e000)
	libc.so.6 => /lib/libc.so.6 (0x40081000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

png.h : 1.0.12
libpng: 1.0.12
Result is: yes
##########################################




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx




More information about the MPlayer-users mailing list