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!! » Tue Aug 02, 2016 2:19 pm

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: 1957
Joined: Mon Oct 20, 2003 12:51 am
Location: Ohio
Contact:

Re: Q2admin on CentOS 7 x64 bit

Post by Dirk » Wed Sep 07, 2016 8:50 pm

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!! » Thu Sep 08, 2016 7:50 am

[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: 1957
Joined: Mon Oct 20, 2003 12:51 am
Location: Ohio
Contact:

Re: Q2admin on CentOS 7 x64 bit

Post by Dirk » Thu Sep 08, 2016 11:43 pm

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!! » Fri Sep 09, 2016 7:20 am


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

Re: Q2admin on CentOS 7 x64 bit

Post by Dirk » Fri Sep 09, 2016 6:39 pm

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!! » Tue Sep 13, 2016 6:53 am

thanks a lot !! servers ready!

Post Reply