trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2012

Re: [trinity-devel] tellico FTBFS

From: Slávek Banko <slavek.banko@...>
Date: Thu, 1 Nov 2012 18:56:08 +0100
Dne čt 1. listopadu 2012 Darrell Anderson napsal(a):
> I'm using the latest GIT, including the latest patches for tellico of
> last night.
>
> This is with Slackware 14.0 64-bit (gcc 4.7.1). I don't have the
> failure with Slackware 13.1 32-bit (gcc 4.4.4).
>
> The failure message:
>
> ==================================
> make[3]: Entering directory `/dev/shm/tellico/src'
>
> ...
>
> /bin/sh ../libtool --tag=CXX   --mode=link g++  -Wno-long-long -Wundef
> -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts
> -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -O2 -fPIC
> -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
> -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt
> -fvisibility=hidden -fvisibility-inlines-hidden -I../src/core 
> -L/opt/trinity/lib64 -L/usr/lib64    -R /opt/trinity/lib64 -R
> /opt/trinity/lib64 -R /opt/trinity/lib64 -R /usr/lib64 -ltqt-mt  -lz
> -lpng -lz -lm -lXext -lX11  -lSM -lICE -ltqt -lpthread -lDCOP -ltdecore
> -ltdeui -ltdefx -lkio -lktexteditor -lkparts  -o tellico borrower.o
> borrowerdialog.o borroweritem.o calendarhandler.o collection.o
> collectionfactory.o collectionfieldsdialog.o configdialog.o
> controller.o detailedentryitem.o detailedlistview.o document.o entry.o
> entryeditdialog.o entrygroupitem.o entryiconfactory.o entryiconview.o
> entryitem.o entrymerger.o entryupdater.o entryview.o exportdialog.o
> fetchdialog.o fetcherconfigdialog.o field.o fieldcompletion.o
> filehandler.o filter.o filterdialog.o filteritem.o filterview.o
> groupiterator.o groupview.o image.o imagefactory.o importdialog.o
> isbnvalidator.o iso5426converter.o iso6937converter.o
> listviewcomparison.o loandialog.o loanitem.o loanview.o main.o
> mainwindow.o progressmanager.o reportdialog.o statusbar.o
> tellico_kernel.o tellico_strings.o tellico_utils.o upcvalidator.o
> viewstack.o xmphandler.o lccnvalidator.o ./core/libcore.a
> ./cite/libcite.a ./fetch/libfetch.a ./collections/libcollections.a
> ./translators/libtranslators.a ./newstuff/libnewstuff.a
> ./translators/pilotdb/libpilotdb.a
> ./translators/pilotdb/libflatfile/liblibflatfile.a ./gui/libgui.a
> ./translators/pilotdb/libpalm/liblibpalm.a ./rtf2html/librtf2html.a
> ./commands/libcommands.a -lexslt -lkio -lkhtml -ltdeui -ltdecore
> -ltqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -ltqt -lpthread
> -L/usr/lib64 -lxslt -lxml2 -lz -lm -L/usr/lib64 -ltag -lkcddb  -lkio
> -lkabc -lkcal ./translators/btparse/libbtparse.a -lknewstuff    -lxml2
> -lz -lm libtool: link: g++ -Wno-long-long -Wundef -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall
> -W -Wpointer-arith -fno-builtin -g3 -fno-inline -O2 -fPIC
> -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
> -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt
> -fvisibility=hidden -fvisibility-inlines-hidden -I../src/core -o
> tellico borrower.o borrowerdialog.o borroweritem.o calendarhandler.o
> collection.o collectionfactory.o collectionfieldsdialog.o
> configdialog.o controller.o detailedentryitem.o detailedlistview.o
> document.o entry.o entryeditdialog.o entrygroupitem.o
> entryiconfactory.o entryiconview.o entryitem.o entrymerger.o
> entryupdater.o entryview.o exportdialog.o fetchdialog.o
> fetcherconfigdialog.o field.o fieldcompletion.o filehandler.o filter.o
> filterdialog.o filteritem.o filterview.o groupiterator.o groupview.o
> image.o imagefactory.o importdialog.o isbnvalidator.o
> iso5426converter.o iso6937converter.o listviewcomparison.o loandialog.o
> loanitem.o loanview.o main.o mainwindow.o progressmanager.o
> reportdialog.o statusbar.o tellico_kernel.o tellico_strings.o
> tellico_utils.o upcvalidator.o viewstack.o xmphandler.o lccnvalidator.o
>  -L/opt/trinity/lib64 -L/usr/lib64 -L/usr/X11R6/lib64
> /opt/trinity/lib64/libDCOP.so /opt/trinity/lib64/libtdefx.so
> /opt/trinity/lib64/libktexteditor.so /opt/trinity/lib64/libkparts.so
> ./core/libcore.a ./cite/libcite.a ./fetch/libfetch.a
> ./collections/libcollections.a ./translators/libtranslators.a
> ./newstuff/libnewstuff.a ./translators/pilotdb/libpilotdb.a
> ./translators/pilotdb/libflatfile/liblibflatfile.a ./gui/libgui.a
> ./translators/pilotdb/libpalm/liblibpalm.a ./rtf2html/librtf2html.a
> ./commands/libcommands.a /usr/lib64/libexslt.so /usr/lib64/libgcrypt.so
> /usr/lib64/libgpg-error.so /opt/trinity/lib64/libkhtml.so
> /usr/lib64/libxslt.so -ltag /opt/trinity/lib64/libkcddb.so
> /opt/trinity/lib64/libtdecore.so /opt/trinity/lib64/libtqt-mt.so
> /usr/lib64/libjpeg.so /usr/lib64/libXi.so /usr/lib64/libXrandr.so
> /usr/lib64/libXcursor.so /usr/lib64/libXfixes.so
> /usr/lib64/libXinerama.so /usr/lib64/libXft.so /usr/lib64/libXrender.so
> /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lbz2
> /usr/lib64/libexpat.so /usr/lib64/libpng14.so /usr/lib64/libXext.so
> /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so
> /usr/lib64/libXdmcp.so /usr/lib64/libSM.so /usr/lib64/libuuid.so
> /usr/lib64/libICE.so /usr/lib64/libtqt.so -lpthread
> /opt/trinity/lib64/libtdeui.so /usr/lib64/../lib64/libstdc++.so
> /opt/trinity/lib64/libkio.so /opt/trinity/lib64/libkabc.so
> /opt/trinity/lib64/libkcal.so ./translators/btparse/libbtparse.a
> /opt/trinity/lib64/libknewstuff.so /usr/lib64/libxml2.so -ldl
> /usr/lib64/liblzma.so -lz -lm -pthread -Wl,-rpath -Wl,/usr/lib64
> -Wl,-rpath -Wl,/usr/lib64/../lib64 -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath
> -Wl,/usr/lib64/../lib64 -Wl,-rpath -Wl,/opt/trinity/lib64
> /usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackwar
>e-linux/bin/ld: calendarhandler.o: undefined reference to symbol
> '_ZN4KRES11ManagerImpl12resourceListEv'
> /usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackwar
>e-linux/bin/ld: note: '_ZN4KRES11ManagerImpl12resourceListEv' is defined
> in DSO /opt/trinity/lib64/libkresources.so.1 so try adding it to the
> linker command line /opt/trinity/lib64/libkresources.so.1: could not
> read symbols: Invalid operation collect2: error: ld returned 1 exit
> status
> make[3]: *** [tellico] Error 1
> make[3]: Leaving directory `/dev/shm/tellico/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/dev/shm/tellico/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/dev/shm/tellico'
> make: *** [all] Error 2
> ==================================
>
> I understand the recommendation for fixing, but I don't know exactly
> where or what to fix.
>
> Slavek, Francois, you both have been working a lot on these "DSO"
> errors. Hopefully you see the problem. :)
>
> Darrell
>

Please, try attached 'ugly' patch. If it helps, it may be needed to create 
test to build tellico with / without tdepim.

Slavek
-- 

Attachments: