ok, this is like the 3rd bug I've posted on lincity, so here we go yet again this is the ouput from emerge lincity greenleaf root # emerge lincity Calculating dependencies ...done! >>> emerge app-games/lincity-1.11a-r1 to / >>> md5 ;-) lincity-1.11-patch1.tar.gz >>> Unpacking source... >>> Unpacking lincity-1.11-patch1.tar.gz patching file Makefile >>> Source unpacked. gcc -c main.cxx -o main.o -O2 -Wall -Wpointer-arith -Wcast-align -Winline -DLIBDIR=\"/usr/lib/lincity\" gcc -c mouse.cxx -o mouse.o -O2 -Wall -Wpointer-arith -Wcast-align -Winline -DLIBDIR=\"/usr/lib/lincity\" mouse.cxx: In function `void mouse_setup()': mouse.cxx:51: invalid conversion from `void (*)(int, int, int)' to `void*' make: *** [mouse.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 7, Exitcode 2 !!! (no error message) * app-games/lincity Latest version available: 1.11a-r1 Latest version installed: [ Not Installed ] Homepage: http://www.floot.demon.co.uk/lincity.html Description: LinCity is a city/country simulation game for X and Linux SVGALib thats what version of lincity i was trying to build, have had nothing but problem s with lincity ever, I humbley request it either be fixed or masked till it is fixed, I keep getting my hopes up everytime I install gentoo that it has been fixed but I always get my heart broken :_(
this error is for the svga verion of lincity
and this is the output of the lincity build when I try to compile it for X instead of svga greenleaf / # emerge lincity Calculating dependencies ...done! >>> emerge app-games/lincity-1.11a-r1 to / >>> md5 ;-) lincity-1.11-patch1.tar.gz >>> Unpacking source... >>> Unpacking lincity-1.11-patch1.tar.gz patching file Makefile >>> Source unpacked. gcc -c main.cxx -o xmain.o -O2 -Wall -Wpointer-arith -Wcast-align -Winline -DLIBDIR=\"/usr/lib/lincity\" -DLC_X11 gcc -c mouse.cxx -o xmouse.o -O2 -Wall -Wpointer-arith -Wcast-align -Winline -DLIBDIR=\"/usr/lib/lincity\" -DLC_X11 gcc -c screen.cxx -o xscreen.o -O2 -Wall -Wpointer-arith -Wcast-align -Winline -DLIBDIR=\"/usr/lib/lincity\" -DLC_X11 gcc -c mps.cxx -o xmps.o -O2 -Wall -Wpointer-arith -Wcast-align -Winline -DLIBDIR=\"/usr/lib/lincity\" -DLC_X11 gcc -c typeinit.cxx -o xtypeinit.o -O2 -Wall -Wpointer-arith -Wcast-align -Winline -DLIBDIR=\"/usr/lib/lincity\" -DLC_X11 gcc -c engine.cxx -o xengine.o -O2 -Wall -Wpointer-arith -Wcast-align -Winline -DLIBDIR=\"/usr/lib/lincity\" -DLC_X11 gcc -c transport.cxx -o xtransport.o -O2 -Wall -Wpointer-arith -Wcast-align -Winline -DLIBDIR=\"/usr/lib/lincity\" -DLC_X11 gcc -c market.cxx -o xmarket.o -O2 -Wall -Wpointer-arith -Wcast-align -Winline -DLIBDIR=\"/usr/lib/lincity\" -DLC_X11 gcc -c help.cxx -o xhelp.o -O2 -Wall -Wpointer-arith -Wcast-align -Winline -DLIBDIR=\"/usr/lib/lincity\" -DLC_X11 gcc -c lcx11.cxx -o lcx11.o -O2 -Wall -Wpointer-arith -Wcast-align -Winline -DLIBDIR=\"/usr/lib/lincity\" -DLC_X11 lcx11.cxx: In function `void init_icon_pixmap(int)': lcx11.cxx:1119: warning: unused variable `int x' lcx11.cxx:1119: warning: unused variable `int y' engine.cxx: In function `void update_tech_dep(int, int)': engine.cxx:3970: warning: assignment to `int' from `double' engine.cxx:3970: warning: argument to `int' from `double' engine.cxx:3974: warning: assignment to `int' from `double' engine.cxx:3974: warning: argument to `int' from `double' engine.cxx:3979: warning: assignment to `int' from `double' engine.cxx:3979: warning: argument to `int' from `double' engine.cxx:3984: warning: assignment to `int' from `double' engine.cxx:3984: warning: argument to `int' from `double' imake -s XMakefile -DUseInstalled -I/usr/X11R6/lib/X11/config LC_LIBDIR=/usr/lib/lincity make -f XMakefile make[1]: Entering directory `/var/tmp/portage/lincity-1.11a-r1/work/lincity-1.11-patch1' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. rm -f xlincity gcc -o xlincity -O2 -fno-strength-reduce -L/usr/X11R6/lib xmain.o xmouse.o xscreen.o xmps.o xtypeinit.o xengine.o xtransport.o xmarket.o xhelp.o lcx11.o -lXext -lX11 -lm xmain.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' xmouse.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' xscreen.o: In function `yn_dial_box(char*, char*, char*, char*)': xscreen.o(.text+0x6e78): undefined reference to `operator new[](unsigned)' xscreen.o(.text+0x72c2): undefined reference to `operator delete(void*)' xscreen.o: In function `ok_dial_box(char*, int, char*)': xscreen.o(.text+0x74f9): undefined reference to `operator new[](unsigned)' xscreen.o(.text+0x78fe): undefined reference to `operator delete(void*)' xscreen.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' xmps.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' xtypeinit.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' xengine.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' xtransport.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' xmarket.o(.eh_frame+0x11): more undefined references to `__gxx_personality_v0' follow collect2: ld returned 1 exit status make[1]: *** [xlincity] Error 1 make[1]: Leaving directory `/var/tmp/portage/lincity-1.11a-r1/work/lincity-1.11-patch1' make: *** [xlincity] Error 2
ive developed a patch that fixes both these guys ... i wont put it out to cvs till i get a chance to get back to my desktop computer and test them out
*** Bug 7930 has been marked as a duplicate of this bug. ***
*** Bug 6625 has been marked as a duplicate of this bug. ***
committed fix to cvs