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 Make error
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1 2
3
4
5
6
Posted by
| JamesTalon
Canada (15 posts) Bio
|
Date
| Wed 01 Nov 2006 12:09 AM (UTC) |
Message
| Alrighty, so, I am attempting to convert my laptop to a linux mud server, and I'm using the SWRiP code (1.1 or so), and after figuring out why make wouldn't work on it (didn't have the GCC stuff installed), I've managed to get it to work partially.
However, after trying the make command again, it made it to act_move.c, where it displayed the following:
Quote:
gcc -c -g3 -Wall -DREQUESTS act_move.c
act_move.c: In function 'generate_exit':
act_move.c:606: error: invalid lvalue in assignment
make[1]: *** [act_move.o] Error 1
make[1]: Leaving directory '/home/James/Desktop/releaserip/src'
make: *** [all] Error 2
I would attach a copy of the file, but I don't know how, so if you think you can help, I can send you a copy of it.
Thanks in advance. | Top |
|
Posted by
| Kiasyn Kelle
(15 posts) Bio
|
Date
| Reply #1 on Wed 01 Nov 2006 12:16 AM (UTC) |
Message
| all we need to know is what line 606 in act_move.c looks like | Top |
|
Posted by
| JamesTalon
Canada (15 posts) Bio
|
Date
| Reply #2 on Wed 01 Nov 2006 12:28 AM (UTC) |
Message
| (EXIT_DATA *) pexit = xit;
Thats line 606 in act_move.c | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #3 on Wed 01 Nov 2006 01:13 AM (UTC) |
Message
| That should be a warning, I think.
Look into how FUSS fixed it, I'm sure that was fixed. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| JamesTalon
Canada (15 posts) Bio
|
Date
| Reply #4 on Wed 01 Nov 2006 03:08 AM (UTC) |
Message
| I got it fixed, thanks. I had to remove the stuff in the brackets and place an * before the pexit. Now, I gotta figure out which code I want to base my mud off of. So far, it may be FotE. | Top |
|
Posted by
| Phobos
(79 posts) Bio
|
Date
| Reply #5 on Mon 29 Oct 2007 05:02 AM (UTC) |
Message
| This * before pexit did not help
I'm compiling in cygwin and it won't let me copy and paste but the message did not change and it continues to give me the same message | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #6 on Mon 29 Oct 2007 05:06 AM (UTC) |
Message
| Cygwin will let you copy-paste. Use Mark, and then select the text.
What did you change the line to? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Phobos
(79 posts) Bio
|
Date
| Reply #7 on Mon 29 Oct 2007 05:21 AM (UTC) |
Message
| I dont understand what you are saying ive tried to highlight copy ive tried to control and use the arrow keys to copy so could ya give me instructions on how to copy...sry for being so uneducated but the only way i will learn is to ask questions
| Top |
|
Posted by
| Phobos
(79 posts) Bio
|
Date
| Reply #8 on Mon 29 Oct 2007 05:22 AM (UTC) |
Message
| nevermind i got it...lol that was simple | Top |
|
Posted by
| Phobos
(79 posts) Bio
|
Date
| Reply #9 on Mon 29 Oct 2007 05:25 AM (UTC) |
Message
| make swrip
make[1]: Entering directory `/cygdrive/c/Phobos/swrip200/src'
g++ -c -g3 -Wall -DMCCP act_wiz.c
act_wiz.c: In function `void do_form_password(CHAR_DATA*, char*)':
act_wiz.c:4973: error: `crypt' undeclared (first use this function)
act_wiz.c:4973: error: (Each undeclared identifier is reported only once for eac
h function it appears in.)
make[1]: *** [act_wiz.o] Error 1
make[1]: Leaving directory `/cygdrive/c/Phobos/swrip200/src'
make: *** [all] Error 2
ok thats what im getting now and ive tried to go to act_wiz.c and incert the #include<cyrpt>
Line 4973 is
crypt(arg, argument)); | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #10 on Mon 29 Oct 2007 05:26 AM (UTC) |
Message
| You said you fixed the crypt error. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Phobos
(79 posts) Bio
|
Date
| Reply #11 on Mon 29 Oct 2007 05:35 AM (UTC) |
Message
| I did in the other file then when that was fixed it gave me that message | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #12 on Mon 29 Oct 2007 05:49 AM (UTC) |
Message
| |
Posted by
| Phobos
(79 posts) Bio
|
Date
| Reply #13 on Mon 29 Oct 2007 05:59 AM (UTC) |
Message
| make[1]: Entering directory `/cygdrive/c/Phobos/swrip200/src'
g++ -c -g3 -Wall -DMCCP comm.c
g++ -c -g3 -Wall -DMCCP comments.c
g++ -c -g3 -Wall -DMCCP const.c
g++ -c -g3 -Wall -DMCCP db.c
g++ -c -g3 -Wall -DMCCP fight.c
fight.c:28:21: sys/dir.h: No such file or directory
make[1]: *** [fight.o] Error 1
make[1]: Leaving directory `/cygdrive/c/Phobos/swrip200/src'
make: *** [all] Error 2
thats the error after adding the <cryp> to all the right files dose that mean i need to add a folder named dir.h? | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #14 on Mon 29 Oct 2007 06:02 AM (UTC) |
Message
| Once again, use the search feature. You'll find your answer. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | 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.
199,798 views.
This is page 1, subject is 6 pages long: 1 2
3
4
5
6
It is now over 60 days since the last post. This thread is closed.
Refresh page
top