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 10-19-2002, 01:54 AM
ashlar_s
Fire Beetle
 
Join Date: Oct 2002
Posts: 1
Default 3.10 compilation errors.

I had problems like this before with 3.9 so thought i just had to edit the header files like before so they pointed directly to the stuff on my system... well i assume this is something differnt cause it is not working. I am no c++ expert so here is my problem:

In file included from ../common/database.h:28,
from ../common/database.cpp:32:
../common/eq_packet_structs.h:562: anonymous class type not used to declare any objects
../common/database.cpp: In method `sint32 Database::GetItemsCount(int32 * = 0)':
../common/database.cpp:2027: warning: unused variable `int32 tmpItemCount'
../common/database.cpp:2026: warning: unused variable `int32 tmpMaxItem'


seems like it is pointling to eq_packet_structs.h.

Could yall point me in the right direction please?

by the by sence winex got eq working and sence i got your stuff it is the first time i played eq in like three mounths. So thanks peoples for your work..
Reply With Quote
  #2  
Old 10-19-2002, 08:31 AM
kathgar
Discordant
 
Join Date: May 2002
Posts: 434
Default

Those are just warning.. not errors.. but tahts quag's win32 sharemem stuff.. shoudln't be included at all
__________________
++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
+++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
+.<<+++++++++++++++.>.+++.------.--------.>+.
Reply With Quote
  #3  
Old 10-19-2002, 01:22 PM
btuch
Sarnak
 
Join Date: Sep 2002
Posts: 81
Default

There is an error...I get the same thing when compiling the world src:

In file included from ../common/database.h:32,
from ../common/database.cpp:39:
../common/eq_packet_structs.h:562: anonymous class type not used to declare any objects
../common/database.cpp: In method `sint32 Database::GetItemsCount(int32 * = 0)':
../common/database.cpp:2034: warning: unused variable `int32 tmpItemCount'
../common/database.cpp:2033: warning: unused variable `int32 tmpMaxItem'
make: *** [../common/database.o] Error 1

It errors, and doesn't finish...not sure what the error is though....
Reply With Quote
  #4  
Old 10-19-2002, 01:52 PM
kathgar
Discordant
 
Join Date: May 2002
Posts: 434
Default

I'll look at it.. i think someone left the sharemem stuff in, because the maxitemcoutn and Getitem count are for that, but since I haven't finished the linux version they are not exaclty needed yet.
__________________
++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
+++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
+.<<+++++++++++++++.>.+++.------.--------.>+.
Reply With Quote
  #5  
Old 10-22-2002, 03:43 AM
btuch
Sarnak
 
Join Date: Sep 2002
Posts: 81
Default

I still can't get this to compile....anyone been successful with it yet?
Reply With Quote
  #6  
Old 10-23-2002, 07:22 AM
Puck
Fire Beetle
 
Join Date: Oct 2002
Posts: 2
Default

The gcc doesn`t like the union in the struct in eq_packet_structs.h I think. I just saw that all 3 parts had been identical and removed the additionals to merge to a normal struct and all compiled well.
Reply With Quote
  #7  
Old 10-23-2002, 07:49 AM
btuch
Sarnak
 
Join Date: Sep 2002
Posts: 81
Default

OK, so.....what exactly did ya change to get it to compile?
Reply With Quote
  #8  
Old 10-23-2002, 07:47 PM
Puck
Fire Beetle
 
Join Date: Oct 2002
Posts: 2
Default

Hier ein diff von den beiden Files:

530c530
< union { struct {
---
> //union { struct {
563,630c563,630
< struct {
< /*0075*/ int8 class_; // Class
< /*0076*/ int8 gender; // Gender Flag, 0 = Male, 1 = Female, 2 = Other
< /*0077*/ int8 level; // Level of spawn (might be one sint
< /*0078*/ int8 invis; // 0=visable, 1=invisable
< /*0079*/ int8 unknown078;
< /*0080*/ int8 pvp;
< /*0081*/ int8 anim_type;
< /*0082*/ int8 light; // Light emitting
< /*0083*/ int8 anon; // 0=normal, 1=anon, 2=RP
< /*0084*/ int8 AFK; // 0=off, 1=on
< /*0085*/ int8 s_unknown5_2; // used to be s_unknown5[2]
< /*0086*/ int8 LD; // 0=NotLD, 1=LD
< /*0087*/ int8 GM; // 0=NotGM, 1=GM
< /*0088*/ int8 s_unknown5_5; // used to be s_unknown5[5]
< /*0089*/ int8 npc_armor_graphic; // 0xFF=Player, 0=none, 1=leather, 2=chain, 3=steelplate
< /*0090*/ int8 npc_helm_graphic; // 0xFF=Player, 0=none, 1=leather, 2=chain, 3=steelplate
< /*0091*/ int8 s_unknown5_8; // used to be s_unknown5[8]
< /*0092*/ int16 equipment[9]; // Equipment worn: 0=helm, 1=chest, 2=arm, 3=bracer, 4=hand, 5=leg, 6=boot, 7=melee1, 8=melee2
< /*0110*/ char name[64]; // Name of spawn (len is 30 or less)
< /*0174*/ char lastname[20]; // Last Name of player
< /*0194*/ sint8 guildrank; // ***Placeholder
< /*0195*/ int8 unknown195[13];
< /*0208*/ int16 deity; // Deity.
< /*0210*/ int8 unknown163[3]; // ***Placeholder
< /*0213*/ int8 haircolor;
< /*0214*/ int8 beardcolor;
< /*0215*/ int8 eyecolor1; // the eyecolors always seem to be the same, maybe left and right eye?
< /*0216*/ int8 eyecolor2;
< /*0217*/ int8 hairstyle;
< /*0218*/ int8 title; //Face Overlay? (barbarian only)
< /*0219*/ int8 luclinface; // and beard
< } npcstruct;
< struct {
< /*0075*/ int8 class_; // Class
< /*0076*/ int8 gender; // Gender Flag, 0 = Male, 1 = Female, 2 = Other
< /*0077*/ int8 level; // Level of spawn (might be one sint
< /*0078*/ int8 invis; // 0=visable, 1=invisable
< /*0079*/ int8 unknown078;
< /*0080*/ int8 pvp;
< /*0081*/ int8 anim_type;
< /*0082*/ int8 light; // Light emitting
< /*0083*/ int8 anon; // 0=normal, 1=anon, 2=RP
< /*0084*/ int8 AFK; // 0=off, 1=on
< /*0085*/ int8 s_unknown5_2; // used to be s_unknown5[2]
< /*0086*/ int8 LD; // 0=NotLD, 1=LD
< /*0087*/ int8 GM; // 0=NotGM, 1=GM
< /*0088*/ int8 s_unknown5_5; // used to be s_unknown5[5]
< /*0089*/ int8 npc_armor_graphic; // 0xFF=Player, 0=none, 1=leather, 2=chain, 3=steelplate
< /*0090*/ int8 npc_helm_graphic; // 0xFF=Player, 0=none, 1=leather, 2=chain, 3=steelplate
< /*0091*/ int8 s_unknown5_8; // used to be s_unknown5[8]
< /*0092*/ int16 equipment[9]; // Equipment worn: 0=helm, 1=chest, 2=arm, 3=bracer, 4=hand, 5=leg, 6=boot, 7=melee1, 8=melee2
< /*0110*/ char name[64]; // Name of spawn (len is 30 or less)
< /*0174*/ char lastname[20]; // Last Name of player
< /*0194*/ sint8 guildrank; // ***Placeholder
< /*0195*/ int8 unknown195[13];
< /*0208*/ int16 deity; // Deity.
< /*0210*/ int8 unknown163[3]; // ***Placeholder
< /*0213*/ int8 haircolor;
< /*0214*/ int8 beardcolor;
< /*0215*/ int8 eyecolor1; // the eyecolors always seem to be the same, maybe left and right eye?
< /*0216*/ int8 eyecolor2;
< /*0217*/ int8 hairstyle;
< /*0218*/ int8 title; //Face Overlay? (barbarian only)
< /*0219*/ int8 luclinface; // and beard
< } playerstruct;
< };
< };
---
> // struct {
> // /*0075*/ int8 class_; // Class
> // /*0076*/ int8 gender; // Gender Flag, 0 = Male, 1 = Female, 2 = Other
> // /*0077*/ int8 level; // Level of spawn (might be one sint
> // /*0078*/ int8 invis; // 0=visable, 1=invisable
> // /*0079*/ int8 unknown078;
> // /*0080*/ int8 pvp;
> // /*0081*/ int8 anim_type;
> // /*0082*/ int8 light; // Light emitting
> // /*0083*/ int8 anon; // 0=normal, 1=anon, 2=RP
> // /*0084*/ int8 AFK; // 0=off, 1=on
> // /*0085*/ int8 s_unknown5_2; // used to be s_unknown5[2]
> // /*0086*/ int8 LD; // 0=NotLD, 1=LD
> // /*0087*/ int8 GM; // 0=NotGM, 1=GM
> // /*0088*/ int8 s_unknown5_5; // used to be s_unknown5[5]
> // /*0089*/ int8 npc_armor_graphic; // 0xFF=Player, 0=none, 1=leather, 2=chain, 3=steelplate
> // /*0090*/ int8 npc_helm_graphic; // 0xFF=Player, 0=none, 1=leather, 2=chain, 3=steelplate
> // /*0091*/ int8 s_unknown5_8; // used to be s_unknown5[8]
> // /*0092*/ int16 equipment[9]; // Equipment worn: 0=helm, 1=chest, 2=arm, 3=bracer, 4=hand, 5=leg, 6=boot, 7=melee1, 8=melee2
> // /*0110*/ char name[64]; // Name of spawn (len is 30 or less)
> // /*0174*/ char lastname[20]; // Last Name of player
> // /*0194*/ sint8 guildrank; // ***Placeholder
> // /*0195*/ int8 unknown195[13];
> // /*0208*/ int16 deity; // Deity.
> // /*0210*/ int8 unknown163[3]; // ***Placeholder
> // /*0213*/ int8 haircolor;
> // /*0214*/ int8 beardcolor;
> // /*0215*/ int8 eyecolor1; // the eyecolors always seem to be the same, maybe left and right eye?
> // /*0216*/ int8 eyecolor2;
> // /*0217*/ int8 hairstyle;
> // /*0218*/ int8 title; //Face Overlay? (barbarian only)
> // /*0219*/ int8 luclinface; // and beard
> // } npcstruct;
> // struct {
> // /*0075*/ int8 class_; // Class
> // /*0076*/ int8 gender; // Gender Flag, 0 = Male, 1 = Female, 2 = Other
> // /*0077*/ int8 level; // Level of spawn (might be one sint
> // /*0078*/ int8 invis; // 0=visable, 1=invisable
> // /*0079*/ int8 unknown078;
> // /*0080*/ int8 pvp;
> // /*0081*/ int8 anim_type;
> // /*0082*/ int8 light; // Light emitting
> // /*0083*/ int8 anon; // 0=normal, 1=anon, 2=RP
> // /*0084*/ int8 AFK; // 0=off, 1=on
> // /*0085*/ int8 s_unknown5_2; // used to be s_unknown5[2]
> // /*0086*/ int8 LD; // 0=NotLD, 1=LD
> // /*0087*/ int8 GM; // 0=NotGM, 1=GM
> // /*0088*/ int8 s_unknown5_5; // used to be s_unknown5[5]
> // /*0089*/ int8 npc_armor_graphic; // 0xFF=Player, 0=none, 1=leather, 2=chain, 3=steelplate
> // /*0090*/ int8 npc_helm_graphic; // 0xFF=Player, 0=none, 1=leather, 2=chain, 3=steelplate
> // /*0091*/ int8 s_unknown5_8; // used to be s_unknown5[8]
> // /*0092*/ int16 equipment[9]; // Equipment worn: 0=helm, 1=chest, 2=arm, 3=bracer, 4=hand, 5=leg, 6=boot, 7=melee1, 8=melee2
> // /*0110*/ char name[64]; // Name of spawn (len is 30 or less)
> // /*0174*/ char lastname[20]; // Last Name of player
> // /*0194*/ sint8 guildrank; // ***Placeholder
> // /*0195*/ int8 unknown195[13];
> // /*0208*/ int16 deity; // Deity.
> // /*0210*/ int8 unknown163[3]; // ***Placeholder
> // /*0213*/ int8 haircolor;
> // /*0214*/ int8 beardcolor;
> // /*0215*/ int8 eyecolor1; // the eyecolors always seem to be the same, maybe left and right eye?
> // /*0216*/ int8 eyecolor2;
> // /*0217*/ int8 hairstyle;
> // /*0218*/ int8 title; //Face Overlay? (barbarian only)
> // /*0219*/ int8 luclinface; // and beard
> // } playerstruct;
> //};
> //};
Reply With Quote
  #9  
Old 10-24-2002, 04:00 AM
btuch
Sarnak
 
Join Date: Sep 2002
Posts: 81
Default

thanks, that worked =)
Reply With Quote
  #10  
Old 10-24-2002, 04:04 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

These changes combined with the INET patch, plus the memshare work will make for a heck of a jump in the next linux versions!


Just got my linux box rebuilt, so I'll actually be able to work on the linux version again !
Reply With Quote
  #11  
Old 10-24-2002, 09:34 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Are you compiling with gcc3.2?

Getting a slew of errors when trying to build it...
Reply With Quote
  #12  
Old 10-24-2002, 10:21 AM
flipper
Sarnak
 
Join Date: Jan 2002
Location: California
Posts: 94
Default

Trump,

The gcc-3.2 compilation errors aren't new to the 0.3.10 release. I recently updated my Gentoo system to version 1.4_rc1, which is gcc-3.2 based. I did this to get the most benefit from my Athlon XP processor and it's working great... except for compiling eqemu. Eqemu 0.3.9 also doesn't compile under gcc-3.2 (same exact error msgs).

Somebody with a lot more coding smarts than me would need to overhaul eqemu to get it working under gcc-3.2. This will have to happen at some point if Linux is going to have a future in eqemu. In time gcc-2.9x will fade from existence on modern Linux systems.

==Flipper==
Reply With Quote
  #13  
Old 10-24-2002, 11:15 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Yea, I just put 1.4 on my box.. I had the emu compiling with 3.0.4 but they changed the ABI alot with 3.2, so it will probably take a bit of work to get it running again on newer versions. I do believe a few people have been working on eqemu with updated gcc versions though.
Reply With Quote
  #14  
Old 10-25-2002, 07:37 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

So, I cant compile on that box, it's still using ecgs, and i'm not about to try and figure that one out. That does bring up a good case for upgrading that server though..

I wonder how portable cygwin binaries are... LOL..
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 05:04 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3