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.

cygwin, eggdrop, eggdrop1.6.15 compilation errors

Old posts that have not been replied to for several years.
Locked
j
jagdish

cygwin, eggdrop, eggdrop1.6.15 compilation errors

Post by jagdish »

inet_ntop.c: In function `egg_inet_ntop':
inet_ntop.c:83: error: `AF_INET6' undeclared (first use in this function)
inet_ntop.c:83: error: (Each undeclared identifier is reported only once
inet_ntop.c:83: error: for each function it appears in.)
make[2]: *** [inet_ntop.o] Error 1
make[2]: Leaving directory `/cygdrive/e/cygwin/home/jagdishb/eggdrop1.6.15/src
ompat'
make[1]: *** [compatability] Error 2

- i get the above error.. but compiling .13 version works fine
- grateful for any help
Many Thanks
Jagdish
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

There's a patch to fix this on the eggdrop files page of egghelp.org.
s
sw

Post by sw »

There's a file in your eggDrop\src\compat directory called: inet_ntop.c.

You need to edit this, by going to the egg_inet_ntop(af, src, dst, size) function, and replace it with:

egg_inet_ntop(af, src, dst, size)
int af;
const void *src;
char *dst;
socklen_t size;
{
switch (af) {
/*
case AF_INET:
return (egg_inet_ntop4(src, dst, size));
case AF_INET6:
return (egg_inet_ntop6(src, dst, size));
*/
default:
return (egg_inet_ntop4(src, dst, size));
/*
return (NULL);
*/
}
/* NOTREACHED */
}

This effectively shuts off INET6, and sets your config to INET4 by default.

I don't think cygwin supports INET6 yet...although you're probably better off going to the page Wcc mentioned.

Good luck!
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Hm cygwin, isnt this at windrop ?
User avatar
FiRe
Voice
Posts: 18
Joined: Mon Jan 19, 2004 6:40 am

Post by FiRe »

No, Windrop is a Win32 compiled eggdrop, an eggdrop on Cygwin (Linux on Win32) is still an eggdrop
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Windrop and "Eggdrop compiled using Cygwin" are one and the same.

Hence why there is a windrop program over at http://windrop.sf.net/ where cygwin has always been used.
Locked