lkml.org 
[lkml]   [2000]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.3.99-pre3 compile failure [NFS

make[3]: Entering directory `/usr/src/Linux/23/linux/fs/nfs'
gcc -D__KERNEL__ -I/usr/src/Linux/23/linux/include -D__SMP__ -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-march=i686 -c -o nfsroot.o nfsroot.c
nfsroot.c:148: `NFS_MOUNT_LOCK' undeclared here (not in a function)
nfsroot.c:148: initializer element for `root_bool_opts[10].and_mask' is not constant
make[3]: *** [nfsroot.o] Error 1
make[3]: Leaving directory `/usr/src/Linux/23/linux/fs/nfs'
make[2]: *** [first_rule] Error 2

The fix AFAIK is like the one below. It makes stuff compile.
But should NFS_MOUNT_LOCK be 0x0400 is only a gues..I
assume the 3 in comments refers to NFSv3.

--- include/linux/nfs_mount.h-old Fri Mar 24 14:01:31 2000
+++ include/linux/nfs_mount.h Fri Mar 24 14:02:05 2000
@@ -49,5 +49,6 @@
#define NFS_MOUNT_VER3 0x0080 /* 3 */
#define NFS_MOUNT_KERBEROS 0x0100 /* 3 */
#define NFS_MOUNT_NONLM 0x0200 /* 3 */
+#define NFS_MOUNT_LOCK 0x0400 /* 3 */

#endif


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

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.038 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site