Raspberry PI - Make Error

Posted by Mathrys83 on Wed 24 Apr 2019 03:23 AM — 4 posts, 20,073 views.

#0
is it even possible?

here is the error i get off of a defualt install of Raspbian-Full

(side note feel like a linux nub, DO NOT know many commands or options/flags)

----------------------------------


pi:~/Desktop/smaugfuss19/src $ make
make -s smaug
Compiling o/imc.o....
Compiling o/act_comm.o....
Compiling o/act_info.o....
Compiling o/act_move.o....
Compiling o/act_obj.o....
Compiling o/act_wiz.o....
Compiling o/ban.o....
Compiling o/boards.o....
Compiling o/build.o....
Compiling o/calendar.o....
Compiling o/chess.o....
Compiling o/clans.o....
Compiling o/color.o....
Compiling o/comm.o....
comm.c: In function ‘void nanny_get_name(DESCRIPTOR_DATA*, char*)’:
comm.c:1880:44: error: comparison of constant ‘255’ with boolean expression is always false [-Werror=bool-compare]
if( check_playing( d, argument, FALSE ) == BERR )

comm.c:1948:12: error: comparison of constant ‘255’ with boolean expression is always false [-Werror=bool-compare]
if( chk == BERR )

comm.c: In function ‘void nanny_get_old_password(DESCRIPTOR_DATA*, char*)’:
comm.c:2043:12: error: comparison of constant ‘255’ with boolean expression is always false [-Werror=bool-compare]
if( chk == BERR )

cc1plus: all warnings being treated as errors
Makefile:101: recipe for target 'o/comm.o' failed
make[1]: *** [o/comm.o] Error 1
Makefile:46: recipe for target 'all' failed
make: *** [all] Error 2


-------

I have read a few other forum posts here and there, do I just need to nano a specific file to remove -Werr?
Australia Forum Administrator #1
Can you give a link to the exact SmaugFUSS file you downloaded please?
#2
https://smaugmuds.afkmods.com/files/download/165/
USA Global Moderator #3
This has been asked before.

https://www.gammon.com.au/forum/?id=13787

See also

https://github.com/InfiniteAxis/SmaugFUSS/pull/8/files