[Digikam-devel] 0.10-beta1 Building error

Pau Ruŀlan Ferragut paurullan at bulma.net
Fri Jul 11 06:53:34 BST 2008


On Thu, Jul 10, 2008 at 10:04:52PM +1000, Mark Purcell wrote:
>On Thu, 10 Jul 2008, =?UTF-8?Q?Pau_Rul=C2=B7lan_Ferragut?= wrote:

>> /home/paurullan/experiment/digikam-0.10.0-beta1/libs/greycstoration/greycst
>>oration.h:218: undefined reference to `pthread_create'
>> collect2: ld returned 1 exit status
>> make[2]: *** [lib/libdigikam.so.1.0.0] Error 1
>> make[1]: *** [digikam/CMakeFiles/digikam.dir/all] Error 2
>> make: *** [all] Error 2
>
>Have a look at this thread:
>
>http://mail.kde.org/pipermail/digikam-devel/2008-July/019672.html

Great, that was it.

Now I have another problem during the make:
[ 31%] Building C object
digikam/CMakeFiles/digikamdatabase.dir/__/libs/database/sqlite2/where.o
Linking CXX shared library ../lib/libdigikamdatabase.so
CMakeFiles/digikamdatabase.dir/__/libs/database/collectionmanager.o: In
function `CollectionManager':
/home/paurullan/experiment/digikam-0.10.0-beta1/libs/database/collectionmanager.cpp:506:
undefined reference to `Solid::DeviceNotifier::instance()'
/home/paurullan/experiment/digikam-0.10.0-beta1/libs/database/collectionmanager.cpp:511:
undefined reference to `Solid::DeviceNotifier::instance()'
/home/paurullan/experiment/digikam-0.10.0-beta1/libs/database/collectionmanager.cpp:506:
undefined reference to `Solid::DeviceNotifier::instance()'
/home/paurullan/experiment/digikam-0.10.0-beta1/libs/database/collectionmanager.cpp:511:
undefined reference to `Solid::DeviceNotifier::instance()'
CMakeFiles/digikamdatabase.dir/__/libs/database/collectionmanager.o: In
function `Digikam::CollectionManagerPrivate::actuallyListVolumes()':
/home/paurullan/experiment/digikam-0.10.0-beta1/libs/database/collectionmanager.cpp:243:
undefined reference to
`Solid::Device::listFromType(Solid::DeviceInterface::Type const&, QString
const&)'



And a whole lot more. I know it must be my fault but because the cmake seemed
to work I am blind:

paurullan at silverymoon:~/experiment/digikam-0.10.0-beta1 % cmake .
-- Found Qt-Version 4.4.0 (using /usr/bin/qmake-qt4)
-- Found X11: /usr/lib/libX11.so
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Found KDE 4.1 include dir: /usr/include
-- Found KDE 4.1 library dir: /usr/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found KDE4 automoc: /usr/bin/automoc4
-- Found lcms version 1.16, /usr/lib/liblcms.so
-- Found JPEG: /usr/lib/libjpeg.so
-- Found PNG: /usr/lib/libpng.so
-- Found gphoto2: -L/usr/lib -lgphoto2_port;-L/usr/lib -lgphoto2 -lgphoto2_port
-lm
-- Found JPEG: /usr/lib/libjpeg.so
-- Found Jasper: /usr/lib/libjasper.so
-- Found Kdcraw library in cache: /usr/lib/libkdcraw.so
-- Found Kexiv2 library in cache: /usr/lib/libkexiv2.so
-- Found Kipi library in cache: /usr/lib/libkipi.so
-- Found KDE PIM libraries
-- Found LensFun: /usr/local/include
-- 
--  digiKam dependencies results -------------------
--  Qt4 SQL module found........... YES
--  libgphoto2 library found....... YES
--  libtiff library found.......... YES
--  libpng library found........... YES
--  libjasper library found........ YES
--  liblcms library found.......... YES
--  libkipi library found.......... YES
--  libkexiv2 library found........ YES
--  libkdcraw library found........ YES
--  libkdepimlibs library found.... YES
--  libmarblewiget library found... NO
-- 
--  digiKam will be compiled without geolocation using Marble widget support.
-- 
--  liblensfun library found....... YES
--  digiKam will be compiled...
-- ------------------------------------------------
-- 
-- Warning, you using a bugous GCC version ( 4.3.1)
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/paurullan/experiment/digikam-0.10.0-beta1


How may I add info?

There is no need to CC me, I subscribed again to the list.

-- 
"You say you are true evil? Shall I tell you what true evil is? It is to submit
to you. It is when we surrender our freedom, our dignity, instead of defying
you."
  - Captain Picard, ST:TNG 1.23 «Skin of evil»



More information about the Digikam-devel mailing list