Update FAQ problem and solution order

* Feedback from this [comment](https://github.com/ethteck/papermario/pull/2#issuecomment-673270326) on suggested order.
This commit is contained in:
sonicspiral 2020-08-12 22:47:28 -07:00 committed by GitHub
parent de5e3891b9
commit f9f6f302a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,14 +32,19 @@ run `make setup` to set up tools and extract the rom
run `make` to rebuild the rom. Get `OK`? If so, you're all set! Otherwise, please feel free to reach out to us in the discord. run `make` to rebuild the rom. Get `OK`? If so, you're all set! Otherwise, please feel free to reach out to us in the discord.
## FAQ ## FAQ
* `make setup` failed with this error? One of the packages from the _Ubuntu and co (easy mode)_ script did not install correctly. Try to run as sudo `sudo su`, run the script again and append `--fix-missing` to it. * If you received the following error when running `make setup`:
``` ```
/bin/bash: mips-linux-gnu-as: command not found /bin/bash: mips-linux-gnu-as: command not found
Makefile:92: recipe for target 'build/asm/boot.o' failed Makefile:92: recipe for target 'build/asm/boot.o' failed
make: *** [build/asm/boot.o] Error 127 make: *** [build/asm/boot.o] Error 127
``` ```
> 💡 Solution
>
> One of the packages from the _Ubuntu and co (easy mode)_ script did not install correctly. Elevate your user permissions using `sudo su`, run the script again and append `--fix-missing` to it.
>
* `make` failed with this error? This is a Windows line ending issue run `git checkout checksum.sha1` to fix it.
* If you received the following error when running `make`:
``` ```
sha1sum -c checksum.sha1 sha1sum -c checksum.sha1
sha1sum: 'papermario.z64'$'\r': No such file or directory sha1sum: 'papermario.z64'$'\r': No such file or directory
@ -48,3 +53,6 @@ sha1sum: WARNING: 1 listed file could not be read
Makefile:118: recipe for target 'verify' failed Makefile:118: recipe for target 'verify' failed
make: *** [verify] Error 1 make: *** [verify] Error 1
``` ```
> 💡 Solution
>
> This is a Windows line ending issue run `git checkout checksum.sha1` to fix it.