[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Re: Problem with malloc()
From: |
Dean Ferreyra |
Subject: |
RE: [avr-gcc-list] Re: Problem with malloc() |
Date: |
Mon, 05 Nov 2001 11:03:57 -0800 |
Victor,
> What surprises me, is that _end_of_ram_
> is declared in
> line 11 of malloc.c as 'extern size_t _end_of_ram_;', but the error points
> to line 16, where it is used the first time: 'size_t * heap_top =
> &_end_of_ram_;'.
I believe you are using an old version of the libc library. The
"_end_of_ram_" symbol is automatically generated and is now called
"__bss_end".
See http://www.amelek.gda.pl/avr/libc/ for Marek Michalkiewicz's latest libc
library.
Dean Ferreyra