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 12-12-2003, 12:15 PM
krampf
Fire Beetle
 
Join Date: Dec 2003
Posts: 7
Default Compiling under SuSE 9.0 issues

After reading the "Linux Readme" and getting past the section on working for the government (which I have also considered the NSA but didn't do it, although I am an X-Army officer) and looking at problems that others had under Red Hat, I am having a problem with compiling both world and zone. After getting the source via CVS, make worked fine in EMuShareMem. Here are the warnings from the compiler when trying to make world. I tried "make" as normal user then "make clean && make" as root.

Code:
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/EQNetwork.cpp -o ../common/EQNetwork.o
../common/EQNetwork.cpp: In member function `
   EQNetworkServer::EQNetworkServer(short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:73: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:73: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkServer::EQNetworkServer(short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:73: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:73: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkServer::~EQNetworkServer()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:86: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:95: warning: called from here
../common/EQNetwork.cpp: In member function `virtual
   EQNetworkServer::~EQNetworkServer()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:86: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:95: warning: called from here
../common/EQNetwork.cpp: In member function `virtual
   EQNetworkServer::~EQNetworkServer()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:86: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:95: warning: called from here
../common/EQNetwork.cpp: In member function `bool EQNetworkServer::Open(short
   unsigned int)':
../common/EQNetwork.cpp:119: warning: unused variable `int reuse_addr'
../common/EQNetwork.cpp: In member function `void EQNetworkServer::Process()':
../common/linked_list.h:101: warning: inlining failed in call to `
   LinkedListIterator<TYPE>::LinkedListIterator(LinkedList<TYPE>&, direction)
   [with TYPE = EQNetworkConnection*]'
../common/EQNetwork.cpp:228: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkServer::RecvData(uchar*, unsigned int, unsigned int, short unsigned
   int)':
../common/linked_list.h:101: warning: inlining failed in call to `
   LinkedListIterator<TYPE>::LinkedListIterator(LinkedList<TYPE>&, direction)
   [with TYPE = EQNetworkConnection*]'
../common/EQNetwork.cpp:263: warning: called from here
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:281: warning: called from here
../common/EQNetwork.cpp: In member function `EQNetworkConnection*
   EQNetworkServer::NewQueuePop()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:295: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkConnection::EQNetworkConnection(unsigned int, short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:345: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:345: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:345: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:345: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkConnection::EQNetworkConnection(unsigned int, short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:345: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:345: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:345: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:345: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkConnection::EQNetworkConnection()':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:369: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:369: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:369: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:369: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkConnection::EQNetworkConnection()':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:369: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:369: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:369: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:369: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkConnection::~EQNetworkConnection()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:396: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:396: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = InQueue_Struct]'
../common/EQNetwork.cpp:407: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = APPLAYER]'
../common/EQNetwork.cpp:412: warning: called from here
../common/EQNetwork.cpp: In member function `virtual
   EQNetworkConnection::~EQNetworkConnection()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:396: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:396: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = InQueue_Struct]'
../common/EQNetwork.cpp:407: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = APPLAYER]'
../common/EQNetwork.cpp:412: warning: called from here
../common/EQNetwork.cpp: In member function `virtual
   EQNetworkConnection::~EQNetworkConnection()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:396: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:396: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = InQueue_Struct]'
../common/EQNetwork.cpp:407: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = APPLAYER]'
../common/EQNetwork.cpp:412: warning: called from here
../common/EQNetwork.cpp: In member function `APPLAYER*
   EQNetworkConnection::PopPacket()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = APPLAYER]'
../common/EQNetwork.cpp:459: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkConnection::OutQueuePush(APPLAYER*)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = APPLAYER]'
../common/EQNetwork.cpp:466: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkConnection::QueuePacket(const APPLAYER*, bool)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = InQueue_Struct]'
../common/EQNetwork.cpp:480: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkConnection::FastQueuePacket(APPLAYER**, bool)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = InQueue_Struct]'
../common/EQNetwork.cpp:497: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkConnection::RemoveData()':
../common/queue.h:102: warning: inlining failed in call to `void
   MyQueue<T>::clear() [with T = APPLAYER]'
../common/EQNetwork.cpp:505: warning: called from here
../common/queue.h:102: warning: inlining failed in call to `void
   MyQueue<T>::clear() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:506: warning: called from here
../common/EQNetwork.cpp: In member function `void EQNetworkConnection::Close()
   ':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = InQueue_Struct]'
../common/EQNetwork.cpp:521: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkConnection::CloseSock()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = InQueue_Struct]'
../common/EQNetwork.cpp:605: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = APPLAYER]'
../common/EQNetwork.cpp:610: warning: called from here
../common/EQNetwork.cpp: In member function `InQueue_Struct*
   EQNetworkConnection::InQueuePop()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = InQueue_Struct]'
../common/EQNetwork.cpp:734: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkFragmentGroupList::CheckTimers()':
../common/linked_list.h:101: warning: inlining failed in call to `
   LinkedListIterator<TYPE>::LinkedListIterator(LinkedList<TYPE>&, direction)
   [with TYPE = EQNetworkFragmentGroup*]'
../common/EQNetwork.cpp:1836: warning: called from here
../common/EQNetwork.cpp: In member function `bool EQDataPacket::Decode(sint64*,
   int8*, unsigned int)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = APPLAYER]'
../common/EQNetwork.cpp:1925: warning: called from here
../common/EQNetwork.cpp: In member function `bool EQDataPacket::Decode(sint64*,
   short unsigned int, int8*, unsigned int)':
../common/EQNetwork.cpp:2067: warning: comparison between signed and unsigned
   integer expressions
../common/EQNetwork.cpp:2067: warning: comparison between signed and unsigned
   integer expressions
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = APPLAYER]'
../common/EQNetwork.cpp:2074: warning: called from here
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = APPLAYER]'
../common/EQNetwork.cpp:2102: warning: called from here
../common/linked_list.h: In member function `void
   LinkedList<TYPE>::Append(const TYPE&) [with TYPE = EQNetworkConnection*]':
../common/EQNetwork.cpp:279:   instantiated from here
../common/linked_list.h:59: warning: inlining failed in call to `void
   ListElement<TYPE>::SetLastNext(ListElement<TYPE>*) [with TYPE =
   EQNetworkConnection*]'
../common/linked_list.h:391: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   EQNetworkConnection]':
../common/EQNetwork.cpp:281:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = EQNetworkConnection]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = EQNetworkConnection]'
../common/queue.h:61: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   APPLAYER]':
../common/EQNetwork.cpp:466:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = APPLAYER]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = APPLAYER]'
../common/queue.h:61: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   InQueue_Struct]':
../common/EQNetwork.cpp:480:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = InQueue_Struct]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = InQueue_Struct]'
../common/queue.h:61: warning: called from here
../common/linked_list.h: In member function `void
   LinkedList<TYPE>::Append(const TYPE&) [with TYPE = EQNetworkPacket*]':
../common/EQNetwork.cpp:1062:   instantiated from here
../common/linked_list.h:59: warning: inlining failed in call to `void
   ListElement<TYPE>::SetLastNext(ListElement<TYPE>*) [with TYPE =
   EQNetworkPacket*]'
../common/linked_list.h:391: warning: called from here
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../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:150: warning: cast from `const void*' to `int8*'
   discards qualifiers from pointer target type
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/races.cpp -o ../common/races.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/Mutex.cpp -o ../common/Mutex.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/MiscFunctions.cpp -o ../common/MiscFunctions.o
../common/MiscFunctions.cpp: In function `bool ParseAddress(const char*,
   int32*, int16*, char*)':
../common/seperator.h:31: warning: inlining failed in call to `
   Seperator::Seperator(const char*, char, short unsigned int, short unsigned
   int, bool, char, char, bool)'
../common/MiscFunctions.cpp:90: warning: called from here
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/serverinfo.cpp -o ../common/serverinfo.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/packet_functions.cpp -o ../common/packet_functions.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/classes.cpp -o ../common/classes.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/TCPConnection.cpp -o ../common/TCPConnection.o
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPConnection(bool, TCPServer*, eTCPMode)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:84: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPConnection(bool, TCPServer*, eTCPMode)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:84: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPConnection(TCPServer*, int, unsigned int, short unsigned
   int, bool)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:113: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPConnection(TCPServer*, int, unsigned int, short unsigned
   int, bool)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:113: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPConnection(TCPServer*, TCPConnection*, unsigned int,
   unsigned int, short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:144: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPConnection(TCPServer*, TCPConnection*, unsigned int,
   unsigned int, short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:144: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::~TCPConnection()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:174: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:174: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:174: warning: called from here
../common/TCPConnection.cpp: In member function `virtual
   TCPConnection::~TCPConnection()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:174: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:174: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:174: warning: called from here
../common/TCPConnection.cpp: In member function `virtual
   TCPConnection::~TCPConnection()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:174: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:174: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:174: warning: called from here
../common/TCPConnection.cpp: In member function `void
   TCPConnection::InModeQueuePush(TCPConnection::TCPNetPacket_Struct*)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:336: warning: called from here
../common/TCPConnection.cpp: In member function `ServerPacket*
   TCPConnection::PopPacket()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = ServerPacket]'
../common/TCPConnection.cpp:422: warning: called from here
../common/TCPConnection.cpp: In member function `char* TCPConnection::PopLine()
   ':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = char]'
../common/TCPConnection.cpp:431: warning: called from here
../common/TCPConnection.cpp: In member function `void
   TCPConnection::OutQueuePush(ServerPacket*)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = ServerPacket]'
../common/TCPConnection.cpp:438: warning: called from here
../common/TCPConnection.cpp: In member function `void
   TCPConnection::LineOutQueuePush(char*)':
../common/TCPConnection.cpp:453: warning: cast from `const char*' to `uchar*'
   discards qualifiers from pointer target type
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:456: warning: called from here
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = char]'
../common/TCPConnection.cpp:465: warning: called from here
../common/TCPConnection.cpp: In member function `void
   TCPConnection::ClearBuffers()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:700: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = char]'
../common/TCPConnection.cpp:703: warning: called from here
../common/TCPConnection.cpp: In member function `bool
   TCPConnection::ProcessReceivedDataAsOldPackets(char*)':
../common/TCPConnection.cpp:1145: warning: comparison between signed and
   unsigned integer expressions
../common/TCPConnection.cpp: In member function `TCPServer::TCPServer(short
   unsigned int, bool)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/TCPConnection.cpp: In member function `TCPServer::TCPServer(short
   unsigned int, bool)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/TCPConnection.cpp: In member function `TCPServer::~TCPServer()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1431: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1431: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection]'
../common/TCPConnection.cpp:1438: warning: called from here
../common/TCPConnection.cpp: In member function `virtual
   TCPServer::~TCPServer()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1431: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1431: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection]'
../common/TCPConnection.cpp:1438: warning: called from here
../common/TCPConnection.cpp: In member function `virtual
   TCPServer::~TCPServer()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1431: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1431: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection]'
../common/TCPConnection.cpp:1438: warning: called from here
../common/TCPConnection.cpp: In member function `void TCPServer::Process()':
../common/linked_list.h:101: warning: inlining failed in call to `
   LinkedListIterator<TYPE>::LinkedListIterator(LinkedList<TYPE>&, direction)
   [with TYPE = TCPConnection*]'
../common/TCPConnection.cpp:1481: warning: called from here
../common/TCPConnection.cpp: In member function `TCPConnection*
   TCPServer::NewQueuePop()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection]'
../common/TCPConnection.cpp:1638: warning: called from here
../common/TCPConnection.cpp: In member function `void
   TCPServer::AddConnection(TCPConnection*)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = TCPConnection]'
../common/TCPConnection.cpp:1646: warning: called from here
../common/TCPConnection.cpp: In member function `void
   TCPServer::SendPacket(TCPConnection::TCPNetPacket_Struct**)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1669: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPNetPacket_Struct* TCPServer::InQueuePop()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1692: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   TCPConnection::TCPNetPacket_Struct]':
../common/TCPConnection.cpp:336:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T =
   TCPConnection::TCPNetPacket_Struct]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T =
   TCPConnection::TCPNetPacket_Struct]'
../common/queue.h:61: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   ServerPacket]':
../common/TCPConnection.cpp:438:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = ServerPacket]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = ServerPacket]'
../common/queue.h:61: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   char]':
../common/TCPConnection.cpp:465:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = char]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = char]'
../common/queue.h:61: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   TCPConnection]':
../common/TCPConnection.cpp:1646:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = TCPConnection]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = TCPConnection]'
../common/queue.h:61: warning: called from here
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/eqtime.cpp -o ../common/eqtime.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/crc32.cpp -o ../common/crc32.o
../common/crc32.cpp:105:2: warning: #warning "Comment out i386 define if your arch isn't x86"
../common/crc32.cpp: In static member function `static uint32
   CRC32::Update(const int8*, unsigned int, unsigned int)':
../common/crc32.cpp:167: error: asm-specifier for variable `val' conflicts with
   asm clobber list
make: *** [../common/crc32.o] Error 1
I am running gcc version 3.3.1 and mysql 4.0.15. Any help would be greatly appreciated to include harassment. Thanx.
__________________
--
Sp4z80Y
Reply With Quote
  #2  
Old 12-12-2003, 01:27 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Comment out the #ifdef x86 in crc.cpp

GCC 3.3.1 doesnt like my assembly routines...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #3  
Old 12-12-2003, 02:03 PM
krampf
Fire Beetle
 
Join Date: Dec 2003
Posts: 7
Default

I am assuming crc32.cpp is the file you were refering to. I remarked:

Code:
// Commented out from Trumpcard's recommendation
// #if !defined(i386)
// #define i386 // If you are on a non-Intel based platform (Sparc/HP/NEC/etc), you will want to comment this define.
// #endif
Still not compiling. Good news is I have the sql database running with the tables created. Just need to populate them. When I get this running I will create a "how to" for SuSE 9.0. Thanks for your help Trumpcard.
__________________
--
Sp4z80Y
Reply With Quote
  #4  
Old 12-16-2003, 01:10 PM
xiphos
Fire Beetle
 
Join Date: Nov 2003
Posts: 2
Default Same problem

I'm attempting to compile world from a fresh Debian install, and am recieving the same error. Commenting out the #ifdef for the ix86 code did nothing to alleviate the error.

Quote:
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/crc32.cpp -o ../common/crc32.o
../common/crc32.cpp: In static member function `static uint32 CRC32::Update(const int8*, unsigned int, unsigned int)':
../common/crc32.cpp:167: error: asm-specifier for variable `val' conflicts with asm clobber list
My C/++ is far too rusty to do much with this at this time. Perhaps some dependancy X-users take for granted us console-only freaks are missing?
Reply With Quote
  #5  
Old 12-16-2003, 02:05 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Change the #ifdef i386 to something obscene like i986.

You're system probably already has i386 defined , so commenting that out isnt going to help..

Damn i386 binary compiled distributions....

You dont have to be good at C++, just common sense.. You DONT want to compile the assembly... IF DEFINED i386, compile this stuff, ELSE, compile this other thing..

You want the other thing...

I leave the rest as an exercise to the reader.
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #6  
Old 12-16-2003, 02:15 PM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

My favorite trick is to comment out the original #ifdef and replace it with a #if 0

That way you can always go back and remember why you did it and if you ever find a way to fix the original problem its easy to put back.
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #7  
Old 12-17-2003, 01:28 PM
xiphos
Fire Beetle
 
Join Date: Nov 2003
Posts: 2
Default

Quote:
Change the #ifdef i386 to something obscene like i986.

You're system probably already has i386 defined , so commenting that out isnt going to help..
This did it. Thanks.

Quote:
You dont have to be good at C++, just common sense.. You DONT want to compile the assembly... IF DEFINED i386, compile this stuff, ELSE, compile this other thing..
I dunno... when you haven't seriiously touched any source code in close to 10 years, this type of association starts to deteriorate. It may seem obvious to you, who still maintains that critical association, but it's hardly a "common sense" observation.

Thanks for the assist, and reminding me of my own days as a snide young coder. ; )
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 12:19 AM.


 

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