Error Compiling SW:RIP v1.0.1

Posted by Groom112 on Sat 02 Jun 2012 08:03 PM — 3 posts, 16,726 views.

#0
While attempting to use the Cygwin 'make' command for SWRIP, the following error occurs:

$ make
make swrip
make[1]: Entering directory `/home/wrgklj/releasev101rip/src'
gcc -c -g3 -Wall -DNOCRYPT -DREQUESTS act_move.c
act_move.c: In function ‘grab_word’:
act_move.c:231:5: warning: array subscript has type ‘char’
act_move.c:249:5: warning: array subscript has type ‘char’
act_move.c: In function ‘generate_exit’:
act_move.c:606:5: error: lvalue required as left operand of assignment
makefile:38: recipe for target `act_move.o' failed
make[1]: *** [act_move.o] Error 1
make[1]: Leaving directory `/home/wrgklj/releasev101rip/src'
makefile:27: recipe for target `all' failed
make: *** [all] Error 2

This is copied directly from Cygwin after typing make. I followed the instructions found in swripwin.txt which directs you to copy 'Makefile-win' and replace the original 'makefile' with the new copy. I renamed the "Makefile-win copy' to just 'makefile'. Any tips or assistance would be greatly appreciated!
USA Global Moderator #1
http://www.gammon.com.au/forum/?id=8996
#2
Awesome! You're a life saver! Thank you!