[bt-devel] Compile error

Thomas J. Philpot bt-devel@crosswire.org
Tue, 4 Apr 2000 09:28:21 -0500


On Tue, 04 Apr 2000, you wrote:
> I hope this is not off-topic.
> 
> When trying to compile kdebase, I get the following error:
> ###
> root@marten:/cvs/kde2/kdebase > make
> make  all-recursive
> make[1]: Entering directory `/cvs/kde2/kdebase'
> Making all in libkonq
> make[2]: Entering directory `/cvs/kde2/kdebase/libkonq'
> /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../kcontrol/input -I/opt/kde2/include -I/usr/local/qt2/include -I/usr/X11R6/include     -O2 -fno-exceptions -fno-rtti -fno-check-new -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin  -c knewmenu.cc
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../kcontrol/input -I/opt/kde2/include -I/usr/local/qt2/include -I/usr/X11R6/include -O2 -fno-exceptions -fno-rtti -fno-check-new -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -Wp,-MD,.deps/knewmenu.pp -c knewmenu.cc  -fPIC -DPIC -o knewmenu.lo
> knewmenu.cc: In method `void KNewMenu::slotCheckUpToDate()':
> knewmenu.cc:59: conversion from `QValueList<QAction *>' to non-scalar type `QValueList<KAction *>' requested
> knewmenu.cc: In method `void KNewMenu::fillMenu()':
> knewmenu.cc:101: conversion from `QValueList<QAction *>' to non-scalar type `QValueList<KAction *>' requested
> make[2]: *** [knewmenu.lo] Error 1
> make[2]: Leaving directory `/cvs/kde2/kdebase/libkonq'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/cvs/kde2/kdebase'
> make: *** [all-recursive-am] Error 2    
> ###
> Is this my fault?

It may or may not be.  Here's a check list I try to go through if I get errors
in compilation
1) Did you remember to do make -f Makefile.cvs before hand?
2) Did you build and install kdesupport and kdelibs first?
3)  Are they current?

Ususally, if Ive done all those things and still get errrors, I'll try removing
the directory in which I'm having the problem and rechecking-out the whole
thing.  Sometimes, I do it with the entire package.  Of course, if you dont
have high speed Net access, this is not as feasible.

Hope that helps.

Tom

> Something else: Torsten, I am interested in the current state of your
> negotiations with the Deutsche Bibelgesellschaft. Are there any news?
> 
> Thank you.
> 
> Martin