SWRip compiled using Cygwin

Posted by EOTB on Sat 22 Dec 2001 05:27 AM — 3 posts, 14,689 views.

#0
I've read the other threads taking about SWR problems and the solutions (and I have made appropriate changes/fixes), but I keep having a problem once the compiler begind to link. Here is my output.

$ make
make swrip
make[1]: Entering directory '/cygdrive/c/cygwin/home/wayne/swrip/src'
rm -f swrip
gcc -p -lcrypt -o swrip act_comm.o act_info.o act_move.o act_obj.o act_wiz.o boards.o build.o clans.o comm.o commemts.o const.o db.o fight.o handler.o hashstr.o id.o interp.o magic.o makeobjs.o misc.o mud_comm.o mud_prog.o newarena.o player.o requests.o reset.o save.o shops.o skills.o special.o tables.o track.o update.o space.o space2.o bounty.o swskills.o alias.o grub.o mapper.o -lm
make[1]: *** [swrip] Error 1
make[1]: Leaving directory '/cygdrive/c/cygwin/home/wayne/swrip/src'
make: *** [all} Error 2


I've tried everything I can think of including reinstalling cygwin and I followed every tip to the letter that has been given in previous threads. Please help.

Thanks
Australia Forum Administrator #1
Is this the exact error message, copied and pasted from the Cygwin window? It seems to lack the actual error reason. Also, there is a brace where I would have expected a square bracket:


make/[1/]: *** [swrip] Error 1
make/[1/]: Leaving directory '/cygdrive/c/cygwin/home/wayne/swrip/src'
make: *** /[all} Error 2
#2
I tried compiling the SWRIP code with Cygwin and got it all the way to save.c,where it got hung up on this:

save.c:2190: warning: implicit declaration of function `closedir'
save.c: In function `load_storerooms':
save.c:2197: `DIR' undeclared (first use in this function)
save.c:2197: `dp' undeclared (first use in this function)
save.c:2197: warning: statement with no effect
save.c:2198: parse error before `struct'
save.c:2211: `falling' undeclared (first use in this function)
save.c:2212: `de' undeclared (first use in this function)
save.c:2221: `strArea' undeclared (first use in this function)
save.c:2223: `fpArea' undeclared (first use in this function)
save.c:2241: `buf' undeclared (first use in this function)
save.c: In function `load_vendors':
save.c:2347: `fpArea' used prior to declaration
save.c:2348: `strArea' used prior to declaration
save.c:2349: `falling' used prior to declaration
save.c:2351: `dp' undeclared (first use in this function)
save.c:2359: warning: assignment makes pointer from integer without a cast
save.c:2361: dereferencing pointer to incomplete type
save.c:2363: dereferencing pointer to incomplete type
make[1]: *** [save.o] Error 1
make[1]: Leaving directory `/swrip/src'
make: *** [all] Error 2

There was a little bit more above what i pasted,but i can't scroll up or anything to get the rest.I tried putting comment slashes before problem spots,but no help on that.