You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Ubuntu 22.04 under WSL with dkp-pacman; devkitARM r65 USB_SEED_SWAP is defined as 1
patch_asm.S was compiled and exists as wafel_core/debug/patch_asm.o
~/stroopwafel$ make
make[1]: Entering directory '/home/obguy/stroopwafel/wafel_core'
bash: line 1: arm-none-eabi-gcc: command not found
main.c
In file included from /home/obguy/stroopwafel/wafel_core/source/main.c:19:
/home/obguy/stroopwafel/wafel_core/source/main.c: In function 'patch_55x':
/home/obguy/stroopwafel/wafel_core/source/main.c:811:54: error: 'usb_seedswap' undeclared (first use in this function)
811 | BL_TRAMPOLINE_K(0x04004584, MCP_ALTBASE_ADDR(usb_seedswap));
| ^~~~~~~~~~~~
/home/obguy/stroopwafel/wafel_core/include/wafel/patch.h:32:26: note: in definition of macro '_BL_TRAMPOLINE'
32 | s32 bl_offs = (((s32)_dst - (s32)(_addr)) - 8) / 4; \
| ^~~~
/home/obguy/stroopwafel/wafel_core/source/main.c:811:9: note: in expansion of macro 'BL_TRAMPOLINE_K'
811 | BL_TRAMPOLINE_K(0x04004584, MCP_ALTBASE_ADDR(usb_seedswap));
| ^~~~~~~~~~~~~~~
/home/obguy/stroopwafel/wafel_core/source/main.c:811:37: note: in expansion of macro 'MCP_ALTBASE_ADDR'
811 | BL_TRAMPOLINE_K(0x04004584, MCP_ALTBASE_ADDR(usb_seedswap));
| ^~~~~~~~~~~~~~~~
/home/obguy/stroopwafel/wafel_core/source/main.c:811:54: note: each undeclared identifier is reported only once for each function it appears in
811 | BL_TRAMPOLINE_K(0x04004584, MCP_ALTBASE_ADDR(usb_seedswap));
| ^~~~~~~~~~~~
/home/obguy/stroopwafel/wafel_core/include/wafel/patch.h:32:26: note: in definition of macro '_BL_TRAMPOLINE'
32 | s32 bl_offs = (((s32)_dst - (s32)(_addr)) - 8) / 4; \
| ^~~~
/home/obguy/stroopwafel/wafel_core/source/main.c:811:9: note: in expansion of macro 'BL_TRAMPOLINE_K'
811 | BL_TRAMPOLINE_K(0x04004584, MCP_ALTBASE_ADDR(usb_seedswap));
| ^~~~~~~~~~~~~~~
/home/obguy/stroopwafel/wafel_core/source/main.c:811:37: note: in expansion of macro 'MCP_ALTBASE_ADDR'
811 | BL_TRAMPOLINE_K(0x04004584, MCP_ALTBASE_ADDR(usb_seedswap));
| ^~~~~~~~~~~~~~~~
make[2]: *** [/opt/devkitpro/devkitARM/base_rules:39: main.o] Error 1
make[1]: *** [Makefile:107: debug] Error 2
make[1]: Leaving directory '/home/obguy/stroopwafel/wafel_core'
make: *** [Makefile:19: wafel_core/wafel_core.elf] Error 2
The text was updated successfully, but these errors were encountered:
Using Ubuntu 22.04 under WSL with dkp-pacman; devkitARM r65
USB_SEED_SWAP
is defined as 1patch_asm.S was compiled and exists as
wafel_core/debug/patch_asm.o
The text was updated successfully, but these errors were encountered: