error generated during stub build
Simon Kallweit
simon.kallweit@intefo.ch
Thu Nov 27 13:16:00 GMT 2008
abhishek srivastava wrote:
> hi
> i had applied patch for LPC2148 that i got from (http://sourceware.org/ml/ecos-patches/2005-11/msg00014.html).......now,after appliying patch, i had selected the required hoby-rotics platform in templates,selected stubs and build that.............
> it generated various errors,somehow i managed to resolve them.....
> but i am getting this error, which i couldnt understand wht's it and how to resolve it!!
>
> make: Leaving directory `/opt/ecos/ecos/ecos-work/test_build'
> /opt/ecos/gnutools/arm-eabi/bin/../lib/gcc/arm-eabi/4.3.2/../../../../arm-eabi/bin/ld: address 0x400120d0 of /opt/ecos/ecos/ecos-work/test_install/bin/gdb_module.img section .bss is not within region ram
> collect2: ld returned 1 exit status
> make[1]: *** [/opt/ecos/ecos/ecos-work/test_install/bin/gdb_module.img] Error 1
> make: *** [build] Error 2
>
> plz help me to resolve this error!, 1 more thing, i set my startup type to ROM as i have less RAM. is tht the issue??
>
Looks like you don't have enough ram on your target for the build. Try
to build redboot first (use the redboot template), as this will most
probably be smaller. Getting redboot to work before doing anything else
is probably a good idea anyway.
Simon
P.S. DO NOT crosspost to multiple ecos mailinglists. That's considered
rude! The ecos-patches mailing list is for submitting patches to be
included into ECOS, not to complain about patches not working or anything.
More information about the Ecos-patches
mailing list