2009-08-11 12:05:29

by maximilian attems

[permalink] [raw]
Subject: nfs MNT include cleanup

2ad780978b7c0c3e7877949f098cbd06e7c73839 broke klibc build
MNTPROC_MNT and MNTPROC_UMNT no longer defined.

usr/kinit/nfsmount/mount.c: In function =E2=80=98mount_call=E2=80=99:
usr/kinit/nfsmount/mount.c:179: error: =E2=80=98MNTPROC_MNT=E2=80=99 un=
declared (first use in this function)
usr/kinit/nfsmount/mount.c:179: error: (Each undeclared identifier is r=
eported only once
usr/kinit/nfsmount/mount.c:179: error: for each function it appears in.=
)
usr/kinit/nfsmount/mount.c: In function =E2=80=98mount_v2=E2=80=99:
usr/kinit/nfsmount/mount.c:211: error: =E2=80=98MNTPROC_MNT=E2=80=99 un=
declared (first use in this function)
usr/kinit/nfsmount/mount.c: In function =E2=80=98umount_v2=E2=80=99:
usr/kinit/nfsmount/mount.c:226: error: =E2=80=98MNTPROC_UMNT=E2=80=99 u=
ndeclared (first use in this function)
usr/kinit/nfsmount/mount.c: In function =E2=80=98mount_v3=E2=80=99:
usr/kinit/nfsmount/mount.c:232: error: =E2=80=98MNTPROC_MNT=E2=80=99 un=
declared (first use in this function)
usr/kinit/nfsmount/mount.c: In function =E2=80=98umount_v3=E2=80=99:
usr/kinit/nfsmount/mount.c:251: error: =E2=80=98MNTPROC_UMNT=E2=80=99 u=
ndeclared (first use in this function)
make[4]: *** [usr/kinit/nfsmount/mount.o] Error 1
make[3]: *** [usr/kinit/nfsmount] Error 2
make[2]: *** [all] Error 2
make[1]: *** [klibc] Error 2
make[1]: Leaving directory `/home/maks/src/klibc-latest'



2009-08-18 10:37:20

by maximilian attems

[permalink] [raw]
Subject: Re: nfs MNT include cleanup

On Tue, 11 Aug 2009, Chuck Lever wrote:

> On Aug 11, 2009, at 6:44 AM, maximilian attems wrote:
> >2ad780978b7c0c3e7877949f098cbd06e7c73839 broke klibc build
> >MNTPROC_MNT and MNTPROC_UMNT no longer defined.
>=20
> I assume then that klibc is out of tree? I can't find it in my
> kernel repo.

sorry for late reply, indeed you'll find it here:
http://git.kernel.org/?p=3Dlibs/klibc/klibc.git;a=3Dsummary
=20
> >usr/kinit/nfsmount/mount.c: In function =E2=80=98mount_call=E2=80=99=
:
> >usr/kinit/nfsmount/mount.c:179: error: =E2=80=98MNTPROC_MNT=E2=80=99=
undeclared
> >(first use in this function)
> >usr/kinit/nfsmount/mount.c:179: error: (Each undeclared identifier
> >is reported only once
> >usr/kinit/nfsmount/mount.c:179: error: for each function it
> >appears in.)
> >usr/kinit/nfsmount/mount.c: In function =E2=80=98mount_v2=E2=80=99:
> >usr/kinit/nfsmount/mount.c:211: error: =E2=80=98MNTPROC_MNT=E2=80=99=
undeclared
> >(first use in this function)
> >usr/kinit/nfsmount/mount.c: In function =E2=80=98umount_v2=E2=80=99:
> >usr/kinit/nfsmount/mount.c:226: error: =E2=80=98MNTPROC_UMNT=E2=80=99=
undeclared
> >(first use in this function)
> >usr/kinit/nfsmount/mount.c: In function =E2=80=98mount_v3=E2=80=99:
> >usr/kinit/nfsmount/mount.c:232: error: =E2=80=98MNTPROC_MNT=E2=80=99=
undeclared
> >(first use in this function)
> >usr/kinit/nfsmount/mount.c: In function =E2=80=98umount_v3=E2=80=99:
> >usr/kinit/nfsmount/mount.c:251: error: =E2=80=98MNTPROC_UMNT=E2=80=99=
undeclared
> >(first use in this function)
> >make[4]: *** [usr/kinit/nfsmount/mount.o] Error 1
> >make[3]: *** [usr/kinit/nfsmount] Error 2
> >make[2]: *** [all] Error 2
> >make[1]: *** [klibc] Error 2
> >make[1]: Leaving directory `/home/maks/src/klibc-latest'

we might still define those for ourselve, let's see..


2009-08-11 18:56:12

by Chuck Lever

[permalink] [raw]
Subject: Re: nfs MNT include cleanup

On Aug 11, 2009, at 6:44 AM, maximilian attems wrote:
> 2ad780978b7c0c3e7877949f098cbd06e7c73839 broke klibc build
> MNTPROC_MNT and MNTPROC_UMNT no longer defined.

I assume then that klibc is out of tree? I can't find it in my kernel =
=20
repo.

> usr/kinit/nfsmount/mount.c: In function =91mount_call=92:
> usr/kinit/nfsmount/mount.c:179: error: =91MNTPROC_MNT=92 undeclared =20
> (first use in this function)
> usr/kinit/nfsmount/mount.c:179: error: (Each undeclared identifier =20
> is reported only once
> usr/kinit/nfsmount/mount.c:179: error: for each function it appears =20
> in.)
> usr/kinit/nfsmount/mount.c: In function =91mount_v2=92:
> usr/kinit/nfsmount/mount.c:211: error: =91MNTPROC_MNT=92 undeclared =20
> (first use in this function)
> usr/kinit/nfsmount/mount.c: In function =91umount_v2=92:
> usr/kinit/nfsmount/mount.c:226: error: =91MNTPROC_UMNT=92 undeclared =
=20
> (first use in this function)
> usr/kinit/nfsmount/mount.c: In function =91mount_v3=92:
> usr/kinit/nfsmount/mount.c:232: error: =91MNTPROC_MNT=92 undeclared =20
> (first use in this function)
> usr/kinit/nfsmount/mount.c: In function =91umount_v3=92:
> usr/kinit/nfsmount/mount.c:251: error: =91MNTPROC_UMNT=92 undeclared =
=20
> (first use in this function)
> make[4]: *** [usr/kinit/nfsmount/mount.o] Error 1
> make[3]: *** [usr/kinit/nfsmount] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [klibc] Error 2
> make[1]: Leaving directory `/home/maks/src/klibc-latest'

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com