Linking Problems after BIC changes in kdelibs

Michael Brade brade at kde.org
Tue Jan 10 20:27:35 GMT 2006


Hi,

again and again I forget to delete my $KDEDIR or at least the libs before 
recompiling. I'm using unsermake and what happens is that it picks up libs 
from $KDEDIR and then complains that the required symbols are not there 
anymore:

/bin/sh ./libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor 
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE 
-DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION 
-DQT3_SUPPORT -DQT_THREAD_SUPPORT -D_REENTRANT -L/opt/kde-4.0/lib 
-L/opt/qt-4.1/lib -L/usr/X11R6/lib -Wl,--as-needed -Wl,--enable-new-dtags 
-R /opt/kde-4.0/lib -R /opt/kde-4.0/lib -R /opt/qt-4.1/lib -R /usr/X11R6/lib 
-o ./kio/misc/kfile/kfile ./kio/libkio.la ./kio/misc/kfile/fileprops.o
/opt/kde-4.0/lib/libkdeui.so.4: undefined reference to 
`KConfigBase::deleteEntry(QString const&, bool, bool)'
/opt/kde-4.0/lib/libkdeui.so.4: undefined reference to 
`KConfigBase::writeEntry(char const*, QVariant const&, bool, bool, bool)'
/opt/kde-4.0/lib/libkdeui.so.4: undefined reference to 
`KConfigBase::writeEntry(char const*, QString const&, bool, bool, bool)'
/opt/kde-4.0/lib/libkdeui.so.4: undefined reference to 
`KConfigBase::writeEntry(QString const&, QString const&, bool, bool, bool)'
/opt/kde-4.0/lib/libkdeui.so.4: undefined reference to 
`KConfigBase::deleteGroup(QString const&, bool, bool)'
/opt/kde-4.0/lib/libkdeui.so.4: undefined reference to 
`KConfigBase::writeEntry(QString const&, QVariant const&, bool, bool, bool)'
/opt/kde-4.0/lib/libkdeui.so.4: undefined reference to 
`KConfigBase::writePathEntry(QString const&, QString const&, bool, bool, 
bool)'
/opt/kde-4.0/lib/libkdeui.so.4: undefined reference to 
`KConfigBase::writeEntry(char const*, QStringList const&, char, bool, bool, 
bool)'
collect2: ld returned 1 exit status

I don't know where to fix that in the build system, so I'd appreciate any 
help. The workaround is to force installation of already built libs to 
overwrite the stuff in $KDEDIR or delete them.

Cheers,
-- 
Michael Brade;                 KDE Developer, Student of Computer Science
  |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
  °--web: http://www.kde.org/people/michaelb.html

KDE 4: Beyond Your Expectations
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060110/f79e3b13/attachment.sig>


More information about the kde-core-devel mailing list