Errors building bootloader

I inherited the development work for aDigi ME based product.
The product uses a custom bootloader in NetOS6.3. The current build for the bootloader fails. Because the BSP builds fine, the previous programmer just ignored the bootloader build errors because he had an old version of the custom rom.bin bootloader that worked ok.

I am trying to get the bootloader to build successfully so that I can debug it as it appears that there is a bug.

I am not too familiar with the whole bootloader building process. I hope somebody could give me a pointer as to what is caused the build to fail.

Listed below are the errors the precipitate the fatal error.
Does the BLCODE is full mean that the bootloader rom.bin does not fit in the allocated space (I believe 64k)?


./…/…/…/…/lib/arm7/32b/gnu/bsp/connectme/libbsp.a(event_handler.o): referenc
e to malloc
/usr/arm-elf/bin/ld: region BLCODE is full (blram.elf section .text)
/usr/arm-elf/bin/ld: section restartBuf [00204000 -> 0020440f] overlaps section
.init [00204000 -> 00204067]
/usr/arm-elf/bin/ld: section .data [00204410 -> 0020568f] overlaps section .text
[00204068 -> 0022eb8b]
/usr/arm-elf/bin/ld: section .bss [00205690 -> 004a50af] overlaps section .text
[00204068 -> 0022eb8b]
./…/…/…/…/lib/arm7/32b/gnu/bsp/connectme/libbsp.a(flashnvrm.o)(.text+0x74):
In function NANVInit': ./devices/common/nvram/flashnvrm.c:129: undefined reference to FlashSectorOffse
ts’
./…/…/…/…/lib/arm7/32b/gnu/bsp/connectme/libbsp.a(flashnvrm.o)(.text+0x270):
In function NANVWrite': ./devices/common/nvram/flashnvrm.c:279: undefined reference to FlashSectorOffse
ts’
./…/…/…/…/lib/arm7/32b/gnu/bsp/connectme/libbsp.a(boardParams.o)(.text+0xa40
): In function customizeWriteDevBoardParams': ./../../src/bsp/platforms/connectme/boardParams.c:1266: undefined reference to
_txe_thread_relinquish’