Closed meganukebmp closed 5 years ago
Otherwise we fail during the linking process
linking SimpleApplication.elf c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2_mixer.a(music_opus.o): in function `OPUS_Load': music_opus.c:(.text.OPUS_Load+0x10): undefined reference to `op_open_callbacks' c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: music_opus.c:(.text.OPUS_Load+0x14): undefined reference to `op_free' c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: music_opus.c:(.text.OPUS_Load+0x18): undefined reference to `op_head' c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: music_opus.c:(.text.OPUS_Load+0x1c): undefined reference to `op_seekable' c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: music_opus.c:(.text.OPUS_Load+0x20): undefined reference to `op_open_callbacks' c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: music_opus.c:(.text.OPUS_Load+0x24): undefined reference to `op_read' c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: music_opus.c:(.text.OPUS_Load+0x28): undefined reference to `op_pcm_seek' c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: music_opus.c:(.text.OPUS_Load+0x2c): undefined reference to `op_free' c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: music_opus.c:(.text.OPUS_Load+0x30): undefined reference to `op_head' c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: music_opus.c:(.text.OPUS_Load+0x34): undefined reference to `op_seekable' c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: music_opus.c:(.text.OPUS_Load+0x3c): undefined reference to `op_read' c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: music_opus.c:(.text.OPUS_Load+0x44): undefined reference to `op_pcm_seek' collect2.exe: error: ld returned 1 exit status make[1]: *** [/opt/devkitpro/libnx/switch_rules:80: /d/Dev/Plutonium/Examples/SimpleApplication/SimpleApplication.elf] Error 1 make: *** [Makefile:165: Build] Error 2
Otherwise we fail during the linking process