Please help support TMC by visiting our sponsor

Member Discussions

terms


It's Not Just a Game |------[ http://www.retromud.org ]------| It's an ATTITUDE
6 Planets. 60 Races. 1,000 Skills & Spells. Infinite Possibilities.


[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]


1. ROT -Paradox MUD Startup Error Mon Jul 21, 2008 [9:16 PM]
Krowten
Email not supplied
member since: Jun 17, 2004
Reply
Hi im trying to start my paradox mud back up NightWar. Each time I try to make I get these errors. If anyone can help me that would be great.

Thanks

gcc -c -LCRYPT -Wall -O -g -DNOCRYPT act_comm.c
In file included from act_comm.c:44:
merc.h:3105: error: array type has incomplete element type
merc.h:3106: error: array type has incomplete element type
merc.h:3107: error: array type has incomplete element type
merc.h:3108: error: array type has incomplete element type
merc.h:3109: error: array type has incomplete element type
merc.h:3110: error: array type has incomplete element type
merc.h:3111: error: array type has incomplete element type
merc.h:3112: error: array type has incomplete element type
merc.h:3113: error: array type has incomplete element type
merc.h:3114: error: array type has incomplete element type
merc.h:3115: error: array type has incomplete element type
merc.h:3116: error: array type has incomplete element type
merc.h:3117: error: array type has incomplete element type
merc.h:3118: error: array type has incomplete element type
merc.h:3119: error: array type has incomplete element type
merc.h:3123: error: array type has incomplete element type
merc.h:3124: error: array type has incomplete element type
merc.h:3125: error: array type has incomplete element type
merc.h:3126: error: array type has incomplete element type
merc.h:3127: error: array type has incomplete element type
merc.h:3128: error: array type has incomplete element type
merc.h:3129: error: array type has incomplete element type
merc.h:3130: error: array type has incomplete element type
merc.h:3131: error: array type has incomplete element type
merc.h:3132: error: array type has incomplete element type
merc.h:3133: error: array type has incomplete element type
merc.h:3134: error: array type has incomplete element type
merc.h:3135: error: array type has incomplete element type
In file included from act_comm.c:46:
tables.h:36: error: array type has incomplete element type
tables.h:37: error: array type has incomplete element type
tables.h:38: error: array type has incomplete element type
tables.h:39: error: array type has incomplete element type
tables.h:42: error: array type has incomplete element type
tables.h:43: error: array type has incomplete element type
tables.h:44: error: array type has incomplete element type
tables.h:45: error: array type has incomplete element type
tables.h:46: error: array type has incomplete element type
tables.h:47: error: array type has incomplete element type
tables.h:48: error: array type has incomplete element type
tables.h:49: error: array type has incomplete element type
tables.h:50: error: array type has incomplete element type
tables.h:51: error: array type has incomplete element type
tables.h:52: error: array type has incomplete element type
tables.h:53: error: array type has incomplete element type
tables.h:54: error: array type has incomplete element type
tables.h:55: error: array type has incomplete element type
tables.h:56: error: array type has incomplete element type
tables.h:57: error: array type has incomplete element type
tables.h:58: error: array type has incomplete element type
tables.h:59: error: array type has incomplete element type
tables.h:60: error: array type has incomplete element type
tables.h:61: error: array type has incomplete element type
tables.h:62: error: array type has incomplete element type
tables.h:63: error: array type has incomplete element type
make: *** [act_comm.o] Error 1
~Krowten(c) The Backwords Network (t) ...
Come in and play!!!
PARADOX MUD FEEN


2. RE: ROT -Paradox MUD Startup Error Mon Jul 21, 2008 [11:20 PM]
Drizzt1216
fizban@tbamud.com
member since: Aug 12, 2005
In Reply To
Reply
Without the lines that are resulting in those errors we're really not likely to be any more help than a Google search for that error message would be.
"Are you tired of MUDs made for money cluttering your searches for free games?" http://mudquest.org


3. RE: ROT -Paradox MUD Startup Error Mon Jul 21, 2008 [11:34 PM]
slackjaw
Email not supplied
member since: Jun 10, 2008
In Reply To
Reply
I got this as well. I had to move around those files from tables to merc, and delete a couple merc files I believe.


4. RE: ROT -Paradox MUD Startup Error Tue Jul 22, 2008 [12:19 AM]
Tyche
Email not supplied
member since: Apr 4, 2000
In Reply To
Reply
gcc 4.x tightened up some C rules. The following used to work...

extern  const struct  my_type my_array[];
 
struct my_type
{
    char * a;
    int b;
};


You now need to make sure the type is visible before using it in an array declaration like so...


struct my_type
{
    char * a;
    int b;
};

extern  const struct  my_type my_array[];

The Sourcery - http://sourcery.dyndns.org
TeensyMud - http://teensymud.kicks-ass.org
"A man can receive nothing, except it be given him from heaven."


5. RE: ROT -Paradox MUD Startup Error Thanks Tue Jul 22, 2008 [6:20 PM]
Krowten
Email not supplied
member since: Jun 17, 2004
In Reply To
Reply
Thanks that worked great. Except I had to take the declaration of type_flag from tables.c and mix it in with the type_bit in merc.h. Besides that it went great. Thanks again
~Krowten(c) The Backwords Network (t) ...
Come in and play!!!
PARADOX MUD FEEN


It's Not Just a Game |------[ http://www.retromud.org ]------| It's an ATTITUDE
6 Planets. 60 Races. 1,000 Skills & Spells. Infinite Possibilities.