installed the sql dev stuff, made it further this time but got another error :(
(fyi doing the rpm -qa | grep 'sql' doesn't return anything yet I installed the server, client, and development packages of sql 3.23 via their rpm's)
[root@dhcp-242-2 world]# make
gcc -c -g -m486 -O3 -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -I/usr/include
/mysql ../common/database.cpp -o ../common/database.o
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
In file included from /usr/local/include/c++/3.2/backward/iostream.h:31,
from ../common/database.cpp:19:
/usr/local/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning T
his file includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examp
les include substituting the <X> header for the <X.h> header for C++ includes, o
r <sstream> instead of the deprecated header <strstream.h>. To disable this warn
ing use -Wno-deprecated.
In file included from ../common/database.h:39,
from ../common/database.cpp:36:
../zone/message.h:7:3: warning: no newline at end of file
../common/database.cpp: In member function `bool Database::RunQuery(const
char*, unsigned int, char*, MYSQL_RES**, int32*, int32*, bool)':
../common/database.cpp:310: warning: assignment of negative value `-1' to `
unsigned int'
../common/database.cpp:310: warning: argument of negative value `-1' to `
unsigned int'
../common/database.cpp: In member function `bool Database::LoadNPCTypes()':
../common/database.cpp:2014: warning: assignment to `int16' from `double'
../common/database.cpp:2014: warning: argument to `short unsigned int' from `
double'
../common/database.cpp:2995:2: warning: no newline at end of file
gcc -c -g -m486 -O3 -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -I/usr/include/mysql ../common/packet_dump.cpp -o ../common/packet_dump.o
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
In file included from /usr/local/include/c++/3.2/backward/iostream.h:31,
from ../common/packet_dump.cpp:19:
/usr/local/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
../common/packet_dump.cpp: In function `void DumpPacketAscii(uchar*, unsigned
int, unsigned int, unsigned int)':
../common/packet_dump.cpp:32: default argument given for parameter 3 of `void
DumpPacketAscii(uchar*, unsigned int, unsigned int = 16, unsigned int = 0)'
../common/packet_dump.h:27: after previous specification in `void
DumpPacketAscii(uchar*, unsigned int, unsigned int = 16, unsigned int = 0)'
../common/packet_dump.cpp:32: default argument given for parameter 4 of `void
DumpPacketAscii(uchar*, unsigned int, unsigned int = 16, unsigned int = 0)'
../common/packet_dump.h:27: after previous specification in `void
DumpPacketAscii(uchar*, unsigned int, unsigned int = 16, unsigned int = 0)'
../common/packet_dump.cpp: In function `void DumpPacketHex(uchar*, unsigned
int, unsigned int, unsigned int)':
../common/packet_dump.cpp:61: default argument given for parameter 3 of `void
DumpPacketHex(uchar*, unsigned int, unsigned int = 16, unsigned int = 0)'
../common/packet_dump.h:28: after previous specification in `void
DumpPacketHex(uchar*, unsigned int, unsigned int = 16, unsigned int = 0)'
../common/packet_dump.cpp:61: default argument given for parameter 4 of `void
DumpPacketHex(uchar*, unsigned int, unsigned int = 16, unsigned int = 0)'
../common/packet_dump.h:28: after previous specification in `void
DumpPacketHex(uchar*, unsigned int, unsigned int = 16, unsigned int = 0)'
../common/packet_dump.cpp:190:2: warning: no newline at end of file
make: *** [../common/packet_dump.o] Error 1
[root@dhcp-242-2 world]#
|