Hi Michael, RHEL5 support for patchless build merged to lustre tree after 1.6.0 released and will be included in 1.6.1. bugzilla bug 11647 consist patch for allow build lustre against RHEL5 (i tested with RHEL5 beta2), you can apply this patch to you lustre sources by hand, also you possible need patch https://bugzilla.lustre.org/attachment.cgi?id=10941 for detect export truncate_complete_page.
В Пнд, 11/06/2007 в 13:47 +0200, Michael Menge пишет: > Hi, > > i think may SMIME/Signature caused some trouble, so here is my mail agian > ---------------------------------------------------- > > i try to setup a Scientific Linux 5.0 on a x86_64 platform as a Lustre client. > SL5.0 uses a RHEL 5.0 as base. I didn't want to use the old 2.6.9 > rpms, so i tried to compile the client version for the unpached kernel > 2.6.18. > > after a succesful > ./configure --with-linux=/usr/src/kernels/2.6.18-8.1.4.el5-x86_64/ > > make produced the following error > > /tmp/lustre-1.6.0.1/lustre/include/linux/lustre_patchless_compat.h:42: > error: static > declaration of ?truncate_complete_page? follows non-static declaration > include/linux/mm.h:1017: error: previous declaration of > ?truncate_complete_page? was here > make[6]: *** [/tmp/lustre-1.6.0.1/lnet/lnet/router_proc.o] Error 1 > > gcc --version > gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52) > > setting CC=gcc34 did not change the error. > > After that i pached the vanilla 2.6.18.8 kernel with quilt. > But configure had the following error > > ./configure --with-linux=/usr/src/kernels/linux-2.6.18.8/ > ... > checking if you are using Linux 2.6... yes > checking for external module build support... yes > checking that modules can be built at all... no > configure: WARNING: Consult config.log for details. > configure: WARNING: If you are trying to build with a kernel-source > rpm, consult > build/README.kernel-source > configure: error: Kernel modules cannot be build. > > Any hints whats gowing wrong or how to compile the pachless client > or the pached 2.6.18.8? > > > Regards > > Michael Menge > > -------------------------------------------------------------------------------- > M.Menge Tel.: (49) 7071/29-70316 > Universitaet Tuebingen Fax.: (49) 7071/29-5912 > Zentrum fuer Datenverarbeitung mail: > [EMAIL PROTECTED] > Waechterstrasse 76 > 72074 Tuebingen > > _______________________________________________ > Lustre-discuss mailing list > [email protected] > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss -- Alexey Lyashkov <[EMAIL PROTECTED]> Beaver team, Cluster filesystem _______________________________________________ Lustre-discuss mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
