This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RAM fs build error.
- To: felixwong at i-technologies dot cc
- Subject: Re: [ECOS] RAM fs build error.
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 06 Sep 2001 21:24:03 +0100
- Cc: Ecos-Discuss <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <NFBBLLEDKLLJHLKGHKACCEDOCAAA.felixwong@i-technologies.cc>
felixwong@i-technologies.cc wrote:
>
> Hello,
>
> Anyone sucess in creating RAM filesystem using external block array type structure?
> I have problem building it, the info is listed below.
>
> Using WINNT4.0 config tools v 2.03.
>
> ARM Atmel EB40 port.
> Use Posix template.
> Then add the RAM filesystem from PACKAGE selection part.
> No conflict before build library.
>
> Block-based RAM filesystem allocation,
> Use block array rather than malloc(),
> Block array is external,
> Name of external block array = 0
> Size of blocks array = 2000.
>
> Error messages:
> //E/cygwin/cvs/ecos/packages/fs/ram/current/src/ramfs.c:554: subscripted value is neither array nor pointer
You named the external block array "0". CYGPKG_FS_RAM_BLOCKS_ARRAY_NAME
should be the name of a symbol you define in your application that it can
use.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine