This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: POSIX File IO / time.h not found
- From: Sergei Gavrikov <sergei dot gavrikov at gmail dot com>
- To: Szentirmai Gergely <reg at t-online dot hu>
- Cc: eCos Discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 7 Apr 2009 22:35:39 +0300
- Subject: Re: [ECOS] POSIX File IO / time.h not found
- References: <49DB9CA4.7030908@t-online.hu> <20090407185837.GA9427@ubuntu.local>
On Tue, Apr 07, 2009 at 09:58:37PM +0300, Sergei Gavrikov wrote:
> On Tue, Apr 07, 2009 at 08:34:12PM +0200, Szentirmai Gergely wrote:
> > Hello
> >
> > I tried to added posix file I/O package to my project, but there was an
> > error during build ( cyg/posix/sys/time.h: No such file or directory ).
> > I used ecos-2.0. Then I updated ecos-2.0 to the latest, the problem was
> > still the same. So I downloaded ecos-3.0 final, the problem still
> > persists.
> >
> > So now I'm using ecos 3.0 final, and the configtool shipped with the
> > package. In the generated folder structure there is no "posix" folder at
> > all!
> >
> > Does anyone had this error?
>
> The eCos 3.0 tested itself about a few months. It not seems, that
> maintainers missed the posix things. What template did you use? Lazy
> demos with the latest eCos 3.0 are the below (run on Linux host)
[snip the demos]
BTW, to add fileio package, you can use default template, no bloat posix
template. It's enough to have CYGPKG_LIBC_TIME. This package is
included in eCos default template. Try to build eCos in the clean (new)
directories. Also, it's possible that you have a mixture of the eCos
repositories or/and GNU toolchains. Check it.
Sergei
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss