I am using the current version of CentOS, GameServ with the patch and when I compile gameserv I am getting this error
./configure
checking for g++... g++
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 g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
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 for crypt in -lcrypt... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for socket... yes
checking for strcspn... yes
checking for strspn... yes
checking for strtol... yes
checking for strtok... yes
checking for gethostbyname... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
Choose your IRCD
1. Unreal3.x
2. bahamut-1.4.x
3. ircu 2.10.11.x (P10)
4. ircd-hybrid, ircd-ratbox, or csircd
5. UltimateIRCD 2.8.x
6. PTLink
7. VLife
8. bahamut-1.8.x
Make your selection: 1
Do you want to enable debugmode? (Y/N): n
[ircd@cp gameserv-1.3.5]$ make
g++ -Wall -g -O2 -c aClient.cpp
g++ -Wall -g -O2 -c boolean.cpp
boolean.cpp: In function ‘bool passcmp(const char, char)’:
boolean.cpp:166: warning: array subscript is above array bounds
g++ -Wall -g -O2 -c config.cpp
g++ -Wall -g -O2 -c c_forest.cpp
g++ -Wall -g -O2 -c do_admin.cpp
g++ -Wall -g -O2 -c do_attack.cpp
do_attack.cpp: In function ‘void do_attack(char)’:
do_attack.cpp:58: error: ‘rand’ was not declared in this scope
do_attack.cpp:69: error: ‘rand’ was not declared in this scope
do_attack.cpp:76: error: ‘rand’ was not declared in this scope
make: ** [do_attack.o] Error 1