Hey, just wanted ya to know I downloaded and installed the Dns slave code from smaugmuds.org and was just wondering if there is a reason for another definition of the main() function in resolver.c? In SMAUG 1.4a there's already a main() function in comm.c and I just wanted to know if there is a way to either A: rename the resolver.c main() function without causing problems, since it won't compile if two functions have the same name, or B: modify the main() function in comm.c to include the code in resolver.c instead, again without causing problems . I did try renaming the one in resolver.c to dns_main but the compiler has a problem with making the dns program with that function in resolver.c renamed:
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
I'm on a hosted server so I don't have any access to the libs that I'm aware of. Any help on this would be greatly appriciated.
I'm running Red Hat Linux release 6.2 (Zoot)
Kernel 2.2.14-5.0 on an i686 if that's any help