Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8448 - lincity still fails to build
Summary: lincity still fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 6625 7930 (view as bug list)
Depends on:
Blocks: 8505
  Show dependency tree
 
Reported: 2002-09-27 02:39 UTC by teri-aka TrAns13nT
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description teri-aka TrAns13nT 2002-09-27 02:39:17 UTC
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 :_(
Comment 1 teri-aka TrAns13nT 2002-09-27 22:06:53 UTC
this error is for the svga verion of lincity
Comment 2 teri-aka TrAns13nT 2002-09-27 22:08:07 UTC
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
Comment 3 SpanKY gentoo-dev 2002-10-01 00:16:40 UTC
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
Comment 4 SpanKY gentoo-dev 2002-10-01 00:37:08 UTC
*** Bug 7930 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2002-10-01 00:37:29 UTC
*** Bug 6625 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2002-10-01 10:27:01 UTC
committed fix to cvs