Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 parse description bug
Today, 9:00 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, DotBot

Members: 0
Guests: 18
Stats
Files
Topics
Posts
Members
Newest Member
477
3,706
19,237
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Compile errors under Mandrake...
Forum Rules | Mark all | Recent Posts

Compile errors under Mandrake 8.2
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Apr 22, 2002, 4:00 am
Go to the top of the page
Go to the bottom of the page

DarkAngel

GroupMembers
Posts9
JoinedApr 22, 2002

Compiling under Mandrake 8.2 gives a warning: declaration of 'index' shadows global delaclaration in /usr/include/bfd.h In file included from mud.h:34 from .c
       
Post is unread #2 Apr 22, 2002, 4:28 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Hmm. No idea. Would help some if the .c file that generated this was also listed. Without a bit more detail on this, we can't look into a possible cause. Would need to know what version of GCC your using for this. Also it should be noted that Mandrake 8.2 was JUST released not that long ago and will no doubt have a few problems. You might want to try the 8.1 suggestion for BFD support and see if that helps.
       
Post is unread #3 Apr 22, 2002, 5:51 am
Go to the top of the page
Go to the bottom of the page

DarkAngel

GroupMembers
Posts9
JoinedApr 22, 2002

Ill post the code that gives the error... but at the moment i found another problem under mandrake 8.2
compiling atc_comm.c and channels.c gives me this error:

act.comm.c:460 parse error before 'char'
(that line is char log_buf2[MAX_STRING_LENGTH]

and then the usual error that log_buf2 is undeclared;
i solved this problem moving the declaration at the beginning of the functions:
for act_comm.c

void do_say( CHAR_DATA *ch, char *argument )
{
char buf[MAX_STRING_LENGTH];
char log_buf2[MAX_STRING_LENGTH];
CHAR_DATA *vch;
.....

the same for channels.c
       
Post is unread #4 Apr 22, 2002, 5:55 am
Go to the top of the page
Go to the bottom of the page

DarkAngel

GroupMembers
Posts9
JoinedApr 22, 2002

My gcc is from a Mandrake 8.1 updated to 8.2
gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)

the include error comes from /usr/invlude/bfd.h in line 3430
the line is

bfd_alt_mach_code PARAMS (bfd *abfd, int index));
       
Post is unread #5 Apr 22, 2002, 6:22 am
Go to the top of the page
Go to the bottom of the page

Tarl

GroupAFKMud Team
Posts26
JoinedJan 1, 2002

Well, here at Alsherok, we compile using GCC 3 so updating to that might help, if you are willing to do that.
       
Post is unread #6 Apr 22, 2002, 6:27 am
Go to the top of the page
Go to the bottom of the page

DarkAngel

GroupMembers
Posts9
JoinedApr 22, 2002

ok.. i'll look at upgrading gcc.

now i have a question about "balancing"...
one of my friend is testing the stock mud you released, with a monk/insectoid...

it seems that is a monstruos combination...
is the same class/race combo you have in your mud? or is it different?
       
Post is unread #7 Apr 22, 2002, 6:47 am
Go to the top of the page
Go to the bottom of the page

DarkAngel

GroupMembers
Posts9
JoinedApr 22, 2002

ehm.. another little question
is it possible to make class and races totally online? or i have to make also modifications in .c and .h files?
       
Post is unread #8 Apr 22, 2002, 6:49 am
Go to the top of the page
Go to the bottom of the page

Guest - (Unregistered)

Well, here at Alsherok, we compile using GCC 3 so updating to that might help, if you are willing to do that.

FYI: gcc3 and upwards seems to follow the nasty rule of allowing you to declare variables in the middle of scope rather than at the top, which imo is evil... Sometimes it may simply be a programming structural difference causing probs between gcc2 and gcc3 (although I don't know of any others from the fact you can declare variables mid-scope).
       
Post is unread #9 Apr 22, 2002, 6:55 am
Go to the top of the page
Go to the bottom of the page

DarkAngel

GroupMembers
Posts9
JoinedApr 22, 2002

yep...

i think it's better that alsherok team moves that declarations to the top of the function before next patch
       
Post is unread #10 Apr 22, 2002, 11:23 am
Go to the top of the page
Go to the bottom of the page

Dwip
Dementius Rabbitus
GroupAdministrators
Posts55
JoinedJan 1, 2002

About the insectoid monk balancing thing...

The monk class has, at various times, been insanely overpowered, and a lot of effort has gone into fixing that. Frex, they had utterly insane barehand damage for a while, which should now be fixed. And some of the truely insane skills are either powered down or are gone entirely.

I personally have a 60th level insectoid monk character on Alsherok, who at the current moment is pretty much rightly balanced for the way Alsherok does things. Since I have no idea about your areas, etc, I can't comment too much, but if you're going to rebalance, I'd start by giving monks a fairly poor selection of eq, followed up by a look at the barehand damage (can't remember where that is off top of my head), along with a check of some of the higher level skills, such as enlightentment.
       
Post is unread #11 Apr 22, 2002, 1:58 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

My gcc is from a Mandrake 8.1 updated to 8.2
gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)

the include error comes from /usr/invlude/bfd.h in line 3430
the line is

bfd_alt_mach_code PARAMS (bfd *abfd, int index));

Ok. The BFD problem is usually solved by using GCC3. If you can get that installed, you should be golden. As for the declarations, those are being moved up and will be fixed with the next patch, whenever that may be.
       
Post is unread #12 Apr 23, 2002, 2:04 am
Go to the top of the page
Go to the bottom of the page

DarkAngel

GroupMembers
Posts9
JoinedApr 22, 2002

Since I have no idea about your areas, etc, I can't comment too much, but if you're going to rebalance, I'd start by giving monks a fairly poor selection of eq, followed up by a look at the barehand damage (can't remember where that is off top of my head), along with a check of some of the higher level skills, such as enlightentment.

I'm using no areas other than the few ones in the distribution.
I'm going to make a mud in the italian language, and at the moment i'm alone knowing a little of english, and i'm focusing on coding. So, to have some other areas, i gave a look to some areas from the site that contains many areas for the smaug... but i found them poorly done and greatly unbalanced.

Now i'm posting a question i asked before without any reply.
What i have to do to build new races? I created one online, but it does not show up in the selection screen when creating a new char.
       
Post is unread #13 Apr 24, 2002, 9:19 am
Go to the top of the page
Go to the bottom of the page

Dwip
Dementius Rabbitus
GroupAdministrators
Posts55
JoinedJan 1, 2002

Ah, ok. You gotta figure that the stock areas with mobs are like, what, Bywater? Stock pretty much anything past 10th can take on Bywater pretty effectively.

As for the other, I do know there's some code stuff involved, but I'm not entirely sure what that is. I'm afraid Samson will have to answer that one for you.
       
Pages:<< prev 1 next >>