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