egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Linker error on MacOS

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
mepex
Voice


Joined: 14 May 2011
Posts: 2

PostPosted: Sat May 14, 2011 5:04 pm    Post subject: Linker error on MacOS Reply with quote

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

---------- 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.
Back to top
View user's profile Send private message
pseudo
Halfop


Joined: 23 Nov 2009
Posts: 88
Location: Bulgaria

PostPosted: Sat May 14, 2011 5:20 pm    Post subject: Reply with quote

This problem is fixed in cvs. Try eggdrop 1.8: http://www.eggheads.org/devel/
Back to top
View user's profile Send private message Visit poster's website
mepex
Voice


Joined: 14 May 2011
Posts: 2

PostPosted: Sat May 14, 2011 5:49 pm    Post subject: Reply with quote

Thanks! Works great now!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber