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: Compiling using Cygwin (Undefined reference problem)
|
SWRiP: Compiling using Cygwin (Undefined reference problem)
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2
| Posted by
| Nekekami
United Kingdom (10 posts) Bio
|
| Date
| Reply #15 on Sat 07 Jan 2006 09:46 AM (UTC) Amended on Sat 07 Jan 2006 09:47 AM (UTC) by Nekekami
|
| Message
| This might help, I realised that the Makefile i posted wasn't actually the one i was using. Sorry for the confusion, I can edited by first post with the actual makefile.
The source was downloaded from swrip.net and is actually just a slightly modified SWR RiP 2.0.
-Nek | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #16 on Sat 07 Jan 2006 06:48 PM (UTC) |
| Message
| Did you already correct a bunch of errors? This is what I'm getting when trying to compile on Cygwin:
act_move.c: In function `ROOM_INDEX_DATA* generate_exit(ROOM_INDEX_DATA*, EXIT_D
ATA**)':
act_move.c:604: error: ISO C++ forbids cast to non-reference type used as lvalue
And that is besides the crypt errors. SWRiP doesn't seem like a good source that supports Cygwin. I see no Cygwin flags or nocrypt toggles in the Makefile. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Samson
USA (683 posts) Bio
|
| Date
| Reply #17 on Sun 08 Jan 2006 01:58 AM (UTC) |
| Message
| You don't need nocrypt toggles to support Cygwin. Just install the crypt library and make sure any files that bark about crypt() being undefined are including crypt.h.
The act_move.c error is an older bug found in Smaug and would complain with the linux version as well, so that's not a Cygwin issue.
The line
(EXIT_DATA *) pexit = xit;
should become:
I'm sure there are other minor things to fix but most of these will be universal in nature. | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #18 on Sun 08 Jan 2006 02:08 AM (UTC) |
| Message
| Oh that error. It was a warning in gcc, so I didn't know it was the same.
The crypt lib? I installed everything that came with Cygwin. Is it not included? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Samson
USA (683 posts) Bio
|
| Date
| Reply #19 on Mon 09 Jan 2006 01:05 AM (UTC) |
| Message
| | In a default install, no. But if you told it to install all of the packages, then you should have it and have no problems with making use of it. | | 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.
75,149 views.
This is page 2, subject is 2 pages long:
1
2
It is now over 60 days since the last post. This thread is closed.
Refresh page
top