Eggheads: [Fwd: Re: Eggdev: Re: Compile error for 1.6.17 on Darwin OS -- FIX]

Will Buckner wcc at techmonkeys.org
Mon Feb 20 18:41:07 CST 2006


-------- Original Message --------
Subject: Re: Eggdev: Re: Compile error for 1.6.17 on Darwin OS -- FIX
Date: Sat, 18 Feb 2006 16:54:45 -0500
From: Will Buckner <wcc at techmonkeys.org>
Reply-To: Eggdrop Development List <eggdev at eggheads.org>
To: Eggdrop Development List <eggdev at eggheads.org>
References: <c1feb8190602121503n79ba3128wc57e7b28d22aa85 at mail.gmail.com> 
<c1feb8190602121539q4ccebfc9j968f136573fe0d12 at mail.gmail.com>

Weird... So the -framework CoreFoundation fixes it?

I think we already fixed this error another way in 1.6.18 CVS by defining
BIND_8_COMPAT on Darwin / Mac OS X.

-Will

Jeff Quast wrote:
> in Makefile, change:
> 
> LD = gcc -pipe -framework CoreFoundation
> 
> and
> 
> XLIBS = /tmp/tcl8.4.12/unix/libtcl8.4.a -lm -lpthread -ldl -lresolv
> 
> I would make a patch if I could, but I'm on somebody else's system to
> help him compile eggdrop for a limited time, I do not have an account
> on a darwin machine.
> 
> Linking eggdrop (static version).
> 
> gcc -pipe -framework CoreFoundation -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 /tmp/tcl8.4.12/unix/libtcl8...4.a
> -lm -lpthread -ldl -lresolv md5/md5c.o compat/*.o `cat mod/mod.xlibs`
> touch ../eggdrop
> 
> Successful compile: eggdrop
> 
> 
> Test run of ./eggdrop -v:
> Eggdrop v1.6.17 (C) 1997 Robey Pointer (C) 2004 Eggheads
> 
> Eggdrop successfully compiled:
> -rwxr-xr-x   1 trev  wheel  2339288 Feb 12 18:38 eggdrop
> 
> 
> Now run "make install" to install your bot.
> 
> 
> We'll see if its stable ;p
> 
> 
> On 2/12/06, Jeff Quast <af.dingo at gmail.com> wrote:
>> I came across this same problem,
>>
>> http://www.eggheads.org/pipermail/bugs/2005-January/000802.html
>>
>> and found a fix for it, add:
>>
>> #include <arpa/nameser_compat.h>
>>
>> to src/mod/dns.mod/coredns.c
>>
>> Now I'm at:
>>
>> Linking eggdrop (static debug version).
>>
>> gcc -pipe -g -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 mo
>> dules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o u
>> serrec.o users.o mod/*.o -L/usr/lib -ltcl8.4 -lm -lpthread -ldl  md5/md5c...o comp
>> at/*.o `cat mod/mod.xlibs`
>> /usr/bin/ld: Undefined symbols:
>> _res_9_dn_expand
>> _res_9_init
>> _res_9_mkquery
>> collect2: ld returned 1 exit status
>> make[1]: *** [../eggdrop] Error 1
>> make: *** [sdebug] Error 2
>>
> 




More information about the Eggheads mailing list