Re: 2.6.18-rc4-mm3: ROOT_NFS=y compile error

From: Chuck Lever
Date: Sun Aug 27 2006 - 14:26:05 EST


----- Original Message ----- From: "Adrian Bunk" <bunk@xxxxxxxxx>
To: "Andrew Morton" <akpm@xxxxxxxx>; "Chuck Lever" <chuck.lever@xxxxxxxxxx>; "Trond Myklebust" <Trond.Myklebust@xxxxxxxxxx>
Cc: <linux-kernel@xxxxxxxxxxxxxxx>
Sent: Saturday, August 26, 2006 7:56 PM
Subject: 2.6.18-rc4-mm3: ROOT_NFS=y compile error


On Sat, Aug 26, 2006 at 04:09:22PM -0700, Andrew Morton wrote:
...
Changes since 2.6.18-rc4-mm2:
...
git-nfs.patch
...
git trees
...

This breaks CONFIG_ROOT_NFS=y:

<-- snip -->

...
CC fs/nfs/mount_clnt.o
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc4-mm3/fs/nfs/mount_clnt.c: In function âmnt_createâ:
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc4-mm3/fs/nfs/mount_clnt.c:82: error: implicit declaration of function âxprt_create_protoâ
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc4-mm3/fs/nfs/mount_clnt.c:82: warning: assignment makes pointer from integer without a cast
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc4-mm3/fs/nfs/mount_clnt.c:86: error: implicit declaration of function ârpc_create_clientâ
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc4-mm3/fs/nfs/mount_clnt.c:88: warning: assignment makes pointer from integer without a cast
make[3]: *** [fs/nfs/mount_clnt.o] Error 1

<-- snip -->

Looks like a patch got misapplied somewhere. All my copies of this patch series has this change, but Andrew's doesn't. Trond, let's hook up Monday and work this out.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/