[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
coreutils 5.93 on IRIX 5.3
From: |
Georg Schwarz |
Subject: |
coreutils 5.93 on IRIX 5.3 |
Date: |
Wed, 7 Dec 2005 03:05:51 +0100 |
User-agent: |
MacSOUP/D-2.7 (Mac OS X version 10.4.3) |
Dear developers,
trying to compile coreutils 5.93 (and 5.92) on IRIX 5.3 yields
cfe: Error: ./stat-time.h, line 93: Type struct timestruc of returning
expression is incompatible with type struct timespec of function return
type
return ((st)-> st_atim) ;
--^
cfe: Error: ./stat-time.h, line 107: Type struct timestruc of returning
expression is incompatible with type struct timespec of function return
type
return ((st)-> st_ctim) ;
--^
cfe: Error: ./stat-time.h, line 121: Type struct timestruc of returning
expression is incompatible with type struct timespec of function return
type
return ((st)-> st_mtim) ;
--^
On IRIX 5.3 /usr/include/sys/stat.h has:
struct stat {
dev_t st_dev;
long st_pad1[3]; /* reserved for network id */
ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;
uid_t st_uid;
gid_t st_gid;
dev_t st_rdev;
long st_pad2[2]; /* dev and off_t expansion */
off_t st_size;
long st_pad3; /* future off_t expansion */
timestruc_t st_atim;
timestruc_t st_mtim;
timestruc_t st_ctim;
long st_blksize;
long st_blocks;
char st_fstype[_ST_FSTYPSZ];
long st_pad4[8]; /* expansion area */
};
note the use of imestruc_t.
/usr/include/sys/time.h has
/*
* Higher resolution time information
*/
typedef struct timestruc {
time_t tv_sec; /* seconds */
long tv_nsec; /* and nanoseconds */
} timestruc_t;
hence the error message.
As an additional note, it would be helpful if configure honored SED as
it honors already GREP. The IRIX 5.3 sed unfortunately in not sufficient
for configure:
...
config.status: creating config.h
sed: command garbled: s,^\([ ]*#[ ]*\)[^ ]*\([ ][
]*_UINT32_T\)[ (].*$,\1define\2 1 ,
sed: command garbled: s,^\([ ]*#[ ]*\)[^ ]*\([ ][
]*HAVE_DECL_GETPASS\)[ (].*$,\1define\2 1 ,
sed: command garbled: s,^\([ ]*#[ ]*\)[^ ]*\([ ][
]*re_set_registers\)[ (].*$,\1define\2 rpl_re_set_registers ,
GNU sed or NetBSD nbsed works, but one has to manipulate the shell path
to make it being used.
Coreutils 5.21 in contrast compiles fine except that it tries to use
makeinfo:
sh[12]: makeinfo: not found
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
If there is anything else I can do to assist you please let me know.
Georg
--
Georg Schwarz http://home.pages.de/~schwarz/
address@hidden +49 178 8545053
- coreutils 5.93 on IRIX 5.3,
Georg Schwarz <=