[ECOS] Re: ecos mem footprint with HTTPD support

Mandeep Sandhu mandeepsandhu.chd@gmail.com
Wed Jul 15 13:16:00 GMT 2009


> The lwIP TCP/IP stack provides its own HTTP server test. Simply
> configure eCos for lwIP networking and then build eCos and the eCos
> tests for lwIP. Run "arm-eabi-size" (assuming an ARM target) on the
> resulting "httpd" test executable file.

Thanks for the tip John.

But the test compilation is failing with the following error:

make[1]: Leaving directory
`/home/mandeep/ecos/sam7ex-lwIP/sam7ex-lwIP_build/infra/v3_0'
/home/mandeep/ecos/gnutools/arm-eabi/bin/../lib/gcc/arm-eabi/4.3.2/../../../../arm-eabi/bin/ld:
address 0x219ae8 of
/home/mandeep/ecos/sam7ex-lwIP/sam7ex-lwIP_install/tests/infra/v3_0/tests/diag_sprintf2
section .bss is not within region ram
make: Leaving directory `/home/mandeep/ecos/sam7ex-lwIP/sam7ex-lwIP_build'
/home/mandeep/ecos/gnutools/arm-eabi/bin/../lib/gcc/arm-eabi/4.3.2/../../../../arm-eabi/bin/ld:
address 0x219ae8 of
/home/mandeep/ecos/sam7ex-lwIP/sam7ex-lwIP_install/tests/infra/v3_0/tests/diag_sprintf2
section .bss is not within region ram

collect2: ld returned 1 exit status
make[1]: *** [/home/mandeep/ecos/sam7ex-lwIP/sam7ex-lwIP_install/tests/infra/v3_0/tests/diag_sprintf2]
Error 1
make[1]: *** Waiting for unfinished jobs....
/home/mandeep/ecos/gnutools/arm-eabi/bin/../lib/gcc/arm-eabi/4.3.2/../../../../arm-eabi/bin/ld:
address 0x21a4d8 of
/home/mandeep/ecos/sam7ex-lwIP/sam7ex-lwIP_install/tests/infra/v3_0/tests/cxxsupp
section .bss is not within region ram
/home/mandeep/ecos/gnutools/arm-eabi/bin/../lib/gcc/arm-eabi/4.3.2/../../../../arm-eabi/bin/ld:
address 0x21a4d8 of
/home/mandeep/ecos/sam7ex-lwIP/sam7ex-lwIP_install/tests/infra/v3_0/tests/cxxsupp
section .bss is not within region ram
collect2: ld returned 1 exit status
make[1]: *** [/home/mandeep/ecos/sam7ex-lwIP/sam7ex-lwIP_install/tests/infra/v3_0/tests/cxxsupp]
Error 1
make: *** [tests] Error 2

I have created a fresh config, choosing the at91sam7ex with iwIP
template. The build passes, but the tests
compilation is failing.

The above errors are a little beyond me...but does it mean we've run
out of RAM? Can I increase the amount
of RAM in some config...for the sam7ex template?

Thanks,
-mandeep

>
> John Dallaway
>

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list