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 ➜ Trouble compiling SWRIP

Trouble compiling SWRIP

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


Posted by Midnightsun   (4 posts)  Bio
Date Fri 10 Oct 2008 01:44 PM (UTC)

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.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Fri 10 Oct 2008 02:24 PM (UTC)
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
Top

Posted by Midnightsun   (4 posts)  Bio
Date Reply #2 on Sat 11 Oct 2008 11:37 AM (UTC)
Message
Thanks for the tip. That fixed it and compiles fine now. Much appreciated
Top

Posted by Chipps125   (13 posts)  Bio
Date Reply #3 on Fri 07 Nov 2008 07:27 PM (UTC)
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?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #4 on Fri 07 Nov 2008 07:29 PM (UTC)
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
Top

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


21,796 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.