Hi
I wanted to update anyone that was interested in the progress of
getting lustre compiled for PPC64 on IBM JS21 blades. I have a catch 22
situation which makes no sense to me maybe someone out there knows why I have
this situation and why this is happening.
The make of lustre-1.4.7.3 fails with
make[3]: Leaving directory `/scr2/src/lustre-1.4.7.3/lustre/obdecho'
Making all in doc
make[3]: Entering directory `/scr2/src/lustre-1.4.7.3/lustre/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/scr2/src/lustre-1.4.7.3/lustre/doc'
Making all in utils
make[3]: Entering directory `/scr2/src/lustre-1.4.7.3/lustre/utils'
Making all in Lustre
make[4]: Entering directory `/scr2/src/lustre-1.4.7.3/lustre/utils/Lustre'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/scr2/src/lustre-1.4.7.3/lustre/utils/Lustre'
make[4]: Entering directory `/scr2/src/lustre-1.4.7.3/lustre/utils'
gcc -m64 -g -Wall -fPIC -g -O2 -L../../lnet/utils -o llverdev llverdev.o
-lext2fs -lblkid
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/ppc64-redhat-linux/3.4.5/../../../libblkid.a when searching for
-lblkid
/usr/bin/ld: skipping incompatible /usr/lib/libblkid.a when searching for
-lblkid
/usr/bin/ld: cannot find -lblkid
collect2: ld returned 1 exit status
make[4]: *** [llverdev] 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
Now I have found where the libblkid.a file is built in the e2fsprogs-1.39.cfs1
and this fails with the following if I try to compile it.
I configured this with --with-lustre=/scr2/src/lustre-1.4.7.3/
lfsck.c: In function `get_response':
lfsck.c:1553: warning: comparison is always false due to limited range of data
type
LD lfsck
cc -pthread -I /scr2/src/lustre-1.4.7.3//lustre/include -Wall lfsck_common.o
lfsck.o -o lfsck -L /scr2/src/lustre-1.4.7.3//lustre/utils -llustreapi
../lib/libext2fs.a ../lib/libcom_err.a ../lib/libblkid.a ../lib/libuuid.a
-ldb-4.2
/usr/bin/ld: skipping incompatible
/scr2/src/lustre-1.4.7.3//lustre/utils/liblustreapi.a when searching for
-llustreapi
/usr/bin/ld: cannot find -llustreapi
collect2: ld returned 1 exit status
make[2]: *** [lfsck] 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
But at this point the library I need to continue to build the lustre-1.4.7.3
tools is now available in the failed build in the e2fsprogs tree. If I copy the
needed library out to my search path and then do a make with tests and
liblustre disabled I can build the lustre tools ok.
Unfortunately I need the e2fsprogs to build fully and so I need a complete
liblustre library to get the e2fsprogs to build it seems.
I need lustre-1.4.7.3 to build first but I have no idea where to get the
library archive it needs to do it with. I also know that I am looking at a
further problem with liblustre if I cannot get the e2fsprogs to build without
them.
>From the client perspective I have a running lustre kernel and I am able to
>mount the lustre file system but I need the e2fsprogs for the oss's .
Thanks
Arun
_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss