| Summary: | build fails - undefined symbol gpg_err_code_from_errno | ||
|---|---|---|---|
| Product: | [Applications] kleopatra | Reporter: | tropikhajma <tropikhajma> |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mutz, winter |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Solaris | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | patch | ||
|
Description
tropikhajma
2010-03-17 02:57:15 UTC
I have had to add -lgpg-error to the CXXFLAGS Sorry, neither Christophe (our CMake guru) nor I know how to fix this problem properly. Changing CXXFLAGS is not a nice solution. The correct solution is likely to modify a target_link_library call somewhere. Can you try that out? If nothing else works, we can add a conditional for Sun Studio 12 compiler that changes the CXXFLAGS only for that compiler. Created attachment 50562 [details]
patch
this patch worked for me
Please try this:
In kwatchgnupg/CMakeLists.txt, replace
target_link_libraries(kwatchgnupg ${KDE4_KDEUI_LIBS} kleo ${KDEPIMLIBS_GPGMEPP_LIBS})
with
target_link_libraries(kwatchgnupg ${KDE4_KDEUI_LIBS} kleo ${QGPGME_LIBRARIES})
(In reply to comment #4) > Please try this: > > In kwatchgnupg/CMakeLists.txt, replace > target_link_libraries(kwatchgnupg ${KDE4_KDEUI_LIBS} kleo > ${KDEPIMLIBS_GPGMEPP_LIBS}) > > with > > target_link_libraries(kwatchgnupg ${KDE4_KDEUI_LIBS} kleo > ${QGPGME_LIBRARIES}) this worked too SVN commit 1163983 by winterz: build on Solaris too BUG: 231054 M +2 -1 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1163983 SVN commit 1163984 by winterz: build on Solaris too CCBUG: 231054 M +2 -1 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1163984 |