From owner-freebsd-current Sun Feb 16 10:44:45 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31AE637B401 for ; Sun, 16 Feb 2003 10:44:44 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E97E443FA3 for ; Sun, 16 Feb 2003 10:44:42 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 7049 invoked from network); 16 Feb 2003 18:44:40 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 16 Feb 2003 18:44:40 -0000 Message-ID: <3E4FDC18.5090100@liwing.de> Date: Sun, 16 Feb 2003 19:44:40 +0100 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: leafy Cc: freebsd-current@freebsd.org Subject: Re: gcc3.2.2 import might have trashed ld-elf.so.1 References: <20030215180924.GA6102@leafy.idv.tw> Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG leafy wrote: > I rebuilt and installed world on Friday and reinstalled ALL my ports with 'portupgrade -ra'. I have found the exact line that will trigger the ld "undefined symbol" error. > > /usr/X11R6/bin/uic -nounload -tr tr2i18n -i htmlpageinfo.h ./htmlpageinfo.ui > htmlpageinfo.cc.temp ; ret=$?; sed -e "s,tr2i18n( \"\" ),QString::null,g" htmlpageinfo.cc.temp | sed -e "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | sed -e "s,image\([0-9][0-9]*\)_data,img\1_htmlpageinfo,g" >> htmlpageinfo.cc ; rm -f htmlpageinfo.cc.temp ; if test "$ret" = 0; then echo '#include "htmlpageinfo.moc"' >>htmlpageinfo.cc; else rm -f htmlpageinfo.cc ; exit $ret ; fi > > Error is: > /usr/libexec/ld-elf.so.1: /usr/X11R6/plugins/designer/libwizards.so: Undefined symbol "_Z22qCleanupImages_wizardsv" > > Grepping the corresponding library: > leafy@leafy:/usr/X11R6/plugins/designer$ nm libwizards.so |grep Z22 > 000256f0 T _Z22qCleanupImages_wizardsv > > So ld is not finding a symbol which is in the correct library. > > Jiawei Ye > I'm not sure, but isn't the '-f' parameter required, if the portversion didn't change but an upgrade should be forced? Jens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message