From owner-freebsd-ports@FreeBSD.ORG Sun Nov 16 05:23:08 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58B8116A4CE for ; Sun, 16 Nov 2003 05:23:08 -0800 (PST) Received: from smtp.web.de (smtp01.web.de [217.72.192.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5116743FBF for ; Sun, 16 Nov 2003 05:23:07 -0800 (PST) (envelope-from kay_lehmann@web.de) Received: from lehmann.in-dsl.de ([212.42.238.240] helo=web.de) by smtp.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.99 #516) id 1ALMro-0005pf-00; Sun, 16 Nov 2003 14:23:04 +0100 Message-ID: <3FB77A54.4010907@web.de> Date: Sun, 16 Nov 2003 14:23:32 +0100 From: Kay Lehmann User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-AT; rv:1.5) Gecko/20031102 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: walt References: <3FB64D80.401@myrealbox.com> In-Reply-To: <3FB64D80.401@myrealbox.com> Content-Type: multipart/mixed; boundary="------------080003010700010309050309" Sender: kay_lehmann@web.de cc: riggs@rrr.de cc: freebsd-ports@freebsd.org Subject: Re: MPLAYER -- missing symbols from libungif X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 13:23:08 -0000 This is a multi-part message in MIME format. --------------080003010700010309050309 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit walt schrieb: > cc -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo > -I/usr/local/include/freetype2 -I/usr/local/include > -I/usr/local/include/freetype2 -I/usr/local/include > -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 > -I/usr/local/include -I/usr/X11R6/include -o mplayer mplayer.o > mp_msg.o cpudetect.o codec-cfg.o cfgparser.o my_profile.o spudec.o > playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o > find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o > mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a vidix/libvidix.a > Gui/libgui.a libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a > libmpeg2/libmpeg2.a loader/libloader.a loader/dshow/libDS_Filter.a > loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a > input/libinput.a postproc/libpostproc.a postproc/libswscale.a > linux/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a > -lvorbis -logg -llzo -lpng -lz -lz -ljpeg /usr/X11R6/lib/libxmms.so > -export-dynamic -L/usr/local/lib -lfreetype -lz -ltermcap > -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib > -Wl,-E -lgmodule12 -lglib12 -lintl -lXi -lXext -lX11 -lm > -L/usr/local/lib -lglib12 -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama > -L/usr/X11R6/lib -lXext -lX11 -L/usr/local/lib -lesd > -laudiofile -lm -L/usr/local/lib -L/usr/local/lib -lc_r -rdynamic > -liconv -lintl -lm > libvo/libvo.a(vo_gif89a.o): In function `config': > vo_gif89a.o(.text+0x26d): undefined reference to `EGifOpenFileName' > vo_gif89a.o(.text+0x2de): undefined reference to `MakeMapObject' > [plus many more missing libungif symbols] > > Seems like there is a missing -lungif maybe? > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > Hello, same problem here. Workaround seems to be disabling explicit configure option: --enable-gif in the ports-Makefile. This seems to disable autodetection of libungif and so _ld_gif isn't set properly from configure. To Thomas (Maintainer): I don't know if there is a special reason in setting the configure option, so maybe you could take a look at this? Greetings, Kay --------------080003010700010309050309 Content-Type: text/plain; name="mplayer_Makefile.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mplayer_Makefile.diff" --- Makefile.orig Sun Nov 16 14:16:21 2003 +++ Makefile Sun Nov 16 14:07:13 2003 @@ -385,7 +385,7 @@ .if defined(WITH_LIBUNGIF) LIB_DEPENDS+= ungif.5:${PORTSDIR}/graphics/libungif -CONFIGURE_ARGS+= --enable-gif +#CONFIGURE_ARGS+= --enable-gif .else CONFIGURE_ARGS+= --disable-gif .endif --------------080003010700010309050309--