[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  SWRiP Make error

SWRiP Make error

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


Pages: 1 2  3  4  5  6  

Posted by JamesTalon   Canada  (15 posts)  [Biography] 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.
[Go to top] top

Posted by Kiasyn Kelle   (15 posts)  [Biography] 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
[Go to top] top

Posted by JamesTalon   Canada  (15 posts)  [Biography] 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
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by JamesTalon   Canada  (15 posts)  [Biography] 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.
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] 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
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] 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
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] bio
Date Reply #8 on Mon 29 Oct 2007 05:22 AM (UTC)
Message
nevermind i got it...lol that was simple
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] 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));
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] 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
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #12 on Mon 29 Oct 2007 05:49 AM (UTC)
Message
Following this:
http://www.gammon.com.au/forum/?id=6203&page=999

It should fix crypt errors.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Phobos   (79 posts)  [Biography] 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?
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] 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.


168,522 views.

This is page 1, subject is 6 pages long: 1 2  3  4  5  6  [Next page]

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]