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]

Re: RAM fs build error.


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


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