[Digikam-devel] 0.10-beta1 Building error

Mark Purcell msp at debian.org
Thu Jul 10 13:04:52 BST 2008


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

and apply this patch:

--- digikam/CMakeLists.txt.orig 2008-07-07 22:21:31.000000000 +1000
+++ digikam/CMakeLists.txt      2008-07-07 21:57:05.000000000 +1000
@@ -117,6 +117,7 @@
                      ${KDCRAW_LIBRARIES}
                      ${KEXIV2_LIBRARIES}
                      ${KIPI_LIBRARIES}
+                      ${CMAKE_THREAD_LIBS_INIT}
               )  


Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20080710/2bf65318/attachment.sig>


More information about the Digikam-devel mailing list