public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] RAM fs build error.
@ 2001-08-27 19:32 felixwong
  2001-09-06 13:24 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: felixwong @ 2001-08-27 19:32 UTC (permalink / raw)
  To: Ecos-Discuss

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

Thanks in advance for your help.
Felix.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] RAM fs build error.
  2001-08-27 19:32 [ECOS] RAM fs build error felixwong
@ 2001-09-06 13:24 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-09-06 13:24 UTC (permalink / raw)
  To: felixwong; +Cc: Ecos-Discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-06 13:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-27 19:32 [ECOS] RAM fs build error felixwong
2001-09-06 13:24 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).