Please don't reply to lustre-devel. Instead, comment in Bugzilla by using the 
following link:
https://bugzilla.lustre.org/show_bug.cgi?id=11519




I need some advice on building lfsck. I downloaded e2fsprogs-1.39.cfs1-1.src.rpm
from the lustre ftp site, and configured it to point at lustre sources. It seems
to have found a different DB definition than expected since the compile fails on
line 68 below:

     54 
     55 int e2fsck_lfsck_cleanupdb(e2fsck_t ctx)
     56 {
     57         int i;
     58         int rc = 0;
     59         DB *dbp;
     60 
     61         if (ctx->lfsck_oinfo == NULL) {
     62                 return (0);
     63         }
     64 
     65         for (i = 0; i < ctx->lfsck_oinfo->ost_count; i++) {
     66                 if (ctx->lfsck_oinfo->ofile_ctx[i].dbp != NULL) {
     67                         dbp = ctx->lfsck_oinfo->ofile_ctx[i].dbp;
     68                         rc += dbp->close(dbp, 0);
     69                         ctx->lfsck_oinfo->ofile_ctx[i].dbp = NULL;
     70                 }


make[2]: Entering directory 
`/usr/local5/rklundt/e2fsprogs-1.39.cfs1/build/e2fsck'
        CC ../../e2fsck/pass6.c
../../e2fsck/pass6.c: In function `e2fsck_lfsck_cleanupdb':
../../e2fsck/pass6.c:68: error: too many arguments to function

config.log shows this:
DB_LIB='-ldb-4.2'

doesn't look quite right? This is a suse linux enterprise 9.2 dist on x86_64. 

Thanks for any advice.
Ruth

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

Reply via email to