So I can do a ./configure, make config, but once I do make it comes up with this error. I did have a backup of my eggdrop bot's directory from before I formatted and I just copied it into my home directory and it starts right up and logs onto IRC. I'd just like to be able to trouble shoot/learn/understand how to make this install work properly if I wanted to install a newer version or something. I have seen people talk about this error in forums but I've never seen a solution that fixes it. I'm pretty sure I must not have something installed properly or something, I'm not sure though?
\Robert-Makelas-Mac-mini:eggdrop1.6.18 eggdrop$ make
Making module objects for static linking...
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
make[2]: Nothing to be done for `static'.
Building static.h...
................ done.
Making core eggdrop for static linking...
This may take a while. Go get some runts.
make[2]: Nothing to be done for `md5'.
make[2]: Nothing to be done for `compat'.
---------- Yeah! That's the compiling, now the linking! ----------
Linking eggdrop (static version).
gcc -pipe -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o userrec.o users.o mod/*.o -L/usr/lib -ltcl8.5 -lm -ldl md5/md5c.o compat/*.o `cat mod/mod.xlibs`
Undefined symbols:
"_res_9_mkquery", referenced from:
_dorequest in dns.o
"_res_9_init", referenced from:
_dns_start in dns.o
"_res_9_dn_expand", referenced from:
_dns_socket in dns.o
_dns_socket in dns.o
_dns_socket in dns.o
_dns_socket in dns.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [../eggdrop] Error 1
make: *** [static] Error 2
Robert-Makelas-Mac-mini:eggdrop1.6.18 eggdrop$
You'll have to add -lresolv to the link command.
Edit Makefile and locate the line starting with XLIBS=
Add " -lresolv" (without the quotes) to the end of the line, and then run make again.
Ahh, thank you so much. As soon as I get home today I am going to try that out. I didn't realize that this website had a user forum, I've been trying to so long to find help but I haven't found anyone that knows about eggdrop yet. I'll let you know if I got it to work. Thanks again.
That's odd...
the -lresolv should've been added to the commandline. What you could try, is to cd to the src directory, and manually type that command adding the -lresolv to the end of the commandline.
Ok...I typed that into my eggdrop directory and I get:
eggdrop:eggdrop1.6.19 eggdrop$ gcc -pipe -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o userrec.o users.o mod/*.o -L/usr/local/lib -ltcl8.5 -lm -ldl -lresolv md5/md5c.o compat/*.o `cat mod/mod.xlibs`
cat: mod/mod.xlibs: No such file or directory
i686-apple-darwin10-gcc-4.2.1: bg.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: botcmd.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: botmsg.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: botnet.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: chanprog.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: cmds.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: dcc.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: dccutil.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: dns.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: flags.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: language.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: match.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: main.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: mem.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: misc.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: misc_file.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: modules.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: net.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: rfc1459.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: tcl.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: tcldcc.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: tclhash.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: tclmisc.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: tcluser.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: userent.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: userrec.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: users.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: mod/*.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: md5/md5c.o: No such file or directory
i686-apple-darwin10-gcc-4.2.1: compat/*.o: No such file or directory