From owner-freebsd-current Sat Feb 15 10: 9:29 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 359E237B401 for ; Sat, 15 Feb 2003 10:09:28 -0800 (PST) Received: from seed.net.tw (sn14.seed.net.tw [139.175.54.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75EC943FBD for ; Sat, 15 Feb 2003 10:09:26 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.134.32] (port=49422 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:3) id 18k6kf-000Iif-00 for freebsd-current@freebsd.org; Sun, 16 Feb 2003 02:09:25 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.7/8.12.7) with ESMTP id h1FI9OLj006124 for ; Sun, 16 Feb 2003 02:09:25 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.7/8.12.7/Submit) id h1FI9OrM006123 for freebsd-current@freebsd.org; Sun, 16 Feb 2003 02:09:24 +0800 (CST) Date: Sun, 16 Feb 2003 02:09:24 +0800 From: leafy To: freebsd-current@freebsd.org Subject: gcc3.2.2 import might have trashed ld-elf.so.1 Message-ID: <20030215180924.GA6102@leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.3i 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 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 -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message