Hello 
        I am trying to get lustre 1.4.7.3 running on our PPC64 IBM JS21's. I 
have managed to compile the luster kernel 1.4.7.3 for it  but failed to compile 
the lustre tools as it failed with the following problem.

make[4]: Entering directory `/scr2/src/lustre-1.4.7.3/lustre/utils'
gcc -m64 -g -Wall -fPIC -g -O2 -L../../lnet/utils  -o llverfs  llverfs.o 
-lext2fs -le2p
/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/ppc64-redhat-linux/3.4.6/../../../libext2fs.so when searching for 
-lext2fs
/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/ppc64-redhat-linux/3.4.6/../../../libext2fs.a when searching for 
-lext2fs
/usr/bin/ld: skipping incompatible /usr/lib/libext2fs.so when searching for 
-lext2fs
/usr/bin/ld: skipping incompatible /usr/lib/libext2fs.a when searching for 
-lext2fs
/usr/bin/ld: cannot find -lext2fs
collect2: ld returned 1 exit status
make[4]: *** [llverfs] Error 1
make[4]: Leaving directory `/scr2/src/lustre-1.4.7.3/lustre/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/scr2/src/lustre-1.4.7.3/lustre/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/scr2/src/lustre-1.4.7.3/lustre'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/scr2/src/lustre-1.4.7.3'
make: *** [all] Error 2    


It was suggested I needed to compile a version of e2fsprogs from lustre itself 
which I have tried to do , as you can see from the listing below it is not 
happy, any suggestions would be very welcome .


    CC prof_err.c
        CC pass6.c
pass6.c: In function `lfsck_get_last_id':
pass6.c:738: warning: implicit declaration of function `ext2fs_swab64'
        CC lfsck_common.c
lfsck_common.c: In function `cputole_mds_hdr':
lfsck_common.c:184: warning: implicit declaration of function `ext2fs_swab64'
        LD e2fsck.static
pass6.o(.text+0x1894): In function `lfsck_set_last_id':
/usr/src/lustre-1.4.7.3/e2fsprogs-1.39.cfs1/e2fsck/pass6.c:771: undefined 
reference to `ext2fs_swab64'
pass6.o(.text+0x2b58): In function `e2fsck_pass6_ost':
/usr/src/lustre-1.4.7.3/e2fsprogs-1.39.cfs1/e2fsck/pass6.c:738: undefined 
reference to `ext2fs_swab64'
lfsck_common.o(.text+0x54c): In function `cputole_mds_hdr':
/usr/src/lustre-1.4.7.3/e2fsprogs-1.39.cfs1/e2fsck/lfsck_common.c:184: 
undefined reference to `ext2fs_swab64'
lfsck_common.o(.text+0x56c):/usr/src/lustre-1.4.7.3/e2fsprogs-1.39.cfs1/e2fsck/lfsck_common.c:185:
 undefined reference to `ext2fs_swab64'
lfsck_common.o(.text+0x58c):/usr/src/lustre-1.4.7.3/e2fsprogs-1.39.cfs1/e2fsck/lfsck_common.c:186:
 undefined reference to `ext2fs_swab64'
lfsck_common.o(.text+0x5a8):/usr/src/lustre-1.4.7.3/e2fsprogs-1.39.cfs1/e2fsck/lfsck_common.c:187:
 more undefined references to `ext2fs_swab64' follow
collect2: ld returned 1 exit status
make[2]: *** [e2fsck.static] Error 1
make[2]: Leaving directory `/scr2/src/lustre-1.4.7.3/e2fsprogs-1.39.cfs1/e2fsck'
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory `/scr2/src/lustre-1.4.7.3/e2fsprogs-1.39.cfs1'
make: *** [all] Error 2


Thanks for any help ...prod....:-)

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

Reply via email to