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.

can't make eggdrop1.6.15 on newest rls of os x

Old posts that have not been replied to for several years.
Locked
s
scar

can't make eggdrop1.6.15 on newest rls of os x

Post by scar »

i have upgraded to os x 10.3 (panther)/darwin 7.2.0, and now i cannot make eggdrop. i had v1.6.15 working on os x 10.2. i ran "./configure" and "make config" without any problems, now when i run "make" i get these errors:

gcc -pipe -g -O2 -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DSTATIC -DMAKING_MODS -c .././dns.mod/dns.c
In file included from ../dns.mod/dns.c:43:
../dns.mod/coredns.c:163: error: `PACKETSZ' undeclared here (not in a function)
In file included from ../dns.mod/dns.c:43:
../dns.mod/coredns.c: In function `dorequest':
../dns.mod/coredns.c:569: error: `PACKETSZ' undeclared (first use in this function)
../dns.mod/coredns.c:569: error: (Each undeclared identifier is reported only once
../dns.mod/coredns.c:569: error: for each function it appears in.)
../dns.mod/coredns.c:571: error: `QUERY' undeclared (first use in this function)
../dns.mod/coredns.c:571: error: `C_IN' undeclared (first use in this function)
../dns.mod/coredns.c: In function `resendrequest':
../dns.mod/coredns.c:594: error: `T_A' undeclared (first use in this function)
../dns.mod/coredns.c:597: error: `T_PTR' undeclared (first use in this function)
../dns.mod/coredns.c: In function `parserespacket':
../dns.mod/coredns.c:713: error: `NOERROR' undeclared (first use in this function)
../dns.mod/coredns.c:737: error: `MAXDNAME' undeclared (first use in this function)
../dns.mod/coredns.c:756: error: `C_IN' undeclared (first use in this function)
../dns.mod/coredns.c:762: error: `T_PTR' undeclared (first use in this function)
../dns.mod/coredns.c:769: error: `T_A' undeclared (first use in this function)
../dns.mod/coredns.c:871: error: `T_CNAME' undeclared (first use in this function)
../dns.mod/coredns.c:896: error: `NXDOMAIN' undeclared (first use in this function)
../dns.mod/coredns.c: In function `dns_ack':
../dns.mod/coredns.c:927: error: `PACKETSZ' undeclared (first use in this function)
../dns.mod/coredns.c: In function `dns_check_expires':
../dns.mod/coredns.c:973: error: `T_PTR' undeclared (first use in this function)
../dns.mod/coredns.c:982: error: `T_A' undeclared (first use in this function)
../dns.mod/coredns.c: In function `dns_lookup':
../dns.mod/coredns.c:1007: error: `T_PTR' undeclared (first use in this function)
../dns.mod/coredns.c: In function `dns_forward':
../dns.mod/coredns.c:1044: error: `T_A' undeclared (first use in this function)
../dns.mod/dns.c: In function `dns_event_success':
../dns.mod/dns.c:54: error: `T_PTR' undeclared (first use in this function)
../dns.mod/dns.c:57: error: `T_A' undeclared (first use in this function)
../dns.mod/dns.c: In function `dns_event_failure':
../dns.mod/dns.c:68: error: `T_PTR' undeclared (first use in this function)
../dns.mod/dns.c:74: error: `T_A' undeclared (first use in this function)
../dns.mod/coredns.c: At top level:
../dns.mod/coredns.c:163: error: storage size of `resrecvbuf' isn't known
make[2]: *** [../dns.o] Error 1
make[1]: *** [dns.mod_o] Error 2
make: *** [static] Error 2
zira:~/eggdrop1.6.15 scar$
k
kabonka

eggdrop1.6.15 doesnt 'make' on macosX 10.3

Post by kabonka »

hello

i, too, have problems getting eggdrop 1.6.15 to install on macosX 10.3

it may have something to do with the lack of an ident/dns server in Panther?

the whole log is sort of big to just paste here so kindly goto http://t-18-244.athome.tue.nl/~frobaggi ... 1.6.15.txt for details.

the whole thing stops in 'make'
the last lines i get are these:

../dns.mod/dns.c:68: error: `T_PTR' undeclared (first use in this function)
../dns.mod/dns.c:74: error: `T_A' undeclared (first use in this function)
../dns.mod/coredns.c: At top level:
../dns.mod/coredns.c:163: error: storage size of `resrecvbuf' isn't known
make[2]: *** [../dns.o] Error 1
make[1]: *** [dns.mod_o] Error 2
make: *** [static] Error 2
/macosx/eggdrop1.6.15 kabonka$

help would be much appreciated, thanks.
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

i actualy have no idea what the prob could be, but most of the times (iw ould say 90%) the error message "undeclared (first use in this function)" means that a header file is missing. And so the compiler doesn't know what function that is.
k
kabonka

identd server

Post by kabonka »

i've tried this http://www.macosxhints.com/article.php? ... 0513201777

it is a 'fakeidentd' source code but it doesnt do the job.

i use ircle for an irc client and usernames have not been a problem for me.
k
kabonka

Post by kabonka »

i guess you can just 'make iconfig' and skip the dns module, it works fine but im not sure what srt of an impact this will have.

at least its running and on chan
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Could you please do:

Code: Select all

cd /usr/include
grep -r PACKETSZ *
cd /usr/local/include
grep -r PACKETSZ *
and send me the output at wcc@eggheads.org ? The headers required may just have a different name/location/etc. I don't have a macos box to test on. If there is no output from either grep, then the system probably just doesn't have the headers. I know cygwin doesn't by default. In that case, you'll need to download and install bind, most likely. Anyway, let me know what's going on with this and we'll try to have it fixed, or at least document the install process, in 1.6.16.

Wcc[/code]
s
savage

Post by savage »

i changed the following in the file coredns.c (eggdrop 1.6.15):
#include <arpa/nameser.h>
to:
#include <arpa/nameser8_compat.h>

and then it compiles, but then chokes on the linking:

Code: Select all

---------- 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 -ltcl -lm -lpthread -ldl  md5/md5c.o compat/*.o `cat mod/mod.xlibs`
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_res_9_dn_expand
_res_9_init
_res_9_mkquery
make[2]: *** [../eggdrop] Error 1
make[1]: *** [static] Error 2
make: *** [doofus] Error 2

Code: Select all

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.3.2
BuildVersion:   7D24
$ gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1256, based on gcc version 3.1 20021003 (prerelease)
i hope it gets fixed soon :)
E
Eponymous

Post by Eponymous »

SAme problem here with 10.3.2 and attempting to compile with both GCC 2.6 and GCC 3.1.
I'll attempt to post the output here after attempting one more thing, if it's not too lengthy.
Hopefully an updated version or help in the configuration will come soon.
Epon
E
Eponymous

Can't make eggdrop1.6.15 on newest rls of os x (Requested)

Post by Eponymous »

Wcc,
Here's the output from the grep commands you asked to run.
This is a stock build of 10.3 updated to 10.3.2 with full developer tools installed.
Hope this helps.

[h22-229:/usr/include] Polaris% grep -r PACKETSZ *
arpa/nameser.h:#define NS_PACKETSZ 512 /* maximum packet size */
arpa/nameser.h: unsigned char sig[NS_PACKETSZ];
arpa/nameser8_compat.h:#define PACKETSZ 512 /* maximum packet size */
arpa/nameser_compat.h:#define PACKETSZ NS_PACKETSZ
grep: warning: gcc/darwin/2.95.2/g++/std: recursive directory loop
grep: warning: gcc/darwin/default/g++/std: recursive directory loop
nameser.h:#define NS_PACKETSZ 512 /* maximum packet size */
nameser.h: unsigned char sig[NS_PACKETSZ];
nameser8_compat.h:#define PACKETSZ 512 /* maximum packet size */
[h22-229:/usr/include] Polaris% cd /usr/local/include
tcsh: /usr/local/include: No such file or directory.
[h22-229:/usr/include] Polaris% cd ..
[h22-229:/usr] Polaris% cd local
[h22-229:/usr/local] Polaris% ls
lib vscanx
[
j
jotham
Voice
Posts: 3
Joined: Tue Nov 30, 2004 8:05 pm
Location: New Zealand

Post by jotham »

Hi, I got eggdrop 1.6.17 to compile for MacOSX 10.3, i wrote up a little tutorial for doing it here:

http://202.0.55.123/~jotham/Archive/Com ... acOSX.html

good luck
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

Use make iconfig and disable DNS module.
Que?
Locked