Compiling errors EQEMu 0.4.3
			 
			 
			
		
		
		
		Hi i have p4 2.4  
gcc 2.96-113 
running on Red Hat Linux 7.3 
 
when i try compli World i get this erreur. 
 
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -I/home/admin/local/mysql/include/mysql -I/home/admin/local/mysql/include ../common/dbcore.cpp -o ../common/dbcore.o 
../common/dbcore.cpp: In method `bool DBcore::RunQuery (const char *,  
unsigned int, char *, MYSQL_RES **, int32 *, int32 *, int32 *, bool)': 
../common/dbcore.cpp:121: `strcpy' undeclared (first use this function) 
../common/dbcore.cpp:121: (Each undeclared identifier is reported only  
once for each function it appears in.) 
../common/dbcore.cpp: In method `bool DBcore::Open (const char *, const  
char *, const char *, const char *, char *, bool, bool)': 
../common/dbcore.cpp:156: `strlen' undeclared (first use this function) 
make: *** [../common/dbcore.o] Erreur 1 
 
 
And For Zone i get this 
 
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -I/home/admin/local/mysql/include/mysql -I/home/admin/local/mysql/include mob.cpp -o mob.o 
mob.cpp: In method `void Mob::FillSpawnStruct (NewSpawn_Struct *, Mob  
*)': 
mob.cpp:491: warning: assignment to `sint16' from `float' 
mob.cpp:491: warning: argument to `short int' from `float' 
mob.cpp: In method `void Mob::CreateHPPacket (APPLAYER *)': 
mob.cpp:595: warning: assignment to `sint32' from `float' 
mob.cpp:595: warning: argument to `int' from `float' 
mob.cpp: In function `int32 Mob::RandomTimer (int, int)': 
mob.cpp:1937: `rand' undeclared (first use this function) 
mob.cpp:1937: (Each undeclared identifier is reported only once for  
each function it appears in.) 
make: *** [mob.o] Erreur 1 
 
 
can someone help me with thats.  
 
Thx 
		
	
		
		
		
		
		
		
		
		
		
	
		
			
			
			
			
				 
			
			
			
			
			
			
				
			
			
			
		 
		
	
	
	 |