This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: question about /isoinfra/current/include/sys/stat.h. Thanks a lot
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: QiangHuang <jameshq at liverpool dot ac dot uk>
- Cc: Ecos-Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 15 Jul 2003 15:39:57 +0200
- Subject: Re: [ECOS] question about /isoinfra/current/include/sys/stat.h. Thanks a lot
- References: <ONEOIJPPOKNBBKJKCGLCMENHCBAA.jameshq@liv.ac.uk>
Aaaarrgg!
Im sure i tried jffs2!
Its fixed now.
Sorry,
Andrew
On Tue, Jul 15, 2003 at 02:29:01PM +0100, QiangHuang wrote:
> Hi all:
> I just pulled down the latest ecos and seems stat.h file has been changed
> to:
>
> #define S_IRUSR (1<<16)
> #define S_IWUSR (1<<17)
> #define S_IXUSR (1<<18)
> #define S_IRWXU (S_IRUSR|S_IWUSR|S_IXUSR)
>
> #define S_IRGRP (1<<19)
> #define S_IWGRP (1<<20)
> #define S_IXGRP (1<<21)
> #define S_IRWXG (S_IRGRP|S_IWGRP|S_IXGRP)
>
> #define S_IROTH (1<<22)
> #define S_IWOTH (1<<23)
> #define S_IXOTH (1<<24)
> #define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH)
>
> #define S_ISUID (1<<25)
> #define S_ISGID (1<<25)
>
>
> and S_ISUID and S_ISGID both have the same value, which cause the
> compilation error while using jffs2 as the error msg:
>
> /ecos-c/latestecos/ecos/packages/fs/jffs2/current/src/os-ecos.h:54:
> duplicate case value
> /ecos-c/latestecos/ecos/packages/fs/jffs2/current/src/os-ecos.h:52:
> previously used here
>
> does anybody have a idea for this? Thanks a lot.
>
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss