Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Linux Servers

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2003, 11:56 AM
darkpadden
Fire Beetle
 
Join Date: Jan 2003
Posts: 1
Default little help pls

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#
Reply With Quote
  #2  
Old 02-27-2003, 10:37 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Do you have the mysql development header files installed?
(mysql.h)

If not, install them..

If you do and it still doesnt work, make sure the path to them is
correct in the makefile
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #3  
Old 02-28-2003, 06:26 PM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default

Trump fix the makefiles to use mysql_config
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:28 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3