running ackfuss on cygwin?

Problems with startup? General Admin issues? Look no further.
Post Reply
dhruv
Posts: 1
Joined: Sat Oct 13, 2012 9:35 pm

running ackfuss on cygwin?

Post by dhruv » Sat Oct 13, 2012 11:20 pm

hi,
I know this has been discussed before, but I would like very much to run ackfuss on cygwin.
when I do make ack, it gives me this:
~/ackfuss/src
Compiling enchant.o ...
act_mob.c: In function `void gain_level(CHAR_DATA*)':
act_mob.c:109:41: warning: operation on `ch->char_data::level' may be undefined
Compiling help.o ...
Compiling areasave.o ...
Compiling wizutil.o ...
Compiling build.o ...
Compiling board.o ...
Compiling quest.o ...
Compiling mudinfo.o ...
Compiling fight.o ...
Compiling act_clan.o ...
Compiling buildare.o ...
Compiling scheck.o ...
Compiling db.o ...
Compiling comm.o ...
comm.c: In function `void* lookup_address(void*)':
comm.c:587:86: error: `gethostbyaddr_r' was not declared in this scope
ent in function returning non-voidcomm.c:601:1: warning: no return statem
Makefile:73: recipe for target `o/comm.o' failed
make: *** [o/comm.o] Error 1
make: *** Waiting for unfinished jobs....
dhruv@ram ~/ackfuss/src
$
can someone help me?

User avatar
Kline
Site Admin
Posts: 122
Joined: Mon Oct 18, 2010 9:23 pm
Location: Illinois

Re: running ackfuss on cygwin?

Post by Kline » Wed Oct 17, 2012 7:44 pm

You can try changing gethostbyaddr_r to the non-threadsafe version, gethostbyaddr. I'm not sure how it will fare stability wise as I've never attempted it, but replace the error'ed line of comm.c:587 with the following instead:

Code: Select all

gethostbyaddr( ld->buf, sizeof(ld->buf), AF_INET );

Post Reply