Hi Joel, On Monday 09 July 2007 19:14:40 Joel Robison wrote: > Bernd, > > I have downloaded the file you suggested for 2.6.20+ and I am at a > stand still with the following issues: > > 1. After patching the 2.6.20 vanilla kernel and configuring lustre: ./ > configure --disable-liblustre --disable-tests and then running I make > I recieve: > make[3]: Entering directory `/usr/src/linux-2.6.20' > CC [M] /root/lustre-1.6.0.1-rc1-ql6/lnet/libcfs/linux/linux-proc.o > /root/lustre-1.6.0.1-rc1-ql6/lnet/libcfs/linux/linux-proc.c:168: > error: static declaration of âtop_tableâ follows non-static > declaration > /root/lustre-1.6.0.1-rc1-ql6/lnet/libcfs/linux/linux-proc.c:65: > error: previous declaration of âtop_tableâ was here
interesting with gcc-3.4 this works, whats your compiler version? I was from the very beginning a bit sceptical if its legal first to declare a variable as extern and then again static. Anyway you can safely remove the entire line 65, it was only required for a previous version of the 2.6.21-sysctl.patch. Its good your compiler complained about it, so I can remove this useless forgotten line :) > I tried patching against 2.6.22 but I received some errors in the > quilt push -av process which I will post later. Additionally the > configure process complains about not having a definition for 2.6.22 > in "lustre/autoconf/lustre-core.m4" Well, 2.6.22 was only released today and I only did run a very very basic test if it works at all. If you want to try it, you will need mercurial and need to run "hg qpush -af" before running configure. The 2.6.22 patches so far do not have any version tests, so applying them and using a kernel <2.6.22 won't work, thus I didn't apply them to -rc1. The configure script also still doesn't know about 2.6.22, so you need to compile with "make LDISKFS_SERIES=2.6.21-vanilla.series ...". Cheers, Bernd -- Bernd Schubert Q-Leap Networks GmbH _______________________________________________ Lustre-discuss mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
