Trouble compiling SWRIP

Posted by Midnightsun on Fri 10 Oct 2008 01:44 PM — 6 posts, 27,949 views.

#0
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.
Amended on Fri 10 Oct 2008 01:46 PM by Midnightsun
USA #1
I would recommend using a FUSS codebase.

The fix for that line may be:
pexit = (EXIT_DATA *) xit;
#2
Thanks for the tip. That fixed it and compiles fine now. Much appreciated
#3
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?
USA #4
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?
#5
Thats what I was asking. Now I know I can just use a text editor to fix the code. Thanks.