[Mplayer-users] Problem compiling MPlayer ("undefined reference to deflate")Sun Apr 29 03:08:09 2001

Arpi arpi at thot.banki.hu
Sun Apr 29 03:12:21 CEST 2001


Hi,

> I've got a problem compiling the MPlayer - it says something about an
> "undefined reference to deflate"

> /usr/lib/libpng.a(png.o): In function `png_reset_crc': png.o(.text+0x13a): undefined reference to `crc32' /usr/lib/libpng.a(png.o): In function `png_calculate_crc': png.o(.text+0x19f): undefined reference to `crc32' /usr/lib/libpng.a(pngwrite.o): In function `png_write_flush': pngwrite.o(.text+0x86a): undefined reference to `deflate' /usr/lib/libpng.a(pngwrite.o): In function `png_write_destroy': pngwrite.o(.text+0x9fe): undefined reference to `deflateEnd' /usr/lib/libpng.a(pngwutil.o): In function `png_write_IHDR': pngwutil.o(.text+0x44c): undefined reference to `deflateInit2_' /usr/lib/libpng.a(pngwutil.o): In function `png_write_zTXt': pngwutil.o(.text+0xf57): undefined reference to `deflate' pngwutil.o(.text+0x105a): undefined reference to `deflate' pngwutil.o(.text+0x1216): undefined reference to `deflateReset' /usr/lib/libpng.a(pngwutil.o): In function `png_write_finish_row': pngwutil.o(.text+0x1847): undefined reference to `deflate' pngwutil.o(.text+0x18d9): undefined!
 reference to `deflateReset' /usr/l
> b/libpng.a(pngwutil.o): In function `png_write_filtered_row': pngwutil.o(.text+0x2a1c): undefined reference to `deflate' make: *** [mplayer] Error 1 

hmm. you have static version of libpng. you must compile mplayer with
./configure --disable-png  or  edit config.mak and append to X_LIBS=...
after -lpng this: -lz

> My hard/software:
> kernel: 2.2.14
> linux distribution: caldera open linux edesktop 2.4
> glibc version: 1.2.6
hmm. is it libc5?

> gcc: gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)  
> binutils: 2.9.5
these are very old... maybe you'll problems with c++ code too.

> your X11 version: ?
3.3.x or 4.x ?

> video card vendor/model: Riva TNT2 Chipset
ok, if you have X 4.0.1+ and using nvidia's driver (instead X's built-in)


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list