This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]