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"
Compiling Smaug1.8
Posted by Rawrzomgmonster on Fri 07 Sep 2007 09:37 PM — 10 posts, 32,735 views.
That guide is not meant for 1.8. There is probably just Makefile.
So what should I do?
Just skip that step.
So I-
cd smaug1.8
cd src
make
and I get- make: *** No targets specified and no makefile found. Stop.
cd smaug1.8
cd src
make
and I get- make: *** No targets specified and no makefile found. Stop.
You're in the src directory right? Can you list the files there for me? You should have a Makefile.
http://img505.imageshack.us/img505/7201/srcgs8.png
It seems you already did that step, you shouldn't have. Rename the file back.
mv makefile.unix Makefile
mv makefile.unix Makefile
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
$
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
$
If you search, you'll find your answer:
http://www.gammon.com.au/forum/bbshowpost.php?id=7838
http://www.gammon.com.au/forum/bbshowpost.php?id=7838