This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
malloc not available?
- To: "'eCos Discussion'" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] malloc not available?
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Wed, 10 Oct 2001 13:57:13 -0600
- Organization: Extreme Engineering
Is the standard malloc available somewhere? Do I have to download it
separately from the repository? I included <sys/malloc.h> but I get the
error below. The malloc () I know only takes one argument~
/cygdrive/C/MyDocuments/eCosRepository/ecos/packages/devs/eth/wavelan/cu
rrent/src/if_wvlan.c:345: macro `malloc' used with just one arg
make[1]: Leaving directory
`/c/MyDocuments/eCosBuilds/RAMSupport_build/devs/eth/wavelan/current'
The eCos Reference manual says I can use the standard C Library malloc
() call, but I don't see how since malloc.h is only implemented in the
net package as far as I can tell.
Trenton D. Adams
Extreme Engineering
#17, 6025 - 12 St. SE
Calgary, Alberta, Canada
T2H 2K1
Phone: 403 640 9494 ext-208
Fax: 403 640 9599
http://www.extremeeng.com