[MPlayer-dev-eng] configure2
pl
p_l at tfz.net
Mon Nov 19 00:15:06 CET 2001
On Sun, Nov 18, 2001 at 02:56:50PM -0800, Steven M. Schultz wrote:
{...}
> >> > 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_'
> 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.
Ok. Found it: it was a $_ld_z instead of a $_ld_zlib
More information about the MPlayer-dev-eng
mailing list