problem in compiling 3.2.1

These are old archives. They are kept for historic purposes only.
Post Reply
tuete
Posts: 7
Joined: Wed Oct 06, 2004 2:41 pm

problem in compiling 3.2.1

Post 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
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

try a

gcc -v

and tell us the outcome.

Alternativly, try running "gmake" and see if that works.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
tuete
Posts: 7
Joined: Wed Oct 06, 2004 2:41 pm

Post 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
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post 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.
-- codemastr
tuete
Posts: 7
Joined: Wed Oct 06, 2004 2:41 pm

Post 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
Post Reply