This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: I have a problem about ecos support "opendir" function or not? thank you~
- From: Andrew Lunn <andrew at lunn dot ch>
- To: ?????? <palapala at iii dot org dot tw>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 22 Sep 2006 11:48:16 +0200
- Subject: Re: [ECOS] I have a problem about ecos support "opendir" function or not? thank you~
- References: <0e217ed8834deb7b46bdaf9c6bd54104@iii.org.tw>
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