Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2003 02:09:24 +0800
From:      leafy <leafy@leafy.idv.tw>
To:        freebsd-current@freebsd.org
Subject:   gcc3.2.2 import might have trashed ld-elf.so.1
Message-ID:  <20030215180924.GA6102@leafy.idv.tw>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030215180924.GA6102>