Subject: Re: statfs->statvfs troubles.
To: <>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 04/24/2004 09:46:37
On Fri, Apr 23, 2004 at 10:29:46PM +0000, Christos Zoulas wrote:
> In article <20040423215746.GS24887@snowdrop.l8s.co.uk>,
> David Laight <david@l8s.co.uk> wrote:
> >> Hmm, src/UPDATING was updated finally:
> >>
> >> 20040418:
> >> Statfs(2) and friends have been replaced with statvfs(2). Before
> >> installing a newly build userland make sure that you are running
> >> a newly built kernel with COMPAT_20 set. In addition your libc
> >> build might not work (undefined SYS_statfs symbol) because make
> >> clean does not know how to remove files it does not know about
> >> anymore. Manually remove all objects from the libc build directory.
> >
> >The following patch to src/lib/libc/sys/Makefile.inc probably fixes
> >things. Can someone with a broken obj tree try it and then do an
> >update build?
>
> I know, but is it worth crudding the Makefile with this?
Most of the crud is because you have to remove entries from .depend.
A much easier way would be to rename statsfs.c to (say) statfs_compat.c
David
--
David Laight: david@l8s.co.uk