I have been using this excellent tool to compile my gb studio game to work on the GBA. It was working great but I decided to update the game to take advantage of the widescreen capabilities.
It has since stopped being able to compile the rom. I am sure it is something I have done but I wonder if someone can help be debug the issue.
The output from the commandline + debug flag to get all the output is attached.
I have tried multiple computers, reinstalling the devkit on multiple computers - this is all on Windows however.
Here is the last few lines of the output
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/12.1.0/../../../../arm-none-eabi/bin/ld.exe: music_bank_41.o:C:/gbsenpai-main/sample_cgb/music_bank_41.c:6: multiple definition ofmusic_track_110__Data'; music_bank_38.o:C:/gbsenpai-main/sample_cgb/music_bank_38.c:6: first defined here
When I look at the gba_rules... it appears to be failing when trying to create the elf, then the gba file - I have checked the permissions on the folders of devkitpro and the gbsenpai and I am running as the administrator.
Hi,
I have been using this excellent tool to compile my gb studio game to work on the GBA. It was working great but I decided to update the game to take advantage of the widescreen capabilities.
It has since stopped being able to compile the rom. I am sure it is something I have done but I wonder if someone can help be debug the issue.
The output from the commandline + debug flag to get all the output is attached.
I have tried multiple computers, reinstalling the devkit on multiple computers - this is all on Windows however.
Here is the last few lines of the output
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/12.1.0/../../../../arm-none-eabi/bin/ld.exe: music_bank_41.o:C:/gbsenpai-main/sample_cgb/music_bank_41.c:6: multiple definition of
music_track_110__Data'; music_bank_38.o:C:/gbsenpai-main/sample_cgb/music_bank_38.c:6: first defined herecollect2.exe: error: ld returned 1 exit status
Reaping losing child 0x8000d0200 PID 642
make[1]: *** [/opt/devkitpro/devkitARM/gba_rules:25: /c/gbsenpai-main/sample_cgb.elf] Error 1
Removing child 0x8000d0200 PID 642 from chain.
Reaping losing child 0x8000aeed0 PID 464
make: *** [Makefile.gba:179: build_sample_cgb] Error 2
Removing child 0x8000aeed0 PID 464 from chain.`
When I look at the gba_rules... it appears to be failing when trying to create the elf, then the gba file - I have checked the permissions on the folders of devkitpro and the gbsenpai and I am running as the administrator.
Any help is appreciated. GBSenpai-DebugOutput-TimeKnights-2022-08-11.txt