Linking error in digikam
Tom Albers
tomalbers at kde.nl
Sat Dec 17 13:38:33 GMT 2005
Op zaterdag 17 december 2005 09:53, schreef Andras Mantia:
> Hi,
>
> I have a linking error in digikam which seems to be 64bit specific and
> as this is the first time I have such a system I have no idea what to
> do:
>
> linking ../digikam/digikam/libdigikam.la
> /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wno-long-long
> -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -pipe
> -fno-reorder-blocks -fno-schedule-insns -fno-inline -Wformat-security
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fvisibility=hidden
> -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_CLEAN_NAMESPACE
> -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
> -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE
> -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
> -DQT_THREAD_SUPPORT -D_REENTRANT -L/data/kde-35/lib
> -L/usr/lib64/qt3/lib -L/usr/X11R6/lib64 -no-undefined
> -o ../digikam/digikam/libdigikam.la -rpath /data/kde-35/lib
> -Wl,--no-undefined -Wl,--allow-shlib-undefined -lkio -lsqlite3 -lkabc
> -L/data/kde-35/lib -lkexif -lkipi
> -lkutils ../digikam/sqlite/libsqlite.la
> ../digikam/libs/filters/libfilters.la
> ../digikam/libs/thumbbar/libthumbbar.la
> ../digikam/libs/themeengine/libthemeengine.la
> ../digikam/libs/widgets/libwidgets.la ../digikam/libs/dialogs/libdialog.la
> ../digikam/libs/jpegutils/libjpegutils.la
> ../digikam/libs/imageproperties/libimagepropertiesdigikam.la
> ../digikam/utilities/cameragui/libcameragui.la
> ../digikam/utilities/imageeditor/canvas/libdimgcanvas.la
> ../digikam/utilities/imageeditor/editor/libdimgeditor.la
> ../digikam/utilities/splashscreen/libsplashscreen.la
> ../digikam/utilities/setup/libsetup.la ../digikam/digikam/firstrunUI.lo
> ../digikam/digikam/albummanager.lo ../digikam/digikam/album.lo
> ../digikam/digikam/albumitemhandler.lo ../digikam/digikam/albumdb.lo
> ../digikam/digikam/albumdb_sqlite2.lo ../digikam/digikam/albumlister.lo
> ../digikam/digikam/dragobjects.lo ../digikam/digikam/iconview.lo
> ../digikam/digikam/icongroupitem.lo ../digikam/digikam/iconitem.lo
> ../digikam/digikam/digikamapp.lo ../digikam/digikam/digikamview.lo
> ../digikam/digikam/albumfolderview.lo ../digikam/digikam/albumiconview.lo
> ../digikam/digikam/albumicongroupitem.lo
> ../digikam/digikam/albumiconitem.lo ../digikam/digikam/albumpropsedit.lo
> ../digikam/digikam/albumsettings.lo ../digikam/digikam/cameralist.lo
> ../digikam/digikam/cameratype.lo ../digikam/digikam/cameradragobject.lo
> ../digikam/digikam/kipiinterface.lo ../digikam/digikam/tagcreatedlg.lo
> ../digikam/digikam/albumfiletip.lo ../digikam/digikam/tagspopupmenu.lo
> ../digikam/digikam/syncjob.lo ../digikam/digikam/albumhistory.lo
> ../digikam/digikam/scanlib.lo ../digikam/digikam/imageinfo.lo
> ../digikam/digikam/datefolderview.lo ../digikam/digikam/pixmapmanager.lo
> ../digikam/digikam/tagfolderview.lo ../digikam/digikam/tagfilterview.lo
> ../digikam/digikam/monthwidget.lo ../digikam/digikam/searchfolderview.lo
> ../digikam/digikam/dio.lo ../digikam/digikam/searchresultsview.lo
> ../digikam/digikam/searchresultsitem.lo
> ../digikam/digikam/searchquickdialog.lo
> ../digikam/digikam/searchadvanceddialog.lo
> ../digikam/digikam/searchwidgets.lo ../digikam/digikam/kdateedit.lo
> ../digikam/digikam/kdatetimeedit.lo ../digikam/digikam/kdatepickerpopup.lo
> ../digikam/digikam/folderview.lo ../digikam/digikam/folderitem.lo
> ../digikam/digikam/upgradedb_sqlite2tosqlite3.lo
> ../digikam/digikam/squeezedcombobox.lo ../digikam/digikam/ratingwidget.lo
> ../digikam/digikam/digikamfirstrun.lo
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld
>: ../digikam/utilities/setup/.libs/libsetup.a(setupgeneral.o): relocation
> R_X86_64_PC32 against `QDir::operator!=(QDir const&) const' can not be used
> when making a shared object; recompile with -fPIC
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld
>: final link failed: Bad value
> collect2: ld returned 1 exit status
> Error creating ../digikam/digikam/libdigikam.la. Exit status 1.
>
>
> I've tried what it suggests (add -fPIC to KDE_CXXFLAGS
> in /digikam/utilities/setup/Makefile.am), but it does not help. Is this
> a problem in digikam or with the 64bit version of Qt in SUSE 10?
>
> Does anyone know how to solve such problems?
Hi,
No, all reports we have are from users using suse... Renchi Raju would
normally fix this type of issues, but as he has dissapeared of the planet,
the digiKam team does not have any knowledge how to resolve this.
--enable-final is broken as well. It would be great if someone who knows could
compile digiKam with a certain interval.
Toma
ps. digiKam trunk is under heavy development at the moment, you better use the
version available at branches/stable/extragear/graphics/digikam
[1] http://mail.kde.org/pipermail/digikam-users/2005-October/000462.html
[2] http://mail.kde.org/pipermail/digikam-devel/2005-November/002181.html
[3] http://lists.suse.com/archive/suse-linux-e/2005-Oct/1703.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051217/59947077/attachment.bin>
More information about the kde-core-devel
mailing list