bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updated build patch for hpux 10.20 and ultrix 4.3


From: John David Anglin
Subject: Re: Updated build patch for hpux 10.20 and ultrix 4.3
Date: Thu, 12 Jun 2003 11:07:05 -0400 (EDT)

> "John David Anglin" <address@hidden> 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                                  address@hidden
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]