Code: Select all
---------- Yeah! That's the compiling, now the linking! ----------
Linking eggdrop (static version).
gcc -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 -lpthread md5/md5c.o compat/*.o `cat mod/mod.xlibs`
Undefined symbols for architecture x86_64:
"_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
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [../eggdrop] Error 1
make: *** [static] Error 2