[Kde-imaging] [Bug 280860] New: compile fails due to DSO error with pthread
Thomas Caswell
tcaswell at gmail.com
Sat Aug 27 02:39:31 UTC 2011
https://bugs.kde.org/show_bug.cgi?id=280860
Summary: compile fails due to DSO error with pthread
Product: kipiplugins
Version: 2.1.0
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: DngConverter
AssignedTo: kde-imaging at kde.org
ReportedBy: tcaswell at gmail.com
Created an attachment (id=63166)
--> (http://bugs.kde.org/attachment.cgi?id=63166)
adds pthread to target_link
Version: 2.1.0 (using KDE 4.7.0)
OS: Linux
When compiling, I get an error about pthread symbols being undefined. I
believe this is related to B.K.O #258931 and the changes to DSO
Reproducible: Always
Steps to Reproduce:
1) checkout
2) compile
$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.21.53.20110810
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
$ gcc --version
gcc (Ubuntu/Linaro 4.6.1-7ubuntu2) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Actual Results:
[ 40%] Built target raw2dng_automoc
Linking CXX executable raw2dng
/usr/bin/ld: ../../../../lib/liblibdng.a(dng_mutex.cpp.o): undefined reference
to symbol 'pthread_key_delete@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_key_delete@@GLIBC_2.2.5' is defined in DSO
/lib/x86_64-linux-gnu/libpthread.so.0 so try adding it to the linker command
line
/lib/x86_64-linux-gnu/libpthread.so.0: could not read symbols: Invalid
operation
collect2: ld returned 1 exit status
make[2]: *** [extra/kipi-plugins/dngconverter/test/raw2dng] Error 1
make[1]: *** [extra/kipi-plugins/dngconverter/test/CMakeFiles/raw2dng.dir/all]
Error 2
make: *** [all] Error 2
Expected Results:
successful compile
This came up on the mailing list in June
--
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 Kde-imaging
mailing list