[Tellico-users] link failure
Sandor Bodo-Merle
sbodomerle at gmail.com
Thu Feb 11 20:00:24 UTC 2010
The whole link failure seems to relate to gnu gold linker.
Switching back to plain old gnu ld solved the problem. Tellico compiles
without reverting any commits.
br
SAnyi
On Thu, Feb 11, 2010 at 8:29 PM, Sandor Bodo-Merle <sbodomerle at gmail.com>wrote:
> With newest KDE 4.4.0 and Qt 4.6.1 i had to revert "r1086364 reenable
> korganizer integration for tracking loans" otherwise i get this error when
> final linking is done:
> ....
> /usr/lib/ccache/c++ -g -O2 -Wnon-virtual-dtor -Wno-long-long -ansi
> -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
> -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new
> -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden
> -fvisibility-inlines-hidden -Wnon-virtual-dtor -Wno-long-long -Wextra
> -fno-check-new -Woverloaded-virtual -DNDEBUG -DQT_NO_DEBUG
> -Wl,--enable-new-dtags -Wl,--no-undefined -Wl,--as-needed
> CMakeFiles/tellico.dir/tellico_automoc.o CMakeFiles/tellico.dir/borrower.o
> CMakeFiles/tellico.dir/borrowerdialog.o CMakeFiles/tellico.dir/collection.o
> CMakeFiles/tellico.dir/collectionfactory.o
> CMakeFiles/tellico.dir/collectionfieldsdialog.o
> CMakeFiles/tellico.dir/configdialog.o CMakeFiles/tellico.dir/controller.o
> CMakeFiles/tellico.dir/detailedlistview.o
> CMakeFiles/tellico.dir/derivedvalue.o CMakeFiles/tellico.dir/document.o
> CMakeFiles/tellico.dir/entry.o CMakeFiles/tellico.dir/entryeditdialog.o
> CMakeFiles/tellico.dir/entrygroup.o CMakeFiles/tellico.dir/entryiconview.o
> CMakeFiles/tellico.dir/entrycomparison.o
> CMakeFiles/tellico.dir/entrymatchdialog.o
> CMakeFiles/tellico.dir/entrymerger.o CMakeFiles/tellico.dir/entryupdatejob.o
> CMakeFiles/tellico.dir/entryupdater.o CMakeFiles/tellico.dir/entryview.o
> CMakeFiles/tellico.dir/exportdialog.o CMakeFiles/tellico.dir/fetchdialog.o
> CMakeFiles/tellico.dir/fetcherconfigdialog.o CMakeFiles/tellico.dir/field.o
> CMakeFiles/tellico.dir/fieldcompletion.o
> CMakeFiles/tellico.dir/fieldformat.o CMakeFiles/tellico.dir/filter.o
> CMakeFiles/tellico.dir/filterdialog.o CMakeFiles/tellico.dir/filterview.o
> CMakeFiles/tellico.dir/groupview.o CMakeFiles/tellico.dir/importdialog.o
> CMakeFiles/tellico.dir/loandialog.o CMakeFiles/tellico.dir/loanview.o
> CMakeFiles/tellico.dir/main.o CMakeFiles/tellico.dir/mainwindow.o
> CMakeFiles/tellico.dir/progressmanager.o
> CMakeFiles/tellico.dir/reportdialog.o
> CMakeFiles/tellico.dir/tellico_kernel.o
> CMakeFiles/tellico.dir/tellico_utils.o CMakeFiles/tellico.dir/viewstack.o
> -o tellico -rdynamic -L/home/SRC/tellico-sgit/builds/debbuild/lib
> ../lib/libcore.a ../lib/libcite.a ../lib/libfetch.a ../lib/libcollections.a
> ../lib/libimages.a ../lib/libtranslators.a ../lib/libgui.a
> ../lib/libcommands.a ../lib/libmodels.a ../lib/libutils.a
> ../lib/libnewstuff.a ../lib/libpilotdb.a ../lib/librtf2html.a
> ../lib/libbtparse.a ../lib/libcsv.a /usr/lib/libkdeui.so.5.4.0
> /usr/lib/libkio.so.5.4.0 /usr/lib/libkhtml.so.5.4.0
> /usr/lib/libknewstuff2.so.4.4.0 /usr/lib/libsolid.so.4.4.0 -lqimageblitz
> -lxml2 -lxslt -lexslt -lkabc -lkcal -lkcddb -lpoppler-qt4 -lexempi
> -L/usr/lib -ltag -lyaz -lexslt -lxslt -lxml2 ../lib/libbarcode.a -lv4l1
> -lksane ../lib/libcollections.a ../lib/libtranslators.a ../lib/libmodels.a
> ../lib/librtf2html.a ../lib/libbtparse.a ../lib/libcsv.a -lxml2 -lxslt
> -lexslt -L/usr/lib -ltag ../lib/libcore.a ../lib/liblibflatfile.a
> ../lib/liblibpalm.a /usr/lib/libkparts.so.4.4.0 /usr/lib/libkjs.so.4.4.0
> /usr/lib/libkio.so.5.4.0 /usr/lib/libkdeui.so.5.4.0 /usr/lib/libQtSvg.so
> /usr/lib/libsolid.so.4.4.0 /usr/lib/libQtNetwork.so /usr/lib/libQtXml.so
> /usr/lib/libkdecore.so.5.4.0 /usr/lib/libQtCore.so -lpthread
> /usr/lib/libQtDBus.so /usr/lib/libQtGui.so -lkcddb -lpoppler-qt4 -lexempi
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::~StdCalendar():/home/SRC/tellico-sgit/src/utils/calendarhandler.cpp:276:
> error: undefined reference to 'KRES::Resource::close()'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::~StdCalendar():/home/SRC/tellico-sgit/src/utils/calendarhandler.cpp:281:
> error: undefined reference to 'KRES::Resource::close()'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::~StdCalendar():/usr/include/kdebug.h:246:
> error: undefined reference to 'KRES::Resource::close()'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/home/SRC/tellico-sgit/src/utils/calendarhandler.cpp:230:
> error: undefined reference to 'KRES::ManagerImpl::standardResource()'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/kdebug.h:258:
> error: undefined reference to 'KRES::Resource::type() const'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qlist.h:606:
> error: undefined reference to 'KRES::ManagerImpl::resourceList()'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qlist.h:603:
> error: undefined reference to 'KRES::ManagerImpl::resourceList()'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qlist.h:94:
> error: undefined reference to 'KRES::ManagerImpl::resourceList()'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qlist.h:122:
> error: undefined reference to 'KRES::Resource::isActive() const'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qlist.h:393:
> error: undefined reference to 'KRES::ManagerImpl::resourceList()'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qstring.h:878:
> error: undefined reference to 'KRES::Resource::type() const'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/bits/string3.h:52:
> error: undefined reference to 'KRES::Resource::isActive() const'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qstring.h:878:
> error: undefined reference to 'KRES::Factory::resource(QString const&)'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/kdebug.h:258:
> error: undefined reference to 'typeinfo for KRES::Resource'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/home/SRC/tellico-sgit/src/utils/calendarhandler.cpp:270:
> error: undefined reference to 'KRES::ManagerImpl::add(KRES::Resource*)'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qstring.h:878:
> error: undefined reference to
> 'KRES::ManagerImpl::setStandardResource(KRES::Resource*)'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qlist.h:94:
> error: undefined reference to 'KRES::Resource::isActive() const'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/home/SRC/tellico-sgit/src/utils/calendarhandler.cpp:230:
> error: undefined reference to 'KRES::ManagerImpl::standardResource()'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/kdebug.h:258:
> error: undefined reference to 'KRES::Resource::type() const'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qlist.h:122:
> error: undefined reference to 'KRES::Resource::isActive() const'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qstring.h:878:
> error: undefined reference to 'KRES::Resource::type() const'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qstring.h:878:
> error: undefined reference to 'KRES::Factory::resource(QString const&)'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/kdebug.h:258:
> error: undefined reference to 'typeinfo for KRES::Resource'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/home/SRC/tellico-sgit/src/utils/calendarhandler.cpp:270:
> error: undefined reference to 'KRES::ManagerImpl::add(KRES::Resource*)'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::StdCalendar::StdCalendar():/usr/include/qt4/QtCore/qstring.h:878:
> error: undefined reference to
> 'KRES::ManagerImpl::setStandardResource(KRES::Resource*)'
> /usr/bin/ld: ../lib/libutils.a(calendarhandler.o): in function
> Tellico::CalendarHandler::addLoans(QList<KSharedPtr<Tellico::Data::Loan> >,
> KCal::ResourceCalendar*):/home/SRC/tellico-sgit/src/utils/calendarhandler.cpp:79:
> error: undefined reference to 'KRES::Resource::close()'
> collect2: ld returned 1 exit status
> make[3]: *** [src/tellico] Error 1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20100211/4310d595/attachment.html>
More information about the tellico-users
mailing list