Compiling Smaug1.8

Posted by Rawrzomgmonster on Fri 07 Sep 2007 09:37 PM — 10 posts, 32,735 views.

#0
How do I do this? I go through the steps listed on http://www.gammon.com.au/smaug/howtocompile.htm, but when I get to mv makefile makefile.unix, and the one after it, it says "mv: cannot stat 'makefile' : No such file or directory"
USA #1
That guide is not meant for 1.8. There is probably just Makefile.
#2
So what should I do?
USA #3
Just skip that step.
#4
So I-
cd smaug1.8
cd src
make

and I get- make: *** No targets specified and no makefile found. Stop.
USA #5
You're in the src directory right? Can you list the files there for me? You should have a Makefile.
#6
http://img505.imageshack.us/img505/7201/srcgs8.png
Amended on Fri 07 Sep 2007 10:54 PM by Rawrzomgmonster
USA #7
It seems you already did that step, you shouldn't have. Rename the file back.

mv makefile.unix Makefile
#8
ugg..now what?


grub.c:27: warning: conflicting types for built-in function 'trunc'
grub.c: In function `rgrub_help':
grub.c:538: error: missing terminating " character
grub.c:539: error: parse error before "search"
grub.c:539: error: stray '\' in program
grub.c:539: error: stray '\' in program
grub.c:539: error: missing terminating " character
grub.c:543: error: missing terminating " character
grub.c:544: error: stray '\' in program
grub.c:544: error: `Olympus' undeclared (first use in this function)
grub.c:544: error: (Each undeclared identifier is reported only once
grub.c:544: error: for each function it appears in.)
grub.c:544: error: parse error before "n"
grub.c:544: error: stray '\' in program
grub.c:544: error: missing terminating " character
make[1]: *** [grub.o] Error 1
make[1]: Leaving directory `/home/Jake's Computer/smaug1.8/src'
make: *** [all] Error 2

Jake's Computer@jake ~/smaug1.8/src
$
USA #9
If you search, you'll find your answer:
http://www.gammon.com.au/forum/bbshowpost.php?id=7838