Andreas,

Ok here what i did, i removed the lines with the - and add the line with +,
I got a new error.

Thanks
Best Regards

H. N. Harake


Type 'make' to build Lustre.
+ make -j 4 -s
Making all in .
/usr/src/packages/BUILD/lustre-1.6.0.1/lustre/obdclass/linux/linux- module.c:447:3: #error Cannot continue: Your Lustre kernel patch is older than the sources
make[7]: ***
[/usr/src/packages/BUILD/lustre-1.6.0.1/lustre/obdclass/linux/linux- module.o] Error 1
make[6]: *** [/usr/src/packages/BUILD/lustre-1.6.0.1/lustre/obdclass]
Error 2
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [/usr/src/packages/BUILD/lustre-1.6.0.1/lustre] Error 2
make[4]: *** [_module_/usr/src/packages/BUILD/lustre-1.6.0.1] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.30233 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.30233 (%build)
make: *** [rpms] Error 1


On 26-Jul-2007, at 13:42, Andreas Dilger wrote:

On Jul 26, 2007  11:44 +0200, H. N. HARAKE wrote:
Dear Andreas,

I tried to add --disable-server  but still i am facing problems:

/usr/src/packages/BUILD/lustre-1.6.0.1/lustre/lvfs/lvfs_linux.c: 466:2:
#error rdonly patchset must be updated [cfs bz11248]
make[7]: ***

Please try changing lvfs_linux.c:465 as below. This should work, though I haven't tried it myself. This part of the code isn't used on a client.

-#ifdef LUSTRE_KERNEL_VERSION
-#ifdef HAVE_CLEAR_RDONLY_ON_PUT
-#error rdonly patchset must be updated [cfs bz11248]
-#endif
+#ifdef HAVE_CLEAR_RDONLY_ON_PUT

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.


_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Reply via email to