Moltony
Moltony

Reputation: 11

address of file section `.bss' is not within region `ewram' when compiling for Nintendo DS

I am compiling a Nintendo DS game, and recently it has been giving me a weird error I've never seen before:

.../ld.exe: address 0x2382a18 of .../game.elf section `.data' is not within region `ewram'
.../ld.exe: .../game.elf section `.itcm' will not fit in region `ewram'
.../ld.exe: .../game.elf section `.bss' is not within region `ewram'
.../ld.exe: .../game.elf section `.data' is not within region `ewram'
.../ld.exe: .../game.elf section `.bss' is not within region `ewram'
.../ld.exe: region `ewram' overflowed by 22960 bytes

How do i fix it?

Edit: I redownloaded the source code and it magically works?

Edit 2: Yes, it's because too much stuff was in the executable.

Upvotes: 1

Views: 153

Answers (0)

Related Questions