Hello Jean-Marc,
                Yes I tried that , what I do not understand is why it complains 
of :---

/usr/bin/ld: skipping incompatible /usr/src/lustre/lustre/utils/liblustreapi.a

May be I need to get the utils built first? but then I am back to why the utils 
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 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'P

Boy this is hard to get compiled , the configure before the make does not give 
any clues to possible problems :-), I am not sure what to do next.

I wondered why Lustre have not prebuilt  RPM's for PPC64 , maybe Redhat support 
is just to much trouble :-), they seem to have the INTEL RPMS to  hand.


Thanks

Arun



-----Original Message-----
From: Jean-Marc Saffroy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 29, 2006 2:55 PM
To: tagarsi, arun
Cc: [email protected]
Subject: RE: [Lustre-discuss] Please help!! PPC64 compiling failure 


On Wed, 29 Nov 2006, tagarsi, arun wrote:

>        LD lfsck
> cc -pthread  -I /usr/src/lustre/lustre/include -Wall lfsck_common.o lfsck.o 
> -o lfsck -L /usr/src/lustre/lustre/utils -llustreapi ../lib/libext2fs.a 
> ../lib/libcom_err.a ../lib/libblkid.a  ../lib/libuuid.a -ldb-4.2
> /usr/bin/ld: skipping incompatible 
> /usr/src/lustre/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
>
>
> I can locate the lusterapi , I have the source for the e2fsprogs in the 
> main directory of the lustre-1.4.7.3 source.
>
> [EMAIL PROTECTED] e2fsprogs-1.39.cfs1]# locate lustreapi
> /scr2/src/lustre-1.4.7.3/lustre/include/lustre/liblustreapi.h
> /scr2/src/lustre-1.4.7.3/lustre/utils/liblustreapi.c
> /scr2/src/lustre-1.4.7.3/lustre/utils/liblustreapi.a
> /scr2/src/lustre-1.4.7.3/lustre/utils/.deps/liblustreapi.Po
> /scr2/src/lustre-1.4.7.3/lustre/utils/liblustreapi.o
>
>
> Do I have to set up my environments in some way to enable the make to find 
> all the relevant libraries/ headers ?

Did you use --with-lustre=/scr2/src/lustre-1.4.7.3/ with the e2fsprogs 
configure?


-- 
Jean-Marc Saffroy - [EMAIL PROTECTED]

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

Reply via email to