Messages in this thread Patch in this message | | | Date | Fri, 24 Mar 2000 14:10:43 -0500 (EST) | From | Adam <> | Subject | 2.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/
| |