[MPlayer-dev-eng] configure2

pl p_l at tfz.net
Sun Nov 18 21:27:40 CET 2001


On Sun, Nov 18, 2001 at 10:46:53AM -0800, Steven M. Schultz wrote:
[...]
> 	There is a missing "-lz" somewhere:
> 
> gcc -rdynamic -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibmpdemux -Iloader -Ilibvo    -o mplayer mplayer.o ima4.o xacodec.o cpudetect.o mp_msg.o ac3-iec958.o find_sub.o dec_audio.o dec_video.o msvidc.o codec-cfg.o subreader.o lirc_mp.o cfgparser.o mixer.o spudec.o my_profile.o -Llibmpdemux -lmpdemux      -Llibmpeg2 -lmpeg2 -Llibao2 -lao2 -Lmp3lib -lMP3 -Llibac3 -lac3     -Llibvo -lvo  -L/usr/X11R6/lib -lX11 -lXext  -lGL -pthread   -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lm -L/usr/contrib/lib -lesd -laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv -ldl -lsem -lXxf86dga -lXv -lXxf86vm      -lXinerama   -ldvdread  -rdynamic -pthread -ldl -ldvd -liconv -Llinux -losdep -Lpostproc -lpostproc -Lxa -lxa -Lopendivx -ldecore -ltermcap -lm 
> libmpdemux/libmpdemux.a(demux_mov.o): In function `lschunks':
> demux_mov.o(.text+0x2e02): undefined reference to `inflateInit_'
> demux_mov.o(.text+0x2e25): undefined reference to `inflate'
> demux_mov.o(.text+0x2e80): undefined reference to `inflateEnd'
> libao2/libao2.a(audio_out.o)(.data+0x30): undefined reference to `audio_out_mpegpes'
> gmake: *** [mplayer] Error 1
> 
> 	The 'inflate*' symbols come out of "-lz".   A good place to add it would
> 	be just before "-lm".
Hmmm...

So I guess zlib presence is now mandatory to compile MPlayer (?)
No zlib no MPlayer.

--
Best regards,
  pl 



More information about the MPlayer-dev-eng mailing list