AloUltraExt / sm64ex-alo

An extended custom version of Super Mario 64 with extra stuff made by yours truly. Based of sm64ex and updated to Refresh 16
109 stars 50 forks source link

Error when compiling to N64 #70

Open Project516 opened 2 hours ago

Project516 commented 2 hours ago

Describe the bug A clear and concise description of what the bug is.

When I run make -j4 TARGET_N64=1 after doing all the previous steps i get

Assembling: asm/boot.s -> build/us/asm/boot.o Assembling: asm/entry.s -> build/us/asm/entry.o Converting: textures/ipl3_raw/ipl3_font_00.ia1.png -> build/us/textures/ipl3_raw/ipl3_font_00.ia1 cc1: error: position-independent code requires ‘-mabicalls’ Converting: textures/ipl3_raw/ipl3_font_01.ia1.png -> build/us/textures/ipl3_raw/ipl3_font_01.ia1 cc1: error: position-independent code requires ‘-mabicalls’ cc1: error: position-independent code requires ‘-mabicalls’ make: [Makefile:1655: build/us/sound/sequences/00_sound_player.o] Error 1 make: Waiting for unfinished jobs.... make: [Makefile:1655: build/us/asm/boot.o] Error 1 make: [Makefile:1655: build/us/asm/entry.o] Error 1

Also running on WSL 2 from Windows 11 gets the same error AND msys2 on win11 To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

thx for reading and if i wasnt clear PLEASE commint i wanna use this over sm64ex!

Project516 commented 2 hours ago

oh and just running make works btw

Project516 commented 2 hours ago

also compiling for the web returns

Generating endian-bitwidth Generating: build/us_web/sound/sound_data.ctl Assembling: sound/sequences/00_sound_player.s -> build/us_web/sound/sequences/00_sound_player.o sound/sequences/00_sound_player.s:3:17: error: Expected ,, instead got:

.section .rodata ^ make: *** [Makefile:1655: build/us_web/sound/sequences/00_sound_player.o] Error 1

it made more progress than render96 did