Page 1 of 1

problem in compiling 3.2.1

Posted: Wed Oct 06, 2004 2:48 pm
by tuete
hi :D

i'm trying to install 3.2.1 on my root-server (debian 3.0); did ./Config, created the SSL certificate and now want to execute "make", which doesnt work as i expect. as i don't have very much experience in linux, i hope that somebody helps me.

Code: Select all

Building src
make[1]: Entering directory `/home/gameserver/Unreal3.2/src'
gcc -I../include -I/home/gameserver/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -export-dynamic   -c channel.c
In file included from /usr/include/sys/param.h:42,
                 from ../include/common.h:42,
                 from ../include/struct.h:43,
                 from channel.c:39:
/usr/include/sys/types.h:197: warning: empty declaration
channel.c: In function `do_join':
channel.c:3944: parse error before `{'
channel.c: At top level:
channel.c:3954: parse error before `{'
make[1]: *** [channel.o] Error 1
make[1]: Leaving directory `/home/gameserver/Unreal3.2/src'
make: *** [build] Error 2
that is the complete output of make.

thx in advance ;)

tuete

Posted: Wed Oct 06, 2004 2:51 pm
by w00t
try a

gcc -v

and tell us the outcome.

Alternativly, try running "gmake" and see if that works.

Posted: Wed Oct 06, 2004 3:14 pm
by tuete
gmake doesnt seem to be installed, and "apt-get install gmake" also doesnt work :shock:

gcc -v gives the following output:

Code: Select all

Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
thx

Posted: Wed Oct 06, 2004 6:18 pm
by codemastr
First, that's a VERY old gcc. I believe the newest version is 3.4 Second, as you can see, it says, "/usr/include/sys/types.h:197: warning: empty declaration." That's a system file. If that file has problems, there is nothing Unreal can do about it, it's a problem with your libc. I suggest you update gcc and glibc and then try again.

Posted: Thu Nov 11, 2004 2:38 pm
by tuete
about 3 weeks ago the problem was solved. the memory modules of my server were broken. support team replaced them and now everything runs fine.

thx for help although the problem was somewhere else :D

tuete