error while compiling after new snippet

Posted by Thyris on Wed 04 Jun 2003 08:34 PM — 2 posts, 12,485 views.

#0
I don't know a whole lot about C, but I do know I followed the snippets instructions correctly. It was a patch and since I have a modified version of SMAUG I did the patch manually.
While comiling after this I get these errors:

$ make
make -s smaug
SMAUG1.4a R4 now compiling... o/act_info.o
act_info.c: In function `do_config':
act_info.c:3908: `PLR_PRIVMSG' undeclared (first use in this function)
act_info.c:3908: (Each undeclared identifier is reported only once
act_info.c:3908: for each function it appears in.)
act_info.c: In function `do_whois':
act_info.c:4561: warning: implicit declaration of function `IS_IRC_DESC'
act_info.c:4562: warning: implicit declaration of function `IS_DCC_DESC'
act_info.c:4563: warning: implicit declaration of function `IS_TELNET_DESC'
act_info.c:4564: structure has no member named `nick_data'
act_info.c:4566: structure has no member named `nick_data'
act_info.c:4568: structure has no member named `nick_data'
act_info.c:4569: `MODE_LOGIN' undeclared (first use in this function)
act_info.c:4570: `MODE_SLOGIN' undeclared (first use in this function)
act_info.c:4571: `MODE_DCC' undeclared (first use in this function)
make[1]: *** [o/act_info.o] Error 1
make: *** [all] Error 2


Can anyone help?
#1
umm...oops. This isn't a PennMUSH question...and I think I've fixed it...

My error, so that others may know and not do it themselves. I was editing from the patch all these .c things and also of course mud.h...Welll I saved mud.h as mud.c and the mud.h was stuck on the original. Silly me :)