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?
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?