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 09-28-2002, 08:57 AM
tufkal
Fire Beetle
 
Join Date: Sep 2002
Posts: 12
Default Compile errors for the whole family!

Using Mandrake 9.0

straight out of the .37 source zip

First 3 gcc cmds go through, but with sooo many warnings, this is the 4th one which it stops on.

gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Waggregate-return -g -m486 -O3 -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -I/usr/include/mysql -I/usr/mysql/include ../common/packet_dump.cpp -o ../common/packet_dump.o


Then ensues a ton of warnings as usual but it stops on this one with an error. Due to the limit of chars i can paste here ill try to get some relevant information, cause i cant put it all (and would you want to read it bog)


/usr/include/c++/3.2/bits/locale_facets.tcc:893: instantiated from `_OutIter std::num_put<_CharT, _OutIter>::do_put(_OutIter, std::ios_base&, _CharT, long unsigned int) const [with _CharT = char, _OutIter = std::ostreambuf_iterator<char, std::char_traits<char> >]'
/usr/include/c++/3.2/bits/locale_facets.h:745: instantiated from `_OutIter std::num_put<_CharT, _OutIter>::put(_OutIter, std::ios_base&, _CharT, long unsigned int) const [with _CharT = char, _OutIter = std::ostreambuf_iterator<char, std::char_traits<char> >]'
/usr/include/c++/3.2/bits/ostream.tcc:215: instantiated from `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]'
/usr/include/c++/3.2/ostream:130: instantiated from `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]'
../common/packet_dump.cpp:38: instantiated from here
/usr/include/c++/3.2/bits/stl_iterator_base_types.h:157: warning: function returns an aggregate
make: *** [../common/packet_dump.o] Error 1
Reply With Quote
  #2  
Old 09-28-2002, 10:32 AM
kathgar
Discordant
 
Join Date: May 2002
Posts: 434
Default

Reinstall libc, its failing inside the libs and standard functions, not our shit
__________________
++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
+++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
+.<<+++++++++++++++.>.+++.------.--------.>+.
Reply With Quote
  #3  
Old 09-30-2002, 09:05 AM
flipper
Sarnak
 
Join Date: Jan 2002
Location: California
Posts: 94
Default

I just put on a fresh install of Gentoo Linux 1.4_rc1 (gcc 3.2 based) and I'm getting the same errors. The system is fully up to date (i.e. I already did emerge rsync and emerge -u world). Anyone figure this out yet on Gentoo 1.4?

FWIW, it worked fine on my Gentoo 1.2 system
Reply With Quote
  #4  
Old 09-30-2002, 09:45 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

well, 1.2 was gcc 2.9x, 1.4 is 3.2 obviously.. I'd say the code needs to be patched up a bit to work with the new version of gcc. I ran into issues earlier in the year with 3.0.4
Reply With Quote
  #5  
Old 09-30-2002, 09:58 AM
flipper
Sarnak
 
Join Date: Jan 2002
Location: California
Posts: 94
Default

Oh boy. I was able to get eqemu to compile under gcc 3.1 in Gentoo 1.2, so I might install 3.1 along side 3.2 just for eqemu. I'll report back soon with my findings.
Reply With Quote
  #6  
Old 10-06-2002, 01:06 PM
penfold1972
Fire Beetle
 
Join Date: May 2002
Posts: 13
Default

I am having the same problem. I just loaded gentoo linux this weekend, and it dies on packetdump. Did anyone figure out if it's the version of gcc or did installing libc take care of it?
Reply With Quote
  #7  
Old 10-07-2002, 11:27 AM
Hoihoi
Fire Beetle
 
Join Date: Jan 2002
Posts: 2
Default

to compile eqemu right now, you need glibc built with <gcc3.2.

glibc built with <gcc3.2 and compiling eqemu with gcc3.x works.
Reply With Quote
  #8  
Old 10-11-2002, 04:49 PM
flipper
Sarnak
 
Join Date: Jan 2002
Location: California
Posts: 94
Default

Any of you figure out how to get gcc 3.1 installed in Gentoo 1.4_rc1 without wiping out gcc 3.2? I have about 160 users on my system (mostly message board access) and I cant afford to risk making my system unusable.
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 03:21 PM.


 

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