[MPlayer-dev-eng] configure2
Steven M. Schultz
sms at 2BSD.COM
Sun Nov 18 23:56:50 CET 2001
Hi -
>From: Arpi <arpi at thot.banki.hu>
>> > 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
>no. it's optional, and demux_mov only uses it if HAVE_ZLIB defined
I think the problem is that 'HAVE_ZLIB' is defined:
grep HAVE_ZLIB *
config.h:#define HAVE_ZLIB 1
but "-lz" is not being added to the list of libraries for the final
linking step. If I manually edit config.mak and add "-lz" to one
of the lists of libraries then I do not see the undefined symbols.
Steven Schultz
sms at 2bsd.com
More information about the MPlayer-dev-eng
mailing list