Oups, I did a few modifications to cakebrah (delete main.c and disable debug output) but it wasn't correctly uploaded to github.. For now you should be able to just delete the main.c file which is probably in this folder. I'll update my github tomorrow.I'm recompiling some homebrew apps to use the directory /data/<appname>/... instead of using the root of the sdcard for their config files or other resources, because I want to keep the files more organized.
In this case I want to put the boot.cfg file to /data/boot.cfg by editing config.c , but when I compile, I get the following error at the end:
.
.
.
linking boot.elf
main.o: In function `main':
main.c.text.startup+0x0): multiple definition of `main'
main.o:main.c.text.startup+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/c/Users/Stefan/Desktop/CtrBootManager/boot.elf] Error 1
make: *** [build] Error 2
My Devkitpro and the libs should be up to date and the most other homebrew compiles just fine. Where is my error? Thanks!
Last edited by cpasjuste,