Koffice compiling problem

Ralf Habacker ralf.habacker at freenet.de
Thu Apr 1 01:41:54 CEST 2004


On Thursday 01 April 2004 01:05, you wrote:
> On Sunday 21 March 2004 11:14, Gharti wrote:
> > Dear Ralf,
> >
> >
> > Thank you for your help. That problem was solved, but unfortunately I
> > encountered with other errors. I am bit afraid whether this problem is
> > not related to kde-cygwin. I would be grateful for any helps.
>
> You are encountering the kind of problems, I have described in
> http://kde-cygwin.sf.net/kde3/compiling.php. As I haven't compiled koffice
> until now, I can only give you a few hints.
>
> 1. Koffice isn't a beginner package. If you are new with compiling kde
> packages you should choose another single application package.
>
> 2. Make sure, you are using a koffice version which is compatible with kde
> 3.1.4. There are some differences between kde 3.1.4 and kde 3.2.
>
> 3. If you are using a cvs source don't use the head release, because they
> can have errors. checkout a release using a specific tag for example
>
> cd <koffice-src>
> cvs update -r KOFFICE_1_3_RELEASE
>
> 4. koffice requires several external libraries which has be installed, if
> it is already released as a cygwin package or compiled otherwise.
>
> 5.  The described errors requires some analysis because there could be more
> reasons. You can use
>
> make CXX="g++ -save-temps"
>
> to create a <src>.ii file contains the output of the preprocessor and a
> <src>.s with the assembler output. The .ii file is usefull for debugging of
> missing symbols or unknow compiler errors.
>
6. if you encounter missing symbols, it often help to add most recently used 
libs like 

make LIBS="-lkdecore -ldcop -lqt-mt -lXext -lX11 -lICE -lSM" 

Then you don't have to add this libs to each Makefile.am. 

 Ralf
>
>
>
> a
>
> > Errors:
> >
> >
> >  koBgSpellCheck.cc: In destructor `virtual
> > KoBgSpellCheck::~KoBgSpellCheck()': koBgSpellCheck.cc:67: warning:
> > invalid use of undefined type `struct KOSpell' koBgSpellCheck.h:29:
> > warning: forward declaration of `struct KOSpell' koBgSpellCheck.cc: In
> > member function `void
> >    KoBgSpellCheck::addPersonalDictonary(const QString&)':
> > koBgSpellCheck.cc:76: error: `addPersonal' undeclared (first use this
> > function) koBgSpellCheck.cc:76: error: (Each undeclared identifier is
> > reported only once for each function it appears in.)
> > koBgSpellCheck.cc: In member function `void
> >    KoBgSpellCheck::spellCheckNextParagraph()':
> > koBgSpellCheck.cc:340: error: `check' undeclared (first use this
> > function) koBgSpellCheck.cc: In member function `void
> >    KoBgSpellCheck::spellCheckerFinished()':
> > koBgSpellCheck.cc:383: error: incomplete type `KOSpell' does not have
> > member ` spellStatus'
> > koBgSpell Check.cc:383: error: syntax error before `=' token
> > koBgSpellCheck.cc:384: warning: invalid use of undefined type `struct
> > KOSpell' koBgSpellCheck.h:29: warning: forward declaration of `struct
> > KOSpell' koBgSpellCheck.cc:388: error: `status' undeclared (first use
> > this function) koBgSpellCheck.cc:388: error: incomplete type `KOSpell'
> > does not have member ` Error'
> > koBgSpellCheck.cc:399: error: incomplete type `KOSpell' does not have
> > member ` Crashed'
> > koBgSpellCheck.cc: In member function `void
> > KoBgSpellCheck::stopSpellChecking() ':
> > koBgSpellCheck.cc:442: warning: invalid use of undefined type `struct
> > KOSpell' koBgSpellCheck.h:29: warning: forward declaration of `struct
> > KOSpell' make[4]: *** [koBgSpellCheck.lo] ・ィ・鬘シ 1
> > make[4]: Leaving directory `/home/hom/koffice-1.3/lib/kotext'
> > make[3]: *** [all-recursive] ・ィ・鬘シ 1
> > make[3]: Leav ing directory `/home/hom/koffice-1.3/lib/kotext'
> > make[2]: *** [all-recursive] ・ィ・鬘シ 1
> > make[2]: Leaving directory `/home/hom/koffice-1.3/lib'
> > make[1]: *** [all-recursive] ・ィ・鬘シ 1
> > make[1]: Leaving directory `/home/hom/koffice-1.3'
> > make: *** [all] ・ィ・鬘シ 2
> >
> >
> >  --
> >
> > ___________________________________________________________
> > Sign-up for Ads Free at Mail.com
> >  http://www.mail.com/?sr=signup



More information about the kde-cygwin mailing list