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.

Trouble compling bot.

Old posts that have not been replied to for several years.
Locked
M
Magus`

Trouble compling bot.

Post by Magus` »

I've compiled an EggDrop before (v1.6.13) and decided to compile it again.

I'm using v1.6.15 and compiling it using Cygwin (in Windows XP). This is the same setup as before, outside the fact that the files in Cygwin might be newer.

Anyhow, all goes well until I use the make command. I get this:

$ make
make[1]: Entering directory `/cygdrive/d/eggdrop/eggdrop1.6.15/src'
(This may take a while. Go get some runts.)
make[2]: Entering directory `/cygdrive/d/eggdrop/eggdrop1.6.15/src/md5'
make[2]: Nothing to be done for `md5'.
make[2]: Leaving directory `/cygdrive/d/eggdrop/eggdrop1.6.15/src/md5'
make[2]: Entering directory `/cygdrive/d/eggdrop/eggdrop1.6.15/src/compat'
gcc -pipe -mwin32 -g -O2 -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c inet_n
top.c
inet_ntop.c: In function `egg_inet_ntop':
inet_ntop.c:83: `AF_INET6' undeclared (first use in this function)
inet_ntop.c:83: (Each undeclared identifier is reported only once
inet_ntop.c:83: for each function it appears in.)
make[2]: *** [inet_ntop.o] Error 1
make[2]: Leaving directory `/cygdrive/d/eggdrop/eggdrop1.6.15/src/compat'
make[1]: *** [compatability] Error 2
make[1]: Leaving directory `/cygdrive/d/eggdrop/eggdrop1.6.15/src'
make: *** [modegg] Error 2

Any ideas?
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

open the file compat/inet_net.c and go to row 83, there you got two lines

Code: Select all

	case AF_INET6:
		return (egg_inet_ntop6(src, dst, size));
comment those two lines out by putting // in front op them.

That's it. I had the same prob.
I'm not shure but i suppose it has to do with the ipv6 support missing in cygwin or something like that. But that's just a guess :-)
Locked