#41 Compilation fails on Slackware 9

open
nobody
None
5
2003-09-15
2003-09-15
Dugan Chen
No

I'm running Slackware 9, with KDE 3.1.3 packages from
kde.org. I can compile other KDE programs (I just
compiled kvim). When I try to compile kbear I get the
following error message:

make all-recursive
make[1]: Entering directory `/home/dugan/kbear-3.0alpha1b'
Making all in kbear
make[2]: Entering directory
`/home/dugan/kbear-3.0alpha1b/kbear'
Making all in ftp
make[3]: Entering directory
`/home/dugan/kbear-3.0alpha1b/kbear/ftp'
make[4]: Entering directory
`/home/dugan/kbear-3.0alpha1b/kbear/ftp'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/home/dugan/kbear-3.0alpha1b/kbear/ftp'
make[3]: Leaving directory
`/home/dugan/kbear-3.0alpha1b/kbear/ftp'
Making all in lib
make[3]: Entering directory
`/home/dugan/kbear-3.0alpha1b/kbear/lib'
Making all in jobclasses
make[4]: Entering directory
`/home/dugan/kbear-3.0alpha1b/kbear/lib/jobclasses'
if /bin/sh ../../../libtool --silent --mode=compile
--tag=CXX g++ -DHAVE_CONFIG_
H -I. -I. -I../../.. -I../../../kbear/lib/interfaces
-I/opt/kde/include -I/usr/l
ib/qt-3.1.2/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -W
non-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic
-W -Wpointer-arith -Wmis
sing-prototypes -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-a
lign -Wconversion -O2 -fno-exceptions -fno-check-new
-MT kbearsynchjob.lo -MD -
MP -MF ".deps/kbearsynchjob.Tpo" \ -c -o kbearsynchjob.lo `test -f 'kbearsynchjob.cpp'
|| echo './'`kbearsynchjob
.cpp; \ then mv ".deps/kbearsynchjob.Tpo"
".deps/kbearsynchjob.Plo"; \ else rm -f ".deps/kbearsynchjob.Tpo"; exit 1; \ fi
kbearsynchjob.cpp: In member function `void
KBear::KBearSynchJob::makeSourceList(KURL::List&)':
kbearsynchjob.cpp:75: `ConnectionManager' undeclared
(first use this function)
kbearsynchjob.cpp:75: (Each undeclared identifier is
reported only once for
each function it appears in.)
kbearsynchjob.cpp:75: parse error before `::' token
make[4]: *** [kbearsynchjob.lo] Error 1
make[4]: Leaving directory
`/home/dugan/kbear-3.0alpha1b/kbear/lib/jobclasses'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/dugan/kbear-3.0alpha1b/kbear/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/dugan/kbear-3.0alpha1b/kbear'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dugan/kbear-3.0alpha1b'
make: *** [all] Error 2

Discussion

  • Logged In: YES
    user_id=145300

    Add this line to kbear/lib/jobclasses/kbearsynchjob.cpp:

    #include "connectionmanager.h"

     
  • Logged In: NO

    I had the same problem with slackware 9.1, fixed it by adding
    that line in kbearsynchjob.cpp

    Thx

    Vincent Deswert