Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Compiling the server ➜ SWRip compiled using Cygwin

SWRip compiled using Cygwin

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by EOTB   (1 post)  Bio
Date Sat 22 Dec 2001 05:27 AM (UTC)
Message
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
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 25 Dec 2001 11:45 PM (UTC)
Message
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

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Liltoflm   (22 posts)  Bio
Date Reply #2 on Wed 26 Dec 2001 03:09 AM (UTC)
Message
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.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


13,987 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.