You are not logged in.

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.

maroni_rr

Beginner

  • "maroni_rr" started this thread

Posts: 2

Location: Krakow, Poland

Occupation: mechanic engineer

  • Send private message

1

Thursday, February 24th 2005, 9:15am

compilation problem

Hello everybod,
i have next problem with compilation KDE 3.4 -beta2. While I compiling i see error:
[root@localhost everything]# make install
[===== NOW BUILDING: everything-1 =====]
[fetch] complete for everything.
[checksum] complete for everything.
[extract] complete for everything.
[patch] complete for everything.
==> Building kde/kdebase as a dependency
==> Building kde/kdenetwork as a dependency
==> Building kde/kdepim as a dependency
==> Building kde/kdeaccessibility as a dependency
==> Building misc/ttf-bitstream-vera as a dependency
==> Building kde/kdeartwork as a dependency
==> Building kde/kdegraphics as a dependency
==> Building kde/kdemultimedia as a dependency
==> Building kde/kdeaddons as a dependency
==> Building kde/kdeutils as a dependency
==> Building kde/kdeedu as a dependency
==> Building kde/kdegames as a dependency
==> Building kde/kdesdk as a dependency
==> Building kde/kdewebdev as a dependency
==> Building kde/kdetoys as a dependency
==> Building kde/kdeadmin as a dependency
==> Building apps/office/koffice as a dependency
==> Building apps/development/kdevelop as a dependency
==> Building apps/multimedia/k3b as a dependency
==> Building apps/multimedia/amarok as a dependency
==> Building apps/graphics/digikam-plugins as a dependency
==> Building apps/utilities/filelight as a dependency
==> Building apps/multimedia/kaffeine as a dependency
==> Building apps/internet/kbear as a dependency
==> Building apps/internet/kbiff as a dependency
==> Building apps/system/kcpuload as a dependency
==> Building apps/development/kdbg as a dependency
==> Building apps/development/kdiff3 as a dependency
==> Building apps/utilities/kdirstat as a dependency
==> Building apps/office/kile as a dependency
==> Building apps/graphics/kimdaba as a dependency
==> Building apps/multimedia/kmplayer as a dependency
==> Building apps/system/knemo as a dependency
==> Building apps/system/knetload as a dependency
==> Building apps/games/knights as a dependency
make[1]: Entering directory `/home/maroni/download/systemowe/konstruct/apps/games/knights'
[===== NOW BUILDING: knights-0.6 =====]
[fetch] complete for knights.
[checksum] complete for knights.
[extract] complete for knights.
[patch] complete for knights.
==> Building kde/kdelibs as a dependency
[configure] complete for knights.
==> Running make in work/knights-0.6
make[2]: Entering directory `/home/maroni/download/systemowe/konstruct/apps/games/knights/work/knights-0.6'
make all-recursive
make[3]: Entering directory `/home/maroni/download/systemowe/konstruct/apps/games/knights/work/knights-0.6'
Making all in admin
make[4]: Entering directory `/home/maroni/download/systemowe/konstruct/apps/games/knights/work/knights-0.6/admin'
make[4]: Nie nic do roboty w `all'.
make[4]: Leaving directory `/home/maroni/download/systemowe/konstruct/apps/games/knights/work/knights-0.6/admin'
Making all in doc
make[4]: Entering directory `/home/maroni/download/systemowe/konstruct/apps/games/knights/work/knights-0.6/doc'
make[4]: Nie nic do roboty w `all'.
make[4]: Leaving directory `/home/maroni/download/systemowe/konstruct/apps/games/knights/work/knights-0.6/doc'
Making all in knights
make[4]: Entering directory `/home/maroni/download/systemowe/konstruct/apps/games/knights/work/knights-0.6/knights'
source='core.cpp' object='core.o' libtool=no \
depfile='.deps/core.Po' tmpdepfile='.deps/core.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
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]#

What i should do?
My gcc version 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)
maroni_rr