ivanforum ivanforum
Forum for Iter Vehemens ad Necem
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   fchat fChat   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ivan won't compile on various linux systems - gcc related?

 
Post new topic   Reply to topic    ivanforum Forum Index -> Trouble Shooting and Bugs
View previous topic :: View next topic  
Author Message
dolny
giant mushroom


Joined: 26 May 2005
Posts: 16
Location: Poland

PostPosted: Mon Oct 31, 2005 10:14 pm    Post subject: Ivan won't compile on various linux systems - gcc related? Reply with quote

Code:
mrplant@milkshake:~/gry/ivan$ sudo sh configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating Makefile
config.status: creating FeLib/Makefile
config.status: creating FeLib/Include/Makefile
config.status: creating FeLib/Source/Makefile
config.status: creating Script/Makefile
config.status: creating Graphics/Makefile
config.status: creating Main/Makefile
config.status: creating Main/Include/Makefile
config.status: creating Main/Resource/Makefile
config.status: creating Main/Source/Makefile
config.status: executing depfiles commands
mrplant@milkshake:~/gry/ivan$ sudo make
Making all in FeLib
make[1]: Wejście do katalogu `/home/mrplant/gry/ivan/FeLib'
Making all in Source
make[2]: Wejście do katalogu `/home/mrplant/gry/ivan/FeLib/Source'
g++ -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I.  -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c bitmap.cpp
../../FeLib/Include/fearray.h:37: error: invalid use of constructor as a template
../../FeLib/Include/fearray.h:37: note: use ‘fearray<type>::fearray’ instead of ‘fearray<type>::fearray<type>’ to name the constructor in a qualified name
../../FeLib/Include/fearray.h:45: error: invalid use of constructor as a template
../../FeLib/Include/fearray.h:45: note: use ‘fearray<type>::fearray’ instead of ‘fearray<type>::fearray<type>’ to name the constructor in a qualified name
make[2]: *** [bitmap.o] Błąd 1
make[2]: Opuszczenie katalogu `/home/mrplant/gry/ivan/FeLib/Source'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/mrplant/gry/ivan/FeLib'
make: *** [all-recursive] Błąd 1
mrplant@milkshake:~/gry/ivan$                                                 


Erm, help?
Back to top
View user's profile Send private message Visit poster's website
unknown_entity
orc general


Joined: 20 Mar 2005
Posts: 806
Location: In your dreams...

PostPosted: Mon Oct 31, 2005 10:53 pm    Post subject: Reply with quote

...What is your question? >_>
_________________
Sponges beat the devil because sponges are badass.~SquashMonster

~Petty Tyrant of the IVAN Forums~
Back to top
View user's profile Send private message AIM Address
Atomic
archangel


Joined: 12 Jan 2005
Posts: 1442
Location: In the fire

PostPosted: Mon Oct 31, 2005 11:03 pm    Post subject: Reply with quote

Technically this should be in the Programming forum. As it is... I can't help you : I don't think there are a lot of people compiling on Linux here, though I do seem to recall a thread about compiling on Linux somewhere...
_________________
"Also, I'm the only person I know capable of a pelvic pary and riposte." -- Squashmonster

I moderate in red.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
dolny
giant mushroom


Joined: 26 May 2005
Posts: 16
Location: Poland

PostPosted: Tue Nov 01, 2005 12:08 am    Post subject: Reply with quote

Well I compiled it on Ubuntu Hoary. With no problems. Some time ago I reinstalled Linux from scratch (newer version) and I can't compile :/
Back to top
View user's profile Send private message Visit poster's website
DarkAngel
zombie


Joined: 04 Jan 2005
Posts: 55
Location: A dark and gloomy dungeon, flickering torch in hand..

PostPosted: Thu Dec 01, 2005 3:28 am    Post subject: Reply with quote

I don't think anyone with an up to date compiler is going to be able to compile Ivan anymore (without changes)..
My output on debian mirrors yours.

[da@icefront] /usr/src/ivan-0.50> make
Making all in FeLib
make[1]: Entering directory `/usr/src/ivan-0.50/FeLib'
Making all in Source
make[2]: Entering directory `/usr/src/ivan-0.50/FeLib/Source'
g++ -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50" -I. -I. -I../../FeLib/Include -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC -g -O2 -c bitmap.cpp
In file included from bitmap.cpp:17:
../../FeLib/Include/graphics.h:17:17: error: SDL.h: No such file or directory
../../FeLib/Include/graphics.h:53: error: ISO C++ forbids declaration of 'SDL_Surface' with no type
../../FeLib/Include/graphics.h:53: error: expected ';' before '*' token
../../FeLib/Include/fearray.h:37: error: invalid use of constructor as a template
../../FeLib/Include/fearray.h:37: note: use 'fearray<type>::fearray' instead of 'fearray<type>::fearray<type>' to name the constructor in a qualified name
../../FeLib/Include/fearray.h:45: error: invalid use of constructor as a template
../../FeLib/Include/fearray.h:45: note: use 'fearray<type>::fearray' instead of 'fearray<type>::fearray<type>' to name the constructor in a qualified name
make[2]: *** [bitmap.o] Error 1
make[2]: Leaving directory `/usr/src/ivan-0.50/FeLib/Source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ivan-0.50/FeLib'
make: *** [all-recursive] Error 1
[da@icefront] /usr/src/ivan-0.50>
Back to top
View user's profile Send private message
DarkAngel
zombie


Joined: 04 Jan 2005
Posts: 55
Location: A dark and gloomy dungeon, flickering torch in hand..

PostPosted: Thu Dec 01, 2005 3:33 am    Post subject: Reply with quote

I have modified the topic.

Anyone who has compilation problems, please type:

$ gcc -v

..and paste the output here. I am going to presume this is a problem related to newer versions of GCC not being backwards compatible with all code from previous releases.

Perhaps.

Anyway, in the meantime I'll try to chat with hex about this.
Back to top
View user's profile Send private message
Atomic
archangel


Joined: 12 Jan 2005
Posts: 1442
Location: In the fire

PostPosted: Mon Dec 05, 2005 10:13 pm    Post subject: Reply with quote

Could this thread be moved to the programming forum?
_________________
"Also, I'm the only person I know capable of a pelvic pary and riposte." -- Squashmonster

I moderate in red.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
DarkAngel
zombie


Joined: 04 Jan 2005
Posts: 55
Location: A dark and gloomy dungeon, flickering torch in hand..

PostPosted: Sun Dec 11, 2005 8:06 am    Post subject: Reply with quote

This problem has been fixed in cvs

This means that the next release will seee an end to this compilation problem. Unfortunately, it isn't likely that we'll received a patch, and the next release may take many months or years, if ever.

Our best bet is to hope a hacker on the forums with spare time releases a hotfix diff for us.
Back to top
View user's profile Send private message
Dref le Ladi
giant mushroom


Joined: 30 Jan 2006
Posts: 5

PostPosted: Mon Jan 30, 2006 2:42 am    Post subject: Workaround? Reply with quote

I started another topic on the same subject in the programming section and tried to find a workaround

http://ivan.greatboard.com/viewtopic.php?t=604

----
Dref le Ladi
http://fdemesmay.dyndns.org
Back to top
View user's profile Send private message
Zet



Joined: 08 Feb 2006
Posts: 1
Location: Vantaa, Finland

PostPosted: Wed Feb 08, 2006 8:21 pm    Post subject: Reply with quote

I tried to compile the source I pulled from CVS a while ago:

Code:

$ make
cd . && /bin/sh /home/zet/src/ivan/ivan/missing --run autoconf
/bin/sh ./config.status --recheck
running /bin/sh ./configure  CC=gcc-2.95 CXX=g++-2.95  --no-create --no-recursion
checking for gcc... gcc-2.95
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-2.95 accepts -g... yes
checking for gcc-2.95 option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc-2.95... gcc
checking for gcc... (cached) gcc-2.95
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc-2.95 accepts -g... (cached) yes
checking for gcc-2.95 option to accept ANSI C... (cached) none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++-2.95 accepts -g... yes
checking dependency style of g++-2.95... gcc
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
configure: creating ./config.status
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating FeLib/Makefile
config.status: creating FeLib/Include/Makefile
config.status: creating FeLib/Source/Makefile
config.status: creating Script/Makefile
config.status: creating Graphics/Makefile
config.status: creating Main/Makefile
config.status: creating Main/Include/Makefile
config.status: creating Main/Resource/Makefile
config.status: creating Main/Source/Makefile
config.status: executing depfiles commands
Making all in FeLib
make[1]: Entering directory `/home/zet/src/ivan/ivan/FeLib'
Making all in Source
make[2]: Entering directory `/home/zet/src/ivan/ivan/FeLib/Source'
source='bitmap.cpp' object='bitmap.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o bitmap.o bitmap.cpp
source='config.cpp' object='config.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o config.o config.cpp
source='error.cpp' object='error.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o error.o error.cpp
source='feio.cpp' object='feio.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o feio.o feio.cpp
source='felist.cpp' object='felist.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o felist.o felist.cpp
source='femain.cpp' object='femain.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
        g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o femain.o femain.cpp
source='femath.cpp' object='femath.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o femath.o femath.cpp
source='festring.cpp' object='festring.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o festring.o festring.cpp
source='fetime.cpp' object='fetime.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o fetime.o fetime.cpp
source='graphics.cpp' object='graphics.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o graphics.o graphics.cpp
source='hscore.cpp' object='hscore.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o hscore.o hscore.cpp
source='save.cpp' object='save.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o save.o save.cpp
source='rawbit.cpp' object='rawbit.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o rawbit.o rawbit.cpp
source='whandler.cpp' object='whandler.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
        g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o whandler.o whandler.cpp
rm -f libFeLib.a
ar cru libFeLib.a bitmap.o config.o error.o feio.o felist.o femain.o femath.o festring.o fetime.o graphics.o hscore.o save.o rawbit.o whandler.o
ranlib libFeLib.a
make[2]: Leaving directory `/home/zet/src/ivan/ivan/FeLib/Source'
Making all in Include
make[2]: Entering directory `/home/zet/src/ivan/ivan/FeLib/Include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zet/src/ivan/ivan/FeLib/Include'
make[2]: Entering directory `/home/zet/src/ivan/ivan/FeLib'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/zet/src/ivan/ivan/FeLib'
make[1]: Leaving directory `/home/zet/src/ivan/ivan/FeLib'
Making all in Main
make[1]: Entering directory `/home/zet/src/ivan/ivan/Main'
Making all in Include
make[2]: Entering directory `/home/zet/src/ivan/ivan/Main/Include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zet/src/ivan/ivan/Main/Include'
Making all in Source
make[2]: Entering directory `/home/zet/src/ivan/ivan/Main/Source'
source='actset.cpp' object='actset.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include -I../../Main/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o actset.o actset.cpp
source='areaset.cpp' object='areaset.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include -I../../Main/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o areaset.o areaset.cpp
source='charset.cpp' object='charset.o' libtool=no
   DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp
   g++-2.95 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="ivan" -DVERSION="0.50"  -I. -I. -I../../FeLib/Include -I../../Main/Include  -I/usr/include/SDL -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR="/usr/local/var/ivan" -DDATADIR="/usr/local/share" -DUSE_SDL -DGCC  -g -O2 -c -o charset.o charset.cpp
In file included from charset.cpp:56:
char.cpp: In method `truth character::ForgetRandomThing()':
char.cpp:9677: no matching function for call to `vector<god *,allocator<god *> >::at (long int)'
char.cpp:9679: no matching function for call to `vector<god *,allocator<god *> >::at (int &)'
make[2]: *** [charset.o] Error 1
make[2]: Leaving directory `/home/zet/src/ivan/ivan/Main/Source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zet/src/ivan/ivan/Main'
make: *** [all-recursive] Error 1


My system is Debian GNU/Linux testing. The 0.50 release version compiled ok when I set CC=gcc-2.95 and CXX=g++-2.95.

Without setting those, the compilation gave the same error that was reported in the original post of this thread (with gcc (GCC) 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)).

edit: And by "a while ago", I mean 15 minutes ago.

edit2: I tried the obvious, that is, to compile the CVS version with GCC 4.0.3. It worked grrreat.
Back to top
View user's profile Send private message
Dref le Ladi
giant mushroom


Joined: 30 Jan 2006
Posts: 5

PostPosted: Wed Feb 08, 2006 11:55 pm    Post subject: Reply with quote

what is your CPU architecture?
32bits or 64 bits?

----
Dref le Ladi
http://fdemesmay.dyndns.org
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ivanforum Forum Index -> Trouble Shooting and Bugs All times are GMT


Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group