Linking error in digikam

Andras Mantia amantia at kde.org
Sat Dec 17 08:53:19 GMT 2005


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?

Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- 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/20051217/3dca03c2/attachment.sig>


More information about the kde-core-devel mailing list