imc.c error

Posted by Glennjoos on Thu 23 Apr 2020 08:41 PM — 5 posts, 23,718 views.

#0
I am trying to compile smaug 1.8 so I can move my 1.4 to it. I am not a programmer.
I am on a Fedora 31 server.
I am using gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC)


I am getting the following Error

imc.c: At top level:
imc.c:627:20: error: conflicting types for ‘getline’
627 | static const char *getline(char *buffer)



any ideas?
Australia Forum Administrator #1

The latest SMAUG is 1.9 at https://smaugmuds.afkmods.com/files/.

Try compiling that.

#2
i see a fuss there but not the original smaug. I was under the impression that fuss was star wars.
USA Global Moderator #3
Quote:
I was under the impression that fuss was star wars.

Nope.
Australia Forum Administrator #4
From that site:


SmaugFUSS 1.9 1.9 Samson Jan 26, 2008 Oct 19, 2014 5967 1.58 MB 0

6D Sound Pack Vladaar Jan 29, 2015 Feb 21, 2018 2091 322.73 MB 0

SmaugFUSS 1.8 Samson Jul 8, 2007 Jan 30, 2008 1961 1.52 MB 0

SWR 1.3 FUSS 1.3 InfiniteAxis Dec 17, 2008 Oct 16, 2010 1569 1.14 MB 0 



SWR FUSS is Star Wars. SmaugFUSS is just Fixed Up Smaug Source, of which you can get version 1.8 and 1.9.

The later version is more likely to have compiler issues with modern compilers fixed up.