[ECOS] malloc not available?
Trenton D. Adams
tadams@extremeeng.com
Wed Oct 10 16:11:00 GMT 2001
For those searching the archives! :)
I figured it out, and I have
#include <stdlib.h>
#include <pkgconf/memalloc.h>
> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com
> [ mailto:ecos-discuss-owner@sources.redhat.com ] On Behalf Of
> Trenton D. Adams
> Sent: Wednesday, October 10, 2001 1:57 PM
> To: 'eCos Discussion'
> Subject: [ECOS] malloc not available?
>
>
> 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
More information about the Ecos-discuss
mailing list