Summary: | kdelibs 3.5 fails to compile | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Patrizio Bassi <patrizio.bassi> |
Component: | kspell | Assignee: | Zack Rusin <zack> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Patrizio Bassi
2005-12-05 15:03:01 UTC
This is a similar bug to #117329. This is what I submitted to fix it : I had a similar problem - I fixed it by modifying the following line in kspell_hspellclient.h : #include "hspell.h" to /* libhspell is a C library and it does not have #ifdef __cplusplus */ extern "C" { #include "hspell.h" } This is what they had in kspell_hspelldict.h but they forgot to do it for kspell_hspellclient.h which gets called via the #include "kspell_hspellclient.cpp" line in kspell_hspell_la.all_cpp.cpp. Just go to the konstruct/kde/kdelibs/work/kdelibs-3.5.0/kspell2/plugins/hspell directory and modify this file. Then type make to recompile it. actually i've compiled without hspeel. i've removed it cause i don't need it! don't know why i had that since i don't need hebrew spell. however the problem is: grep "uninit" /usr/lib/hspell.h" gives nothing. there is no prototype of such function in hspell 0.7. if you add a fake skeleton, it fails on linking later, due to other functions too. i'm just a casual reporter :P SVN commit 486041 by thiago: Fixing the bug in kspell's hspell plugin. Thanks to Jeff Manson for the patch. BUG:117329,117722,117360 M +3 -0 kspell_hspellclient.h --- trunk/KDE/kdelibs/kspell2/plugins/hspell/kspell_hspellclient.h #486040:486041 @@ -25,7 +25,10 @@ #include "client.h" #include <qobject.h> +/* libhspell is a C library and it does not have #ifdef __cplusplus */ +extern "C" { #include "hspell.h" +} namespace KSpell2 { class Dictionary; |