Thanks Trumpcard
[root@dhcp-242-2 world]# rpm -qa | grep -i sql
MySQL-3.23.52-1
MySQL-devel-3.23.52-1
MySQL-client-3.23.52-1
[root@dhcp-242-2 world]#
[root@dhcp-242-2 world]# rpm -qa | grep -i gcc
gcc3-3.0.1-3
qt-gcc3-devel-2.3.2-1
libgcc-3.0.1-3
gcc3-c++-3.0.1-3
qt-gcc3-2.3.2-1
[root@dhcp-242-2 world]#
that's what i have installed. here's the new error i'm getting
[root@dhcp-242-2 world]# make
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 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.
../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