This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
stat.h
- From: Bob Koninckx <bob dot koninckx at mech dot kuleuven dot ac dot be>
- To: ecos-discuss at sources dot redhat dot com
- Date: 08 Jun 2003 16:01:24 +0200
- Subject: [ECOS] stat.h
- Organization: KULeuven
Hi,
Apparently a number of definitions have been added to
isoinfra/current/include/sys/stat.h
#define S_IFDIR (__stat_mode_DIR)
#define S_IFCHR (__stat_mode_CHR)
#define S_IFBLK (__stat_mode_BLK)
#define S_IFREG (__stat_mode_REG)
#define S_IFFIFO (__stat_mode_FIFO)
#define S_IFLNK (__stat_mode_LNK)
#define S_IFSOCK (__stat_mode_SOCK)
#define S_IFMT (S_IFDIR|S_IFCHR|S_IFBLK|S_IFREG| \
S_IFFIFO|S_IFLNK|S_IFSOCK)
Unfortunately, the last three are not consistent with was already
defined in compat/linux/current/include/linux/stat.h (which is needed by
the jffs2 package). Will it cause problems if the differences are just
ignored and the definitions in compat/linux/current/include/linux/stat.h
made conditional ? I tried this and now the jffs2 package compiles
again, I am not sure I did not introduce any error though.
Thanks,
Bob
--
----------------------------------------------------------------------
ir. Bob Koninckx
Katholieke Universiteit Leuven
Division Production Engineering, tel. +32 16 322535
Machine Design and Automation fax. +32 16 322987
Celestijnenlaan 300B bob.koninckx@mech.kuleuven.ac.be
B-3001 Leuven Belgium http://www.mech.kuleuven.ac.be/pma
----------------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss