PDA

View Full Version : FreeBSD 5.1 Compile of 0.4.4 Release


Glasswalker
10-18-2003, 10:54 PM
Ok... I have fixed all my previous goofups, by installing some libraries and stuff...

Now I finally got it to compile most of the way through the makefile, and it barfs out a HUGE list of errors...

I have heard mentioned that I might need zlib, but zlib is included in the bsd distro, I have also heard that my MySQL might not be working, but MySQL 4.1A is installed and the devel libraries are installed in /usr/include/mysql and /usr/lib/mysql and the makefile allready points there...

So I don't know what is wrong with it...

This is just the world compile... I also tried zone, and it had not as many errors, but they looked to be errors with related code... So I am assuming if I can fix world, it should fix zone too...

Here is a paste of the entire compile log: (there are a few warnings, but the last few pages of it are all errors...

eq# gmake clean
rm -f ../common/EQNetwork.o ../common/timer.o ../common/database.o ../common/crc32.o ../common/packet_dump.o ../common/races.o ../common/unix.o ../common/Mutex.o ../common/MiscFunctions.o ../common/serverinfo.o ../common/packet_functions.o ../common/classes.o ../common/TCPConnection.o ../common/eqtime.o client.o net.o console.o zoneserver.o LoginServer.o world

eq# gmake
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/EQNetwork.cpp -o ../common/EQNetwork.o
../common/EQNetwork.cpp: In member function `bool EQNetworkServer::Open(short
unsigned int)':
../common/EQNetwork.cpp:118: warning: unused variable `int reuse_addr'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/timer.cpp -o ../common/timer.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/database.cpp -o ../common/database.o
../common/database.cpp: In member function `bool
Database::CreateCharacter(unsigned int, PlayerProfile_Struct*)':
../common/database.cpp:1710: warning: unused variable `char tmp[10]'
../common/database.cpp: In member function `bool
Database::GetGuildNameByID(unsigned int, char*)':
../common/database.cpp:2679: warning: unused variable `int32 affected_rows'
../common/database.cpp: In member function `bool Database::LoadNPCTypes()':
../common/database.cpp:3658: warning: unused variable `MYSQL_RES*result2'
../common/database.cpp:3660: warning: unused variable `char**row2'
../common/database.cpp: In member function `bool
Database::GetFactionIdsForNPC(int, LinkedList<NPCFaction*>*, sint32*)':
../common/database.cpp:5011: warning: comparison between signed and unsigned
integer expressions
../common/database.cpp: In member function `bool
Database::LoadNPCFactionLists()':
../common/database.cpp:5486: warning: comparison between signed and unsigned
integer expressions
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/crc32.cpp -o ../common/crc32.o
../common/crc32.cpp:78:2: warning: #warning "Comment out i386 define if your arch isn't x86"
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/packet_dump.cpp -o ../common/packet_dump.o
../common/packet_dump.cpp: In function `void DumpPacketBin(const void*,
unsigned int)':
../common/packet_dump.cpp:148: warning: cast from `const void*' to `int8*'
discards qualifiers from pointer target type
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/races.cpp -o ../common/races.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/unix.cpp -o ../common/unix.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/Mutex.cpp -o ../common/Mutex.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/MiscFunctions.cpp -o ../common/MiscFunctions.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/serverinfo.cpp -o ../common/serverinfo.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/packet_functions.cpp -o ../common/packet_functions.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/classes.cpp -o ../common/classes.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/TCPConnection.cpp -o ../common/TCPConnection.o
../common/TCPConnection.cpp: In static member function `static SPackSendQueue*
TCPConnection::MakeOldPacket(const ServerPacket*)':
../common/TCPConnection.cpp:76: warning: cast from `const int16*' to `char*'
discards qualifiers from pointer target type
../common/TCPConnection.cpp: In member function `bool
TCPConnection::ProcessReceivedDataAsOldPackets(cha r*)':
../common/TCPConnection.cpp:1143: warning: comparison between signed and
unsigned integer expressions
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/eqtime.cpp -o ../common/eqtime.o
In file included from /usr/include/g++/backward/fstream.h:32,
from ../common/eqtime.cpp:24:
/usr/include/g++/fstream:304: warning: `typename std::basic_filebuf<_CharT,
_Traits>::int_type' is implicitly a typename
/usr/include/g++/fstream:309: warning: `typename std::basic_filebuf<_CharT,
_Traits>::int_type' is implicitly a typename
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql client.cpp -o client.o
client.cpp: In member function `bool Client::HandlePacket(const APPLAYER*)':
client.cpp:441: warning: deprecated conversion from string constant to `char*'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql net.cpp -o net.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql console.cpp -o console.o
console.cpp: In constructor `Console::Console(TCPConnection*)':
console.cpp:61: warning: cast from `const char*' to `uchar*' discards
qualifiers from pointer target type
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql zoneserver.cpp -o zoneserver.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql LoginServer.cpp -o LoginServer.o
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O3 -pipe -DFREEBSD -D_THREAD_SAFE -D__USE_UNIX98 -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/local/include/pthread/linuxthreads -I/usr/include -I/usr/local/include -I/usr/include/mysql -I/usr/local/include/mysql ../common/EQNetwork.o ../common/timer.o ../common/database.o ../common/crc32.o ../common/packet_dump.o ../common/races.o ../common/unix.o ../common/Mutex.o ../common/MiscFunctions.o ../common/serverinfo.o ../common/packet_functions.o ../common/classes.o ../common/TCPConnection.o ../common/eqtime.o client.o net.o console.o zoneserver.o LoginServer.o -L. -L/usr/local/lib -lstdc++ -lm -lz -L/usr/lib/mysql -L/usr/local/lib/mysql -lmysqlclient -llthread -llgcc_r -o world
../common/EQNetwork.o: In function `EQNetworkConnection::QueuePacket(APPLAYER const*, bool)':
../common/EQNetwork.cpp:471: undefined reference to `LogFile'
../common/EQNetwork.cpp:471: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/EQNetwork.o: In function `EQNetworkConnection::FastQueuePacket(APPLAYER**, bool)':
../common/EQNetwork.cpp:485: undefined reference to `LogFile'
../common/EQNetwork.cpp:485: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/EQNetwork.o: In function `EQNetworkConnection::OpenSock(char*, unsigned short, char*)':
../common/EQNetwork.cpp:526: undefined reference to `LogFile'
../common/EQNetwork.cpp:526: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/EQNetwork.o: In function `EQNetworkConnection::OpenSock(unsigned, unsigned short)':
../common/EQNetwork.cpp:538: undefined reference to `LogFile'
../common/EQNetwork.cpp:538: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/EQNetwork.o: In function `EQNetworkConnection::CloseSock()':
../common/EQNetwork.cpp:595: undefined reference to `LogFile'
../common/EQNetwork.cpp:595: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/EQNetwork.o: In function `EQNetworkConnection::DoRecvData()':
../common/EQNetwork.cpp:626: undefined reference to `LogFile'
../common/EQNetwork.cpp:626: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/database.o: In function `Database::Database()':
../common/linked_list.h:337: undefined reference to `DBcore::DBcore()'
../common/database.o: In function `Database::Database()':
../common/database.cpp:153: undefined reference to `DBcore::Open(char const*, char const*, char const*, char const*, unsigned*, char*, bool, bool)'
../common/database.cpp:89: undefined reference to `DBcore::~DBcore()'
../common/database.o: In function `Database::Database()':
../common/database.cpp:78: undefined reference to `DBcore::DBcore()'
../common/database.cpp:153: undefined reference to `DBcore::Open(char const*, char const*, char const*, char const*, unsigned*, char*, bool, bool)'
../common/database.cpp:89: undefined reference to `DBcore::~DBcore()'
../common/database.o: In function `Database::Database(char const*, char const*, char const*, char const*)':
../common/database.cpp:166: undefined reference to `DBcore::DBcore()'
../common/database.cpp:170: undefined reference to `DBcore::Open(char const*, char const*, char const*, char const*, unsigned*, char*, bool, bool)'
../common/database.cpp:177: undefined reference to `DBcore::~DBcore()'
../common/database.o: In function `Database::Database(char const*, char const*, char const*, char const*)':
../common/database.cpp:166: undefined reference to `DBcore::DBcore()'
../common/database.cpp:170: undefined reference to `DBcore::Open(char const*, char const*, char const*, char const*, unsigned*, char*, bool, bool)'
../common/database.cpp:177: undefined reference to `DBcore::~DBcore()'
../common/database.o: In function `Database::HandleMysqlError(unsigned)':
../common/database.cpp:187: undefined reference to `AddEQEMuError(eEQEMuError, bool)'
../common/database.o: In function `Database::logevents(char*, unsigned, unsigned char, char const*, char const*, char*, char*, int)':
../common/database.cpp:244: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::CheckLogin(char const*, char const*, short*)':
../common/database.cpp:533: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:534: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:536: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetGMSpeed(unsigned)':
../common/database.cpp:570: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::SetGMSpeed(unsigned, unsigned char)':
../common/database.cpp:604: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetAccountInfoForLogin(unsigned, short*, char*, unsigned*, unsigned char*)':
../common/database.cpp:620: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::CheckStatus(unsigned)':
../common/database.cpp:668: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o:../common/database.cpp:707: more undefined references to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)' follow
../common/database.o: In function `Database::UpdateTempPacket(char*, unsigned)':
../common/database.cpp:800: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:805: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetTempPacket(unsigned, char*)':
../common/database.cpp:824: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::SetGMFlag(char const*, short)':
../common/database.cpp:1253: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::SetSpecialAttkFlag(unsigned char, char const*)':
../common/database.cpp:1272: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetEventLogs(char*, char*, unsigned, unsigned char, char*, char*, CharacterEventLog_Struct*)':
../common/database.cpp:1375: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o:../common/database.cpp:1539: more undefined references to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)' follow
../common/database.o: In function `Database::CreateCharacter(unsigned, PlayerProfile_Struct*)':
../common/database.cpp:1737: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:1741: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetCharacterInfoForLogin(char const*, unsigned*, char*, PlayerProfile_Struct*, unsigned*, PlayerAA_Struct*, unsigned*, unsigned*, unsigned char*)':
../common/database.cpp:1767: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetPlayerProfile(unsigned, char*, PlayerProfile_Struct*, char*)':
../common/database.cpp:1853: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::SetPlayerProfile(unsigned, unsigned, PlayerProfile_Struct*, unsigned)':
../common/database.cpp:1936: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:1929: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::SetPlayerProfile_MQ(char**, unsigned, unsigned, PlayerProfile_Struct*, unsigned)':
../common/database.cpp:1936: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.o: In function `Database::GetAccountIDByChar(char const*, unsigned*)':
../common/database.cpp:1962: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetAccountIDByName(char const*, short*, unsigned*)':
../common/database.cpp:1998: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetAccountName(unsigned, char*, unsigned*)':
../common/database.cpp:2030: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetCharacterInfo(char const*, unsigned*, unsigned*, float*, float*, float*)':
../common/database.cpp:2054: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::LoadVariables()':
../common/database.cpp:2099: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o:../common/database.cpp:2210: more undefined references to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)' follow
../common/database.o: In function `Database::CreateGuild(char const*, unsigned)':
../common/database.cpp:2563: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:2571: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::DeleteGuild(unsigned)':
../common/database.cpp:2595: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::RenameGuild(unsigned, char const*)':
../common/database.cpp:2616: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:2618: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::EditGuild(unsigned, unsigned char, GuildRankLevel_Struct*)':
../common/database.cpp:2644: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:2659: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetGuildNameByID(unsigned, char*)':
../common/database.cpp:2683: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetZoneLongName(char const*, char**, char*, float*, float*, float*, unsigned*)':
../common/database.cpp:2705: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetGuildDBIDbyLeader(unsigned)':
../common/database.cpp:2749: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::SetGuildLeader(unsigned, unsigned)':
../common/database.cpp:2774: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::UpdateItem(unsigned short, Item_Struct*)':
../common/database.cpp:2799: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:2806: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::SetGuildMOTD(unsigned, char const*)':
../common/database.cpp:2829: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:2831: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetGuildMOTD(unsigned, char*)':
../common/database.cpp:2857: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetItemsCount(unsigned*)':
../common/database.cpp:2892: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetNPCTypesCount(unsigned*)':
../common/database.cpp:2924: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetDoorsCount(unsigned*)':
../common/database.cpp:2957: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o:../common/database.cpp:2988: more undefined references to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)' follow
../common/database.o: In function `Database::SaveItemToDatabase(Item_Struct*)':
../common/database.cpp:3864: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:3867: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::LoadZoneNames()':
../common/database.cpp:3889: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.cpp:3902: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::SetItemAtt(char*, char*, unsigned)':
../common/database.cpp:3864: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:3867: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::CheckNameFilter(char const*)':
../common/database.cpp:4154: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::AddToNameFilter(char const*)':
../common/database.cpp:4183: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetAccountIDFromLSID(unsigned, char*, short*)':
../common/database.cpp:4204: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetWaypoints(unsigned short, unsigned char, char*)':
../common/database.cpp:4238: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o:../common/database.cpp:4257: more undefined references to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)' follow
../common/database.o: In function `Database::CopyCharacter(char const*, char const*, unsigned)':
../common/database.cpp:4737: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:4744: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetAASkillVars(unsigned, char*, int*, int*)':
../common/database.cpp:4771: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::SetPlayerAlternateAdv(unsigned, char*, PlayerAA_Struct*)':
../common/database.cpp:4821: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:4826: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetPlayerAlternateAdv(unsigned, char*, PlayerAA_Struct*)':
../common/database.cpp:4859: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::SetHackerFlag(char const*, char const*, char const*)':
../common/database.cpp:4900: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetServerFilters(char*, ServerSideFilters_Struct*)':
../common/database.cpp:4924: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::SetServerFilters(char*, ServerSideFilters_Struct*)':
../common/database.cpp:4975: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:4980: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetSafePoint(char const*, char const*)':
../common/database.cpp:5060: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::GetZoneTZ(unsigned)':
../common/database.cpp:5084: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::SetZoneTZ(unsigned, unsigned)':
../common/database.cpp:5107: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::InsertNewsPost(unsigned char, char const*, char const*, unsigned char, char const*)':
../common/database.cpp:5262: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o:../common/database.cpp:5282: more undefined references to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)' follow
../common/database.o: In function `Database::GetTrainlevel(unsigned short, unsigned char)':
../common/database.cpp:5625: undefined reference to `LogFile'
../common/database.cpp:5625: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/database.cpp:5633: undefined reference to `LogFile'
../common/database.cpp:5633: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/database.o: In function `Database::InjectToRaw()':
../common/database.cpp:5652: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.cpp:5769: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.cpp:5837: undefined reference to `DBcore::DoEscapeString(char*, char const*, unsigned)'
../common/database.cpp:5839: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.cpp:5667: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
../common/database.o: In function `Database::~Database()':
../common/database.cpp:386: undefined reference to `DBcore::~DBcore()'
../common/database.o: In function `Database::~Database()':
../common/database.cpp:386: undefined reference to `DBcore::~DBcore()'
../common/TCPConnection.o: In function `TCPConnection::TCPConnection(TCPServer*, TCPConnection*, unsigned, unsigned, unsigned short)':
../common/TCPConnection.cpp:150: undefined reference to `LogFile'
../common/TCPConnection.cpp:150: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/TCPConnection.o: In function `TCPConnection::TCPConnection(TCPServer*, TCPConnection*, unsigned, unsigned, unsigned short)':
../common/TCPConnection.cpp:150: undefined reference to `LogFile'
../common/TCPConnection.cpp:150: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/TCPConnection.o: In function `TCPConnection::Free()':
../common/TCPConnection.cpp:213: undefined reference to `LogFile'
../common/TCPConnection.cpp:213: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/TCPConnection.o: In function `TCPConnection::AsyncConnect(char const*, unsigned short)':
../common/TCPConnection.cpp:514: undefined reference to `LogFile'
../common/TCPConnection.cpp:514: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/TCPConnection.o: In function `TCPConnection::AsyncConnect(unsigned, unsigned short)':
../common/TCPConnection.cpp:546: undefined reference to `LogFile'
../common/TCPConnection.cpp:546: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/TCPConnection.o: In function `TCPConnection::Connect(unsigned, unsigned short, char*)':
../common/TCPConnection.cpp:596: undefined reference to `LogFile'
../common/TCPConnection.cpp:596: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/TCPConnection.o: In function `TCPConnection::SendData(char*)':
../common/TCPConnection.cpp:1323: undefined reference to `LogFile'
../common/TCPConnection.cpp:1323: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/TCPConnection.o: In function `TCPConnectionLoop(void*)':
../common/TCPConnection.cpp:1368: undefined reference to `LogFile'
../common/TCPConnection.cpp:1368: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
../common/TCPConnection.o: In function `TCPServerLoop(void*)':
../common/TCPConnection.cpp:1455: undefined reference to `LogFile'
../common/TCPConnection.cpp:1455: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
client.o: In function `ClientList::FindByAccountID(unsigned)':
../common/linked_list.h:174: undefined reference to `LogFile'
../common/linked_list.h:174: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
client.o: In function `Database::SetStartingItems(PlayerProfile_Struct*, unsigned short, unsigned char, unsigned short, unsigned short, char*, short)':
/usr/local/eqemu/src/world/client.cpp:891: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
/usr/local/eqemu/src/world/client.cpp:907: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
net.o: In function `main':
/usr/local/eqemu/src/world/net.cpp:90: undefined reference to `LogFile'
/usr/local/eqemu/src/world/net.cpp:90: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
/usr/local/eqemu/src/world/net.cpp:379: undefined reference to `CheckEQEMuErrorAndPause()'
/usr/local/eqemu/src/world/net.cpp:312: undefined reference to `DBcore::ping()'
/usr/local/eqemu/src/world/net.cpp:313: undefined reference to `AsyncLoadVariables()'
console.o: In function `Console::ProcessCommand(char const*)':
/usr/local/eqemu/src/world/console.cpp:447: undefined reference to `MD5::Generate(unsigned char const*, unsigned, unsigned char*)'
zoneserver.o: In function `ZoneServer::Process()':
/usr/local/eqemu/src/world/zoneserver.cpp:215: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
/usr/local/eqemu/src/world/zoneserver.cpp:218: undefined reference to `DBcore::RunQuery(char const*, unsigned, char*, st_mysql_res**, unsigned*, unsigned*, unsigned*, bool)'
/usr/local/eqemu/src/world/zoneserver.cpp:257: undefined reference to `LogFile'
/usr/local/eqemu/src/world/zoneserver.cpp:257: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'
/usr/local/eqemu/src/world/zoneserver.cpp:148: undefined reference to `MD5::Generate(unsigned char const*, unsigned, unsigned char*)'
zoneserver.o: In function `ZSList::CLEAdd(unsigned, char const*, char const*, short)':
/usr/local/eqemu/src/world/zoneserver.cpp:1576: undefined reference to `MD5::MD5()'
zoneserver.o: In function `ZSList::ClientUpdate(ZoneServer*, ServerClientList_Struct*)':
/usr/local/eqemu/src/world/zoneserver.cpp:1602: undefined reference to `MD5::MD5()'
/usr/local/eqemu/src/world/zoneserver.cpp:1602: undefined reference to `MD5::MD5()'
/usr/local/eqemu/src/world/zoneserver.cpp:1602: undefined reference to `MD5::MD5()'
zoneserver.o: In function `ZSList::CheckAuth(char const*, char const*)':
/usr/local/eqemu/src/world/zoneserver.cpp:1558: undefined reference to `MD5::MD5(char const*)'
/usr/local/eqemu/src/world/zoneserver.cpp:1574: undefined reference to `MD5::operator==(MD5 const&)'
/usr/local/eqemu/src/world/zoneserver.cpp:1588: undefined reference to `MD5::MD5()'
/usr/local/eqemu/src/world/zoneserver.cpp:1598: undefined reference to `MD5::operator=(MD5 const&)'
zoneserver.o: In function `ClientListEntry::ClientListEntry(unsigned, char const*, char const*, short)':
/usr/local/eqemu/src/world/zoneserver.cpp:1576: undefined reference to `MD5::MD5()'
zoneserver.o: In function `ClientListEntry::ClientListEntry(unsigned, char const*, char const*, short)':
/usr/local/eqemu/src/world/zoneserver.cpp:1576: undefined reference to `MD5::MD5()'
zoneserver.o: In function `ClientListEntry::ClientListEntry(unsigned, char const*, MD5&, short)':
/usr/local/eqemu/src/world/zoneserver.cpp:1588: undefined reference to `MD5::MD5()'
/usr/local/eqemu/src/world/zoneserver.cpp:1598: undefined reference to `MD5::operator=(MD5 const&)'
zoneserver.o: In function `ClientListEntry::ClientListEntry(unsigned, char const*, MD5&, short)':
/usr/local/eqemu/src/world/zoneserver.cpp:1588: undefined reference to `MD5::MD5()'
/usr/local/eqemu/src/world/zoneserver.cpp:1598: undefined reference to `MD5::operator=(MD5 const&)'
zoneserver.o: In function `ClientListEntry::ClientListEntry(ZoneServer*, ServerClientList_Struct*, signed char)':
/usr/local/eqemu/src/world/zoneserver.cpp:1602: undefined reference to `MD5::MD5()'
zoneserver.o: In function `ClientListEntry::ClientListEntry(ZoneServer*, ServerClientList_Struct*, signed char)':
/usr/local/eqemu/src/world/zoneserver.cpp:1602: undefined reference to `MD5::MD5()'
zoneserver.o: In function `ClientListEntry::CheckAuth(char const*, MD5&)':
/usr/local/eqemu/src/world/zoneserver.cpp:1775: undefined reference to `MD5::operator==(MD5 const&)'
gmake: *** [world] Error 1
eq#

Glasswalker
10-18-2003, 11:04 PM
Just noticed that this is happening at the Link Stage...
I wonder if it is doing it to the zone build as well...


hmm...


(Recompiling...)


Well... what do you know... it is a linking issue...

Hmm...

Well I still don't know the answer, but I do know it happens in both world and zone right when it tries to link up the final binary file...

Any suggestions?

Trumpcard
10-18-2003, 11:24 PM
I'd say your missing some of the .o files in your list.. Make sure dbcore , eqemuerror, etc are in there..

Also, didnt platforms handle includes differently, make sure the files that have problems have the right includes in their headers


../common/EQNetwork.cpp:471: undefined reference to `LogFile'
../common/EQNetwork.cpp:471: undefined reference to `EQEMuLog::write(EQEMuLog::LogIDs, char const*, ...)'



Makes me think that EQNetwork needs an include to EQEmuError.h

Glasswalker
10-19-2003, 12:36 AM
Yay! :) hehehe

Got it to compile.

It turned out to be missing files in the makefile...

I recompiled and it generated a binary fine

copied the binaries into a bin folder, with the ini files

and ran world....

SegFault (right after Loading Guild Ranks... Done)

So I recompiled with the above suggested include...

Still segfault...

hmm...

Glasswalker
10-22-2003, 05:07 AM
Ok, I ran it through GDB and I haven't used GDB in forever, and am not even sure if I was using it right... (I use another debugger normally that works completely different, but it is X based)

anyway, here is what GDB barfs out if I use:
#gdb ./world ./world.core
(then I type bt to backtrace)

and it dumps out:

#0 0x2813b2b1 in std::locale::operator=(std::locale const&) ()
from /usr/lib/libstdc++.so.4
#1 0x2813f4b9 in std::ios_base::_M_init() () from /usr/lib/libstdc++.so.4
#2 0x280fdbcb in std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*) () from /usr/lib/libstdc++.so.4
#3 0x280f75d1 in std::istream::istream(std::basic_streambuf<char, std::char_traits<char> >*) () from /usr/lib/libstdc++.so.4
#4 0x0806a2bc in EQTime::loadFile(char const*) (this=0x8091d00,
filename=0x2815a574 "\214

Glasswalker
10-22-2003, 11:53 PM
Anybody at all have any suggestions? or any other information that may be useful? (or even a link to another site that could help?)

Thanks...

Trumpcard
10-22-2003, 11:55 PM
I dont know that any of us is using BSD, so I don't think anyone's going to be able to offer much help.

You might consider asking your sponser to consider using a linux server, afterall, we support the linux OS..

Glasswalker
10-23-2003, 07:02 AM
Yeah, tried that :)

He is not all that pleased with the idea of linux :) (he thinks it is far too insecure)

I know there is one person doing it on BSD, cause I was talking to him on IRC... but anyway... if worse comes to worse I can try the linux thing again...

:(

Thanks anyway :)

a_Guest03
10-23-2003, 08:44 AM
INSECURE!??? (http://evilnerds.be/archives/000144.html)

Has your sponsor ever heard of Windows NT, Windows 98 first edition, IIS, Windows 2000, Windows 2003, Windows XP, Outlook Express, Internet Explorer or Outlook?

How many CRITICAL UPDATES have reached global news stations regarding the deadly nature of an unpatched linux system?

AHHHHHHH! Run for the doors! It's all going down!

I think your sponsor, while delightfully generous, is ignorant to the beauty of linux. It's sad that he relies on Microsoft (and we're not going to even talk about Macs here because eqemu doesn't work with them) to keep him safe from the world of viruses or personal intrusions. If mysql and slackware 9.1 aren't enough to keep a computer secure, then there is no safe computer.

Tell your sponsor gently that you assure him linux is safer than he would believe. Am I wrong here? I've had my ports scanned tons of times, and have stumbled upon insecure systems and exploited them out of curiosity a few times. The systems that were easily exploited were 3rd party Windows programs, which were all closed source. The only other compromised systems I've ever met with had easily guessed passwords or a computer terminal open with no protection on it.

My friends claim that I'm a hacker, but I'm nothing of the sort. I just find anomalies and learn what happens when you tinker with them. The systems that I have compromised, how, and my reasons are:

1. System:
School VAX server
OS: VAX, duh
How: username listed on website as email address, no password
Reason: curious.
How Compromised: Not much... Just a username that was given to my school to use on the server... I didn't have root access, but I had access to all of the email.

2. System:
School workspace terminal
OS: Windows 3.1
How: Netscape granted me access to notepad, despite notepad and all text editing programs being locked down by a 3rd party security program. Notepad gave me write access to autoexec.bat. removed security program from bootup, rebooted
Reason: curious.
How Compromised: Completely, for any single computer, network was unaffected.

3. System:
Work system java connection
OS: Windows 2000
How: clicked "about us" on 3rd party program when logged into our partner's java system and it opened IE with a website. Typed C:\ into IE, compromised main server of partnered company, as it always booted that process as Administrator
Reason: Total fluke, then curiosity.
How Compromised: Access to main server, logged in as Administrator, with explorer open over a secure internet connection. I was allowed to be there, along with 50 other people and the logging on the server would have blamed the java program. Reported problem to manufacturer, got no response.

4. System:
College workspace terminal
OS: Windows NT4
How: rebooted, quickly used CTRL ALT DEL, alt F (file menu), R (run), and typed "explorer" (enter) to load up windows before the login screen started, and closed the login screen
Reason: heard it could be done, did it to be sure.
How Compromised: Access to anything and everything on the single system without username logging. Access to everything but network printer. Internet access allowed, and read/write access to everything except regedit.exe. The school's IP address was often the source of a friend's workplace's pingflood. He liked doing that trick and writing "broken" on a slip of paper on the monitor.

5. System:
High School Novell Network
OS: Novell? I'm not sure what the setup was. I only knew Windows 98 at the time, but I think it was early command-line Novell
How: Using wordperfect (only program we had access to) on my keyboarding class terminal, located 30 or so files with the first 4 letters of the teachers' names. Used one or two as logins. No passwords on the logins
Reason: Boredom, and frustration that 60wpm earns a B+ with extra credit and only 1 or 2 errors per document
How Compromised: could alter grades, schedules, etc, as if I were the teacher of a course. Two teachers had passwords.

I never caused damage to the systems that I compromised, and I didn't realize that I was compromising them until I succeeded, because I didn't have any "hacking" skills. I didn't know anything about VAX when I logged in the first time, but I know enough now. I had no training or malicious intent. Curiosity kills the cat, no?

I would have been caught messing with half of the listed systems, but I had complete access with no logging to track me down on three of them.

Linux server running only mysql and eqemu should have equal to or less security risk from network hacks than a Windows Server doing the same. Lock down the other ports and network services, especially rpc, excepting perhaps ssh and scp. The only security risk comes from the terminal being physically available and with an input device (like a keyboard).

If he's worried about security, have him look at the defensive reputation of Windows, and the defensive reputation of linux.

The only time I've ever compromised Linux is with a boot and root disk bootup that let me change the root password. That's part of the physical integrity thing. Keep guys with disks and keyboards away from it, and it's pretty secure.

I'm a linux user and have been since 1999. I'm very comfortable with the safety of the default install for all distributions except redhat and mandrake. While I'm no guru or anything, I have seen a lot of it, and understand how it works. Windows is all closed-source, and I don't trust it at all.

P.S. If I violated any terms of the website by posting this, I will remove the offensive text.

10-23-2003, 09:02 AM
School VAX server
OS: VAX, duh

Wasn't the standard VAX Operating System called VMS ?
When I was at University, the VAXes there, model 11/780 IIRC actually ran UNIX.

a_Guest03
10-23-2003, 09:05 AM
I think you're right, but I've heard VMS and VAX used interchangeably. I may be wrong. It seemed like a standard unix system, with slightly different commands. It was basically unix, though.

The only reason I had any access to it was a login with no password. It's like expecting someone not to get into your house by hiding the unlocked door behind a tree.

10-23-2003, 09:10 AM
Back on topic :)

[quote]#4 0x0806a2bc in EQTime::loadFile(char const*) (this=0x8091d00,
filename=0x2815a574 "\214

a_Guest03
10-23-2003, 09:11 AM
I feel like I need 5 asses, because I just realized that he thinks Linux is insecure compared to FreeBSD. Sorry for my misunderstanding.

I don't have any statistics comparing the two. Would he really be insecure with Linux and 2 or 3 processes, like eqemu zones, mysql, world?

10-23-2003, 09:18 AM
All I can think is that as there are probably a lot more Linux users compared to FreeBSD users, there are more hackers/crackers who know how to exploit a Linux system ... /shrug

Trumpcard
10-23-2003, 10:13 AM
VAX is the hardware platform, VMS is the operating system. Traditional VMS is nothing at all like UNIX, its a major pain in the ass... When I started college I had to do all my programming assignments on a VAX/VMS system and print them out to an old greenbar printer...

just changing your directory looked like this...

SET DEFAULT (ME.SUB1.SUB2.xxx)

Glasswalker
10-24-2003, 03:31 AM
Yeah as to the above, he knows well the evil of all the MS operating systems...

He also will not allow a single windows based system anywhere on his entire network...

and he owns a rather large local broadband ISP...

he only allows BSD unix systems and that is it...

(but I think I may be weakening him on the linux idea) hehehe...

Yeah, I thought that filename variable containing garbage in the debug might be it... I will take a look, but I might just rather get it on Linux...

Anyway, thanks all for all your help...

krich
10-24-2003, 03:57 AM
I'm not a makefile guru, but it looks as if there are some .o files missing in your link statement (dbcore.o, for example). That would explain your undefined references. They were present during compile, but if your linker isn't adding all the .o files in during the link phase, it'll fail. The linker takes all its instructions from the makefile, so check there.

Regards,

krich

var1ety
12-26-2003, 09:10 PM
Smells like you're using libstdc++ instead of liblstdc++ to link your final executable. This fun problem only manifests itself on 5.x, and is documented in the README.FreeBSD file in devel/linuxthread's work directory.

This document is pointed to in passing by the port after it finishes installing, but is easy to miss, and is not accessible unless you neglect to clean your port after installing.

See my thread at

http://www.everquestserver.com/forums/viewtopic.php?t=12004

for patches against 0.5.3dr2 that allow for use of Perl and shared memory on FreeBSD 5.x with gcc 3.3.