Skip to content

Instantly share code, notes, and snippets.

@bahamas10
Created February 14, 2024 21:19
Show Gist options
  • Save bahamas10/92b742bd88d3ce106de271454bb5fbd6 to your computer and use it in GitHub Desktop.
Save bahamas10/92b742bd88d3ce106de271454bb5fbd6 to your computer and use it in GitHub Desktop.
sm64 decomp errors on m1 mac sonoma
dave - m1book darwin ~/dev/sm64 (git:master) $ gmake VERSION=us -j1
==== Build Options ====
Version: us
Microcode: f3d_old
Target: sm64.us
Compare ROM: yes
Build Matching: yes
=======================
Building general tools...
Building sm64tools...
Building ROM...
Linking ELF file: build/us/levels/bbh/leveldata.o -> build/us/levels/bbh/leveldata.elf
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x6af4): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x6dfc): undefined reference to `spooky_09004800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x6e8c): undefined reference to `spooky_0900A000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x6ee4): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x72fc): undefined reference to `spooky_09001800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x74f4): undefined reference to `spooky_09009000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x78a4): undefined reference to `spooky_09008000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x7ae4): undefined reference to `spooky_09006000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x7eec): undefined reference to `spooky_0900B800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x88e4): undefined reference to `spooky_09006800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x8dbc): undefined reference to `spooky_0900B000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xa804): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xaa0c): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xacb4): undefined reference to `spooky_09005000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xae6c): undefined reference to `spooky_09002800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xaeb4): undefined reference to `spooky_09001800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xaf44): undefined reference to `spooky_09009000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xb174): undefined reference to `spooky_09006000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xb39c): undefined reference to `spooky_0900B800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xb8ac): undefined reference to `spooky_09006800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xbb54): undefined reference to `spooky_0900B000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xcb5c): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xccb4): undefined reference to `spooky_09004800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xcf44): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xcfac): undefined reference to `spooky_09002800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xcfe4): undefined reference to `spooky_09009000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xd27c): undefined reference to `spooky_09008000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xd42c): undefined reference to `spooky_09006000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xd6f4): undefined reference to `spooky_0900B000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xee9c): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xefdc): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xf2bc): undefined reference to `spooky_09005000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xf3dc): undefined reference to `spooky_09001800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0xf7ac): undefined reference to `spooky_09008000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x10a4c): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x10b5c): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x10d04): undefined reference to `spooky_09005000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x10d94): undefined reference to `spooky_09000800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1105c): undefined reference to `spooky_09002800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x110ec): undefined reference to `spooky_09009000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x11df4): undefined reference to `spooky_0900A000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x11e4c): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x11ea4): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1207c): undefined reference to `spooky_09005000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x120e4): undefined reference to `spooky_09002800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x121ac): undefined reference to `spooky_09009000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x12684): undefined reference to `spooky_0900B000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1350c): undefined reference to `spooky_0900A000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x13554): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x135ac): undefined reference to `spooky_09004800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x135e4): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1383c): undefined reference to `spooky_09001800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x13b84): undefined reference to `spooky_0900A800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x14b2c): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x14bcc): undefined reference to `spooky_0900A000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x14c14): undefined reference to `spooky_09004800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x14c5c): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x14d14): undefined reference to `spooky_09005000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1529c): undefined reference to `spooky_09000000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1562c): undefined reference to `spooky_0900A800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x15934): undefined reference to `spooky_09006800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x16d3c): undefined reference to `spooky_09004800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x16dcc): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x16e14): undefined reference to `spooky_09005000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x16fec): undefined reference to `spooky_09000800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x17104): undefined reference to `spooky_09009000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1714c): undefined reference to `spooky_09007000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1751c): undefined reference to `spooky_09006000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x176e4): undefined reference to `spooky_0900B000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x195ac): undefined reference to `spooky_0900A000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x197bc): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x198cc): undefined reference to `spooky_09005000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x19b84): undefined reference to `spooky_09001800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x19dd4): undefined reference to `spooky_09000800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x19e64): undefined reference to `spooky_09009000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1a04c): undefined reference to `spooky_09000000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1a624): undefined reference to `spooky_0900A000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1a66c): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1a6e4): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1a74c): undefined reference to `spooky_09007000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1b32c): undefined reference to `spooky_09004800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1b384): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1b55c): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1b624): undefined reference to `spooky_09005000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1b67c): undefined reference to `spooky_09009000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1d9c4): undefined reference to `spooky_09004800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1da54): undefined reference to `spooky_0900A000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1db24): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1dbf4): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1dfa4): undefined reference to `spooky_09005000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1e214): undefined reference to `spooky_09007000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1e434): undefined reference to `spooky_09009000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1ec1c): undefined reference to `spooky_09006000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1ee4c): undefined reference to `spooky_0900A800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1ee94): undefined reference to `spooky_0900B800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1f01c): undefined reference to `spooky_09006800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1f23c): undefined reference to `spooky_0900A000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1f284): undefined reference to `spooky_09005000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1f514): undefined reference to `spooky_09008800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1f55c): undefined reference to `spooky_09005000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1f5c4): undefined reference to `spooky_09009000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1f784): undefined reference to `spooky_09004800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1fa14): undefined reference to `spooky_09004800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1fc7c): undefined reference to `spooky_09003800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1fcc4): undefined reference to `spooky_09002800'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x1ff5c): undefined reference to `spooky_09000000'
mips64-elf-ld: build/us/levels/bbh/leveldata.o:(.data+0x20234): undefined reference to `spooky_09005000'
gmake: *** [Makefile:582: build/us/levels/bbh/leveldata.elf] Error 1
@bahamas10
Copy link
Author

This was resolved by definitely a human in the decomp discord (https://discord.com/channels/601153657966428193/615010554809155604/1207767590827720746)


THE FIX

curl https://patch-diff.githubusercontent.com/raw/n64decomp/sm64/pull/77.patch | git apply
gmake VERSION=us

This is caused by the user using an older version of make. You can upgrade your version of make, or use this patch in the interim n64decomp/sm64#77

@Superredstone
Copy link

Thank you, that solved for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment