Q2admin on CentOS 7 x64 bit

Topics regarding running or playing on D-Day servers.
Post Reply
hAnS!!
Posts: 22
Joined: Wed Aug 19, 2009 2:50 am

Q2admin on CentOS 7 x64 bit

Post by hAnS!! »

Hi, we have problems, to compile q2admin on the linux machine with centos x64.

We tray with the q2admin version on 32 bit but didnt work, i think dirk can help me


Thanks!

User avatar
Dirk
Developer
Developer
Posts: 1958
Joined: Mon Oct 20, 2003 12:51 am
Location: Ohio
Contact:

Re: Q2admin on CentOS 7 x64 bit

Post by Dirk »

Can you paste what error message? I wonder if you are missing some source libraries.
Image

hAnS!!
Posts: 22
Joined: Wed Aug 19, 2009 2:50 am

Re: Q2admin on CentOS 7 x64 bit

Post by hAnS!! »

[root@host-105-35-221-131 q2admins]# make
cc -ffast-math -O3 -w -DGAME_INCLUDE -DLINUX -fPIC -c -o g_main.o g_main.c
cc -ffast-math -O3 -w -DGAME_INCLUDE -DLINUX -fPIC -c -o md4.o md4.c
cc -ffast-math -O3 -w -DGAME_INCLUDE -DLINUX -fPIC -c -o regex.o regex.c
regex.c:81:7: error: tipos en conflicto para ‘malloc’
char *malloc ();
^
regex.c:82:7: error: tipos en conflicto para ‘realloc’
char *realloc ();
^
make: *** [regex.o] Error 1
[root@host-105-35-221-131 q2admins]#

User avatar
Dirk
Developer
Developer
Posts: 1958
Joined: Mon Oct 20, 2003 12:51 am
Location: Ohio
Contact:

Re: Q2admin on CentOS 7 x64 bit

Post by Dirk »

hAnS!! wrote:[root@host-105-35-221-131 q2admins]# make
cc -ffast-math -O3 -w -DGAME_INCLUDE -DLINUX -fPIC -c -o g_main.o g_main.c
cc -ffast-math -O3 -w -DGAME_INCLUDE -DLINUX -fPIC -c -o md4.o md4.c
cc -ffast-math -O3 -w -DGAME_INCLUDE -DLINUX -fPIC -c -o regex.o regex.c
regex.c:81:7: error: tipos en conflicto para ‘malloc’
char *malloc ();
^
regex.c:82:7: error: tipos en conflicto para ‘realloc’
char *realloc ();
^
make: *** [regex.o] Error 1
[root@host-105-35-221-131 q2admins]#
Do you have a link to the source? I can try compiling on my gentoo box.
Image

hAnS!!
Posts: 22
Joined: Wed Aug 19, 2009 2:50 am

Re: Q2admin on CentOS 7 x64 bit

Post by hAnS!! »


User avatar
Dirk
Developer
Developer
Posts: 1958
Joined: Mon Oct 20, 2003 12:51 am
Location: Ohio
Contact:

Re: Q2admin on CentOS 7 x64 bit

Post by Dirk »

Not sure what's up. I took some code from here and fixed the compile to build for x86_64

https://github.com/texnofobix/q2admin-tsmod/tree/x86_64
Image

hAnS!!
Posts: 22
Joined: Wed Aug 19, 2009 2:50 am

Re: Q2admin on CentOS 7 x64 bit

Post by hAnS!! »

thanks a lot !! servers ready!

Post Reply