[Digikam-devel] [Bug 274484] New: build failure - linking kstat
tropikhajma
tropikhajma at gmail.com
Sun May 29 22:56:41 BST 2011
https://bugs.kde.org/show_bug.cgi?id=274484
Summary: build failure - linking kstat
Product: digikam
Version: 2.0.0
Platform: Compiled Sources
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Portability
AssignedTo: digikam-devel at kde.org
ReportedBy: tropikhajma at gmail.com
Version: 2.0.0 (using KDE 4.6.2)
OS: Solaris
building digikam-2.0.0-beta5 fails with the below error.
Linking CXX executable testlensfuniface
cd
/home/test/packages/BUILD/digikam-2.0.0-beta5/i386/digikam-2.0.0-beta5/build/core/libs/dimg/filters/lens
&& /opt/kde4/bin/cmake -E cmake_link_script
CMakeFiles/testlensfuniface.dir/link.txt --verbose=1
/usr/gcc/4.5/bin/g++ -Woverloaded-virtual -fno-threadsafe-statics
-fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG
CMakeFiles/testlensfuniface.dir/testlensfuniface_automoc.cpp.o
CMakeFiles/testlensfuniface.dir/testlensfuniface.cpp.o -o testlensfuniface
-L/opt/kde4/lib
-L/home/test/packages/BUILD/digikam-2.0.0-beta5/i386/digikam-2.0.0-beta5/build/lib
../../../../../lib/libdigikamcore.so.2.0.0 /opt/kde4/lib/libQtCore.so -lthread
/opt/kde4/lib/libkdecore.so.5.6.0 ../../../../../lib/libkexiv2.so.10.0.0
/opt/kde4/lib/libkdecore.so.5.6.0 /opt/kde4/lib/libQtCore.so -lthread
/opt/kde4/lib/libQtDBus.so
-Wl,-R/home/test/packages/BUILD/digikam-2.0.0-beta5/i386/digikam-2.0.0-beta5/build/lib:/opt/kde4/lib
ld: warning: file /opt/kde4/lib/libkdecore.so.5.6.0: attempted multiple
inclusion of file
ld: warning: file /opt/kde4/lib/libQtCore.so: attempted multiple inclusion of
file
Undefined first referenced
symbol in file
kstat_data_lookup ../../../../../lib/libdigikamcore.so.2.0.0
kstat_lookup ../../../../../lib/libdigikamcore.so.2.0.0
kstat_read ../../../../../lib/libdigikamcore.so.2.0.0
kstat_open ../../../../../lib/libdigikamcore.so.2.0.0
kstat_close ../../../../../lib/libdigikamcore.so.2.0.0
ld: fatal: symbol referencing errors. No output written to testlensfuniface
collect2: ld returned 1 exit status
gmake[2]: *** [core/libs/dimg/filters/lens/testlensfuniface] Error 1
below patch fixes that, although it should probably have some platform specific
ifs:
--- core/libs/dimg/filters/lens/CMakeLists.txt.orig 2011-05-29
23:03:07.143272230 +0200
+++ core/libs/dimg/filters/lens/CMakeLists.txt 2011-05-29 23:03:54.472413389
+0200
@@ -29,4 +29,5 @@
${QT_QTCORE_LIBRARY}
${KDE4_KDECORE_LIBS}
${KEXIV2_LIBRARIES}
+ kstat
)
--- core/digikam/CMakeLists.txt.orig 2011-05-29 23:32:47.655390948 +0200
+++ core/digikam/CMakeLists.txt 2011-05-29 23:33:36.660466837 +0200
@@ -279,6 +279,7 @@
advancedrename
queuemanager
cameragui
+ kstat
)
IF(USE_SCRIPT_IFACE)
--- core/showfoto/CMakeLists.txt.orig 2011-05-29 23:39:06.437811852 +0200
+++ core/showfoto/CMakeLists.txt 2011-05-29 23:39:26.724301647 +0200
@@ -36,6 +36,7 @@
${KDE4_KIO_LIBS}
${LCMS_LIBRARIES}
${QT_QT3SUPPORT_LIBRARY}
+ kstat
)
INSTALL(TARGETS showfoto ${INSTALL_TARGETS_DEFAULT_ARGS})
--- core/databaseserver/CMakeLists.txt.orig 2011-05-29 23:42:49.945582201
+0200
+++ core/databaseserver/CMakeLists.txt 2011-05-29 23:43:02.305416095 +0200
@@ -17,6 +17,7 @@
${KDE4_KDECORE_LIBS}
${QT_QTSQL_LIBRARY}
${QT_QT3SUPPORT_LIBRARY}
+ kstat
)
INSTALL(TARGETS digikamdatabaseserver DESTINATION ${LIBEXEC_INSTALL_DIR})
Reproducible: Always
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list