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

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  Trouble compiling SWRIP

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Trouble compiling SWRIP

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Midnightsun   (4 posts)  [Biography] bio
Date Fri 10 Oct 2008 01:44 PM (UTC)  quote  ]

Amended on Fri 10 Oct 2008 01:46 PM (UTC) by Midnightsun

Message
Hi guys,

I'm attempting to compile SWRIP and am getting the following message. This problem is not unique to SWRIP as I get similar errors with smaug 1.8 and swr11fuss. I'm using Ubuntu 8.04

m1dn1ght@inara:~/swr/releaserip/src$ make
make swrip
make[1]: Entering directory `/home/m1dn1ght/swr/releaserip/src'
gcc -c -g3 -Wall -DREQUESTS act_comm.c
gcc -c -g3 -Wall -DREQUESTS act_info.c
gcc -c -g3 -Wall -DREQUESTS act_move.c
act_move.c: In function ‘generate_exit’:
act_move.c:606: error: lvalue required as left operand of assignment
make[1]: *** [act_move.o] Error 1
make[1]: Leaving directory `/home/m1dn1ght/swr/releaserip/src'
make: *** [all] Error 2
m1dn1ght@inara:~/swr/releaserip/src$


The offending line is:

(EXIT_DATA *) pexit = xit;

Any advice will be much appreciated.
[Go to top] top

Posted by Zeno   USA  (2,868 posts)  [Biography] bio   Moderator
Date Reply #1 on Fri 10 Oct 2008 02:24 PM (UTC)  quote  ]
Message
I would recommend using a FUSS codebase.

The fix for that line may be:
pexit = (EXIT_DATA *) xit;

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

Posted by Midnightsun   (4 posts)  [Biography] bio
Date Reply #2 on Sat 11 Oct 2008 11:37 AM (UTC)  quote  ]
Message
Thanks for the tip. That fixed it and compiles fine now. Much appreciated
[Go to top] top

Posted by Chipps125   (13 posts)  [Biography] bio
Date Reply #3 on Fri 07 Nov 2008 07:27 PM (UTC)  quote  ]
Message
I was having this same problem. Know that I know the fix, is it possible to fix it somehow from the server? Without having to unpack the code on my PC, fix it, then re-load it to the server?
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #4 on Fri 07 Nov 2008 07:29 PM (UTC)  quote  ]
Message
Why can't you edit the code on the server using a text editor? Or were you referring to the place where you download the archive?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Chipps125   (13 posts)  [Biography] bio
Date Reply #5 on Sun 09 Nov 2008 10:25 PM (UTC)  quote  ]
Message
Thats what I was asking. Now I know I can just use a text editor to fix the code. Thanks.
[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.


3,026 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

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

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]