gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > no memory region specified for loadable section `.text.3'

#160316 - entY - Sun Jul 13, 2008 11:38 pm

edit: actually please don't bother reading, using the new error message i posted in the edit below google is spitting out some information :-)



I was trying to compile the mp3 plugin for moonshell from scratch (from some (maybe ancient?) "moonshellpluginv40sdk"), using devkitPro 1.4.4, and it's going all fine except for the following error message popping up each time when linking:
Code:
.../devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.1.1/../../../../arm-eabi/bin/ld.exe: error: no memory region specified for loadable section `.ARM.extab'


Is there any easy solution to this?

My aim is to make my ds play back more or less raw ADPCM data files as they are used by some games, possibly with a neat infinite loop like in_cube has it. I haven't written anything else for the ds yet though ("hello world" excluded), so I'm not quite sure whether this approach using a moonshell plug-in is a good idea at all; I'd be happy about any advice you have to spare :-)


edit: After upgrading to devkitPro 1.4.7 the error message changed to the following:
Code:
error: no memory region specified for loadable section `.text.3'
leading me to think something might be missing in the following part of the used specs file:
Code:
   .text :   /* ALIGN (4): */
   {
      *(.text.*)
      *(.stub)
      /* .gnu.warning sections are handled specially by elf32.em.  */
      *(.gnu.warning)
      *(.gnu.linkonce.t*)
      *(.glue_7)
      *(.glue_7t)
      . = ALIGN(4);  /* REQUIRED. LD is flaky without it. */
   } >dlram = 0xff

Here I'm clueless again though. Any suggestions?