ok looked around did not find the fix to my prob tring to comple the zone server on Deb 3.0 and here is get
debian:/home/wes/eqemu/zone# make
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 -I/usr/include/mysql -I/usr/mysql/include ../common/database.cpp -o ../common/database.o
../common/database.cpp:24:20: errmsg.h: No such file or directory
../common/database.cpp:25:26: mysqld_error.h: No such file or directory
In file included from ../common/database.cpp:39:
../common/database.h:28:19: mysql.h: No such file or directory
In file included from ../common/database.cpp:39:
../common/database.h:275: type specifier omitted for parameter `MYSQL_RES'
../common/database.h:275: parse error before `*' token
../common/database.h:283: 'MYSQL' is used as a type, but is not defined as a
type.
../common/database.cpp: In constructor `Database:
atabase()':
../common/database.cpp:169: `mysql' undeclared (first use this function)
../common/database.cpp:169: (Each undeclared identifier is reported only once
for each function it appears in.)
../common/database.cpp:169: `mysql_init' undeclared (first use this function)
../common/database.cpp:175: `CLIENT_FOUND_ROWS' undeclared (first use this
function)
../common/database.cpp:177: `CLIENT_COMPRESS' undeclared (first use this
function)
../common/database.cpp:178: `mysql_real_connect' undeclared (first use this
function)
../common/database.cpp:180: `mysql_error' undeclared (first use this function)
../common/database.cpp: In destructor `Database::~Database()':
../common/database.cpp:340: `mysql_close' undeclared (first use this function)
../common/database.cpp: In member function `void Database::ping()':
../common/database.cpp:346: `mysql_ping' undeclared (first use this function)
../common/database.cpp: At global scope:
../common/database.cpp:353: type specifier omitted for parameter `MYSQL_RES'
../common/database.cpp:353: parse error before `*' token
../common/database.cpp: In member function `bool Database::RunQuery(...)':
../common/database.cpp:354: `errnum' undeclared (first use this function)
../common/database.cpp:356: `errbuf' undeclared (first use this function)
../common/database.cpp:365: `query' undeclared (first use this function)
../common/database.cpp:365: `querylen' undeclared (first use this function)
../common/database.cpp:365: `mysql_real_query' undeclared (first use this
function)
../common/database.cpp:366: `mysql_errno' undeclared (first use this function)
../common/database.cpp:366: `CR_SERVER_LOST' undeclared (first use this
function)
../common/database.cpp:367: `retry' undeclared (first use this function)
../common/database.cpp:369: `result' undeclared (first use this function)
../common/database.cpp:369: `affected_rows' undeclared (first use this
function)
../common/database.cpp:375: `MYSQL_ERRMSG_SIZE' undeclared (first use this
function)
../common/database.cpp:393: `mysql_affected_rows' undeclared (first use this
function)
../common/database.cpp:395: `mysql_field_count' undeclared (first use this
function)
../common/database.cpp:396: `mysql_store_result' undeclared (first use this
function)
../common/database.cpp: In member function `int32
Database:
oEscapeString(char*, const char*, unsigned int)':
../common/database.cpp:436: `mysql_real_escape_string' undeclared (first use
this function)
../common/database.cpp: In member function `int32
Database::GetAuthentication(const char*, const char*, unsigned int)':
../common/database.cpp:448: `MYSQL_RES' undeclared (first use this function)
../common/database.cpp:449: `MYSQL_ROW' undeclared (first use this function)
../common/database.cpp:449: parse error before `;' token
../common/database.cpp:454: `mysql_num_rows' undeclared (first use this
function)
../common/database.cpp:455: `row' undeclared (first use this function)
../common/database.cpp:455: `mysql_fetch_row' undeclared (first use this
function)
../common/database.cpp:457: `mysql_free_result' undeclared (first use this
function)
../common/database.cpp: In member function `bool
Database::GetAuthentication(unsigned int, char*, char*, unsigned int)':
../common/database.cpp:520: parse error before `;' token
../common/database.cpp: In member function `int32 Database::CheckLogin(const
char*, const char*)':
../common/database.cpp:578: parse error before `;' token
../common/database.cpp: In member function `int8 Database::GetGMSpeed(unsigned
int)':
../common/database.cpp:627: parse error before `;' token
../common/database.cpp: In member function `bool
Database::GetAccountInfoForLogin(unsigned int, sint16*, char*, int32*,
int8*)':
../common/database.cpp:676: parse error before `;' token
../common/database.cpp: In member function `sint16
Database::CheckStatus(unsigned int)':
../common/database.cpp:714: parse error before `;' token
../common/database.cpp: In member function `bool Database::GetLiveChar(unsigned int, char*)':
../common/database.cpp:796: parse error before `;' token
../common/database.cpp: In member function `bool
Database::GetTempPacket(unsigned int, char*)':
../common/database.cpp:845: parse error before `;' token
../common/database.cpp: In member function `int32
Database::GetCityGuildOwned(unsigned int, unsigned int)':
../common/database.cpp:926: parse error before `;' token
../common/database.cpp: In member function `bool
Database::GetGuildAlliance(unsigned int, unsigned int)':
../common/database.cpp:971: parse error before `;' token
../common/database.cpp: In member function `void
Database::GetCityAreaName(unsigned int, char*)':
../common/database.cpp:994: parse error before `;' token
../common/database.cpp: In member function `bool Database::CityDefense(unsigned int, unsigned int)':
../common/database.cpp:1015: parse error before `;' token
../common/database.cpp: In member function `bool Database:
oorIsOpen(unsigned
char, const char*)':
../common/database.cpp:1103: parse error before `;' token
../common/database.cpp: In member function `void
Database::GetCharSelectInfo(unsigned int, CharacterSelect_Struct*)':
../common/database.cpp:1272: parse error before `;' token
../common/database.cpp:1289: `mysql_fetch_lengths' undeclared (first use this
function)
../common/database.cpp: In member function `bool
Database::GetCharacterInfoForLogin(char*, int32*, char*,
PlayerProfile_Struct*, int32*, PlayerAA_Struct*, int32*, int32*, int8*)':
../common/database.cpp:1497: parse error before `;' token
../common/database.cpp: In member function `int32
Database::GetPlayerProfile(unsigned int, char*, PlayerProfile_Struct*,
char*)':
../common/database.cpp:1565: parse error before `;' token
../common/database.cpp: In member function `int32
Database::GetAccountIDByChar(const char*)':
../common/database.cpp:1665: parse error before `;' token
../common/database.cpp: In member function `int32
Database::GetAccountIDByName(const char*)':
../common/database.cpp:1698: parse error before `;' token
../common/database.cpp: In member function `void
Database::GetAccountName(unsigned int, char*, int32*)':
../common/database.cpp:1731: parse error before `;' token
../common/database.cpp: In member function `void
Database::GetCharacterInfo(const char*, int32*, int32*, int8*)':
../common/database.cpp:1754: parse error before `;' token
../common/database.cpp: In member function `bool Database::LoadVariables()':
../common/database.cpp:1781: parse error before `;' token
../common/database.cpp: In member function `int8
Database::CheckWorldVerAuth(char*)':
../common/database.cpp:1938: parse error before `;' token
../common/database.cpp:1954: `ER_NO_SUCH_TABLE' undeclared (first use this
function)
../common/database.cpp: In member function `bool
Database::GetGuildRanks(unsigned int, GuildRanks_Struct*)':
../common/database.cpp:1970: parse error before `;' token
../common/database.cpp: In member function `bool
Database::LoadGuilds(GuildRanks_Struct*)':
../common/database.cpp:2062: parse error before `;' token
../common/database.cpp: In member function `bool Database::GetSafePoints(const
char*, float*, float*, float*, sint16*, int8*)':
../common/database.cpp:2163: parse error before `;' token
../common/database.cpp: In member function `bool
Database::GetZoneLongName(const char*, char**, char*, float*, float*,
float*)':
../common/database.cpp:2356: parse error before `;' token
../common/database.cpp: In member function `int32
Database::GetGuildDBIDbyLeader(unsigned int)':
../common/database.cpp:2398: parse error before `;' token
../common/database.cpp: In member function `bool
Database::GetGuildMOTD(unsigned int, char*)':
../common/database.cpp:2505: parse error before `;' token
../common/database.cpp: In member function `sint32
Database::GetItemsCount(int32*)':
../common/database.cpp:2534: parse error before `;' token
../common/database.cpp: In member function `sint32
Database::GetNPCTypesCount(int32*)':
../common/database.cpp:2570: parse error before `;' token
../common/database.cpp: In member function `sint32
Database::GetDoorsCount(int32*)':
../common/database.cpp:2601: parse error before `;' token
../common/database.cpp: In member function `bool Database::LoadItems()':
../common/database.cpp:2720: parse error before `;' token
../common/database.cpp: In member function `bool Database::LoadDoors()':
../common/database.cpp:2912: parse error before `;' token
../common/database.cpp: In member function `bool Database::LoadNPCTypes()':
../common/database.cpp:3228: `result2' undeclared (first use this function)
../common/database.cpp:3229: parse error before `;' token
../common/database.cpp:3230: `MYSQL_ROW' undeclared (first use this function)
../common/database.cpp:3298: `row2' undeclared (first use this function)
../common/database.cpp: In member function `void Database::LoadAItem(short
unsigned int, unsigned int*, unsigned int*)':
../common/database.cpp:3422: parse error before `;' token
../common/database.cpp: In member function `bool
Database::SaveItemToDatabase(Item_Struct*)':
../common/database.cpp:3465: `SQLResult' undeclared (first use this function)
../common/database.cpp: In member function `bool Database::LoadZoneNames()':
../common/database.cpp:3487: parse error before `;' token
../common/database.cpp: In member function `bool
Database::CheckNameFilter(const char*)':
../common/database.cpp:3751: parse error before `;' token
../common/database.cpp: In member function `int32
Database::GetAccountIDFromLSID(unsigned int)':
../common/database.cpp:3800: parse error before `;' token
../common/database.cpp: In member function `bool Database::GetWaypoints(short
unsigned int, unsigned char, char*)':
../common/database.cpp:3832: parse error before `;' token
../common/database.cpp: In member function `int32
Database::GetMerchantData(unsigned int, unsigned int)':
../common/database.cpp:3912: parse error before `;' token
../common/database.cpp: In member function `bool
Database::GetTradeRecipe(Combine_Struct*, short unsigned int, int16*,
int16*)':
../common/database.cpp:3997: parse error before `;' token
../common/database.cpp: In member function `char* Database::GetBook(char*)':
../common/database.cpp:4073: parse error before `;' token
../common/database.cpp: In member function `int8 Database::GetServerType()':
../common/database.cpp:4124: parse error before `;' token
../common/database.cpp: In member function `int8
Database::GetUseCFGSafeCoords()':
../common/database.cpp:4158: parse error before `;' token
../common/database.cpp: In member function `int8 Database::CopyCharacter(const
char*, const char*, unsigned int)':
../common/database.cpp:4209: parse error before `;' token
../common/database.cpp: In member function `int32
Database::GetAASkillVars(unsigned int, char*, int*, int*)':
../common/database.cpp:4273: parse error before `;' token
../common/database.cpp: In member function `int32
Database::GetPlayerAlternateAdv(unsigned int, char*, PlayerAA_Struct*)':
../common/database.cpp:4354: parse error before `;' token
../common/database.cpp: In member function `int32
Database::GetServerFilters(char*, ServerSideFilters_Struct*)':
../common/database.cpp:4424: parse error before `;' token
../common/database.cpp: In member function `sint32
Database::GetMaxClientsInZone(unsigned int)':
../common/database.cpp:4552: parse error before `;' token
../common/database.cpp: In member function `float Database::GetSafePoint(const
char*, const char*)':
../common/database.cpp:4579: parse error before `;' token
../common/database.cpp: In member function `int32 Database::GetZoneTZ(unsigned
int)':
../common/database.cpp:4603: parse error before `;' token
make: *** [../common/database.o] Error 1
debian:/home/wes/eqemu/zone#