[ECOS] I have a problem about ecos support "opendir" function or not? thank you~

Andrew Lunn andrew@lunn.ch
Fri Sep 22 09:48:00 GMT 2006


On Fri, Sep 22, 2006 at 03:22:34PM +0800, ?????? wrote:
> Hi,
> 
> I was trying to run kvm (cldc 1.1) on ecos. And my host os is red
> hat9 running on VMware workstation 5. The target I choose when I
> install ecos is ??i386-elf??.
>
> I will test on linux, so I created a configuration ecos.ecc for
> linux (ecosconfig new linux) and make the kernel. (include and lib)
>
> After making the ecos kernel, I was changing the cc to i386-elf-gcc
> of preverify tool in cldc 1.1
>
> When making the file, there will have problem that ??DIR?? is
> undeclared. As you can see below, the dirent.h in ecos kernel has
> extern ??DIR??. However, there is no lib for DIR in ecos
> kernel.(there is no lib which declare the struct of DIR in ecos
> kernel)

Have you include the fileio package in your eCos configuration?

     Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list