I am back to trying to understand the failure shown below then , gcc -m64 -g -Wall -fPIC -g -O2 -L../../lnet/utils -o wirecheck wirecheck-wirecheck.o if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I../.. -D__arch_lib__ -D_LARGEFILE64_SOURCE=1 -DLUSTRE_UTILS=1 -include ../../config.h -I../../lnet/include -I../../lnet/include -I../../lustre/include -I../../lustre/include -g -Wall -fPIC -g -O2 -MT wiretest.o -MD -MP -MF ".deps/wiretest.Tpo" \ -c -o wiretest.o `test -f 'wiretest.c' || echo './'`wiretest.c; \ then mv -f ".deps/wiretest.Tpo" ".deps/wiretest.Po"; \ else rm -f ".deps/wiretest.Tpo"; exit 1; \ fi gcc -m64 -g -Wall -fPIC -g -O2 -L../../lnet/utils -o wiretest wiretest.o if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I../.. -D__arch_lib__ -D_LARGEFILE64_SOURCE=1 -DLUSTRE_UTILS=1 -include ../../config.h -I../../lnet/include -I../../lnet/include -I../../lustre/include -I../../lustre/include -g -O2 -MT llmount-llmount.o -MD -MP -MF ".deps/llmount-llmount.Tpo" \ -c -o llmount-llmount.o `test -f 'llmount.c' || echo './'`llmount.c; \ then mv -f ".deps/llmount-llmount.Tpo" ".deps/llmount-llmount.Po"; \ else rm -f ".deps/llmount-llmount.Tpo"; exit 1; \ fi gcc -m64 -g -Wall -fPIC -g -O2 -L../../lnet/utils -o llmount llmount-llmount.o ../../lnet/utils/libptlctl.a if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I../.. -D__arch_lib__ -D_LARGEFILE64_SOURCE=1 -DLUSTRE_UTILS=1 -include ../../config.h -I../../lnet/include -I../../lnet/include -I../../lustre/include -I../../lustre/include -g -Wall -fPIC -g -O2 -MT l_getgroups.o -MD -MP -MF ".deps/l_getgroups.Tpo" \ -c -o l_getgroups.o `test -f 'l_getgroups.c' || echo './'`l_getgroups.c; \ then mv -f ".deps/l_getgroups.Tpo" ".deps/l_getgroups.Po"; \ else rm -f ".deps/l_getgroups.Tpo"; exit 1; \ fi gcc -m64 -g -Wall -fPIC -g -O2 -L../../lnet/utils -o l_getgroups l_getgroups.o if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I../.. -D__arch_lib__ -D_LARGEFILE64_SOURCE=1 -DLUSTRE_UTILS=1 -include ../../config.h -I../../lnet/include -I../../lnet/include -I../../lustre/include -I../../lustre/include -g -Wall -fPIC -g -O2 -MT llverfs.o -MD -MP -MF ".deps/llverfs.Tpo" \ -c -o llverfs.o `test -f 'llverfs.c' || echo './'`llverfs.c; \ then mv -f ".deps/llverfs.Tpo" ".deps/llverfs.Po"; \ else rm -f ".deps/llverfs.Tpo"; exit 1; \ fi llverfs.c: In function `main': llverfs.c:469: warning: comparison is always true due to limited range of data type 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
By the way if I ignore the lfsck in the e2fsprogs make it does allow it to finish. I wonder what the hack to force compile the e2fsprogs is as it is mentioned in the bug report as hacking a m4 file...hacking it how as the only file I can see is aclocal.m4. Thanks for all your help Arun -----Original Message----- From: Jean-Marc Saffroy [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 3:48 PM To: tagarsi, arun Cc: [email protected] Subject: RE: [Lustre-discuss] Please help!! PPC64 compiling failure On Wed, 29 Nov 2006, tagarsi, arun wrote: > 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 :-- Yes, Lustre should be built first, then e2fsprogs. Maybe you should check that both Lustre and e2fsprogs are built with -m64? Anyway you may have other problems with lfsck after that, see: https://bugzilla.lustre.org/show_bug.cgi?id=10626 -- Jean-Marc Saffroy - [EMAIL PROTECTED] _______________________________________________ Lustre-discuss mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
