Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
konstruct dies when trying to compile knight. I really don't care about this game but because it will not compile due to code errors I cannot proceed and complete a "make install" with everything. Is there a way to tell konstruct to not build this game and go on and finish making 3.5?
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/kde/kde3.4-beta2/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -I/usr/local/kde/kde3.4-beta2/include -I/usr/X11R6/include -I/usr/local/kde/kde3.4-beta2/include -I/usr/X11R6/include -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -I/usr/local/kde/kde3.4-beta2/include -I/usr/X11R6/include -L/usr/local/kde/kde3.4-beta2/lib -L/usr/X11R6/lib -O2 -pipe -fomit-frame-pointer -march=pentium4 -I/usr/local/kde/kde3.4-beta2/include -I/usr/X11R6/include -L/usr/local/kde/kde3.4-beta2/lib -L/usr/X11R6/lib -O2 -pipe -fomit-frame-pointer -march=pentium4 -fno-exceptions -fno-check-new -c -o core.o `test -f core.cpp || echo './'`core.cpp
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++
core.cpp: In member function `void core::createNewIO(int, int, int, int)':
core.cpp:93: error: ISO C++ forbids cast to non-reference type used as lvalue
core.cpp:117: error: ISO C++ forbids cast to non-reference type used as lvalue
core.cpp:122: error: ISO C++ forbids cast to non-reference type used as lvalue
make[4]: *** [core.o] error 1
make[4]: Leaving directory `/home/maroni/download/systemowe/konstruct/apps/games/knights/work/knights-0.6/knights'
make[3]: *** [all-recursive] error 1
make[3]: Leaving directory `/home/maroni/download/systemowe/konstruct/apps/games/knights/work/knights-0.6'
make[2]: *** [all] error 2
make[2]: Leaving directory `/home/maroni/download/systemowe/konstruct/apps/games/knights/work/knights-0.6'
make[1]: *** [build-work/knights-0.6/Makefile] error 2
make[1]: Leaving directory `/home/maroni/download/systemowe/konstruct/apps/games/knights'
make: *** [dep-../../apps/games/knights] error 2
[root@localhost everything]#
Duh! Thanks for pointing that out. I've been looking everywhere except the obvious. I'm not that experienced using gcc. Should have figured that out. Thanks for the help. I've been thinking how stupid this is that I can't build the install simply because I couldn't get a dumb game to compile.
Also if you are using Konstruct, there is a bug in the code that doesn't allow you to run 'make buildclean' to just clean out the build directories and run it all again WITHOUT downloading all the tarball files again (basically they get kept).
I wondered about that. I noticed on the build I did that digikam did not build but it finished. It may have been my fault. I cntl-c'ed a kde build part way through when I got your note and then did a restart with a make everything. I'm guessing that it was at that point when I killed it. Should have just deleted everything and started again. Anyway, I did a hack on the makefile to just make digikam and tried to do a make clean but it would not do it as it thinks it has built it. It was never installed into the kde/bin directory so I know it did not finish it. Is there a different way to fake it out so I can just build digikam?