This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Linker error on MacOS

General support and discussion of Eggdrop bots.
Post Reply
m
mepex
Voice
Posts: 2
Joined: Sat May 14, 2011 5:02 pm

Linker error on MacOS

Post by mepex »

Intel iMac, 10.6.7 version of OSX. I get this linker error:

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
Any ideas how I can fix this? I ran the configure script with no special command-line arguments.
p
pseudo
Halfop
Posts: 88
Joined: Mon Nov 23, 2009 4:52 am
Location: Bulgaria
Contact:

Post by pseudo »

This problem is fixed in cvs. Try eggdrop 1.8: http://www.eggheads.org/devel/
m
mepex
Voice
Posts: 2
Joined: Sat May 14, 2011 5:02 pm

Post by mepex »

Thanks! Works great now!
Post Reply