> "John David Anglin" <[EMAIL PROTECTED]> wrote: > > Here is an updated patch that allows building 5.0.1 under ultrix 4.3. > > Thanks, but wouldn't the new part of your stat.c patch make it fail to > compile on Ultrix 4.4? The code makes me think that ultrix-4.4 lacks > one of sys/mount.h and sys/param.h. As such, it'd never include > the three headers it needs.
I don't have access to an Ultrix 4.4 system so I can't say for sure whether it lacks one of sys/mount.h and sys/param.h, but I would bet that it does have them. I know that Ultrix 4.3 needs sys/mount.h, sys/param.h and the three other headers. This was the fix suggested by Bert Deknuydt: Hereby the fix for stat.c on Ultrix. This is on Ultrix 4.4, but I expect the same fix will do for 4.3a and 4.5. Insert the following in stat.c, after the hack for NetBSD #ifdef __ultrix__ #include <netinet/in.h> #include <nfs/nfs_clnt.h> #include <nfs/vfs.h> #endif Possibly, Bert could comment on the placement of the includes for 4.4 and whether it needs sys/mount.h and sys/param.h. > Would you please see if <stddef.h> works in place of <sys/types.h> > in those two files? No, that won't work. stat.h needs typedefs for dev_t, st_mode, etc. > > I am seeing problems running the testsuite. Files are not being found > > in a number of the tests. > > Building from CVS, I presume? Yes. Dave -- J. David Anglin [EMAIL PROTECTED] National Research Council of Canada (613) 990-0752 (FAX: 952-6602) _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
