Hi,

something is still missing. After patching lustre-1.6.0.1 with

2.6.21-sysctl.patch
export_truncate_page.diff
patchless-2.6.21-rhel5.diff

running autoconf

and

configure --with-linux=/usr/src/kernels/2.6.18-8.1.4.el5-x86_64/
CC=/usr/bin/gcc34

make exits with the following error:

/tmp/lustre-1.6.0.1/lnet/lnet/router.c:115:52: macro "INIT_WORK" requires 3 arguments, but only 2 given
/tmp/lustre-1.6.0.1/lnet/lnet/router.c: In function `kpr_upcall':
/tmp/lustre-1.6.0.1/lnet/lnet/router.c:115: error: `INIT_WORK' undeclared (first use in this function) /tmp/lustre-1.6.0.1/lnet/lnet/router.c:115: error: (Each undeclared identifier is reported only once /tmp/lustre-1.6.0.1/lnet/lnet/router.c:115: error: for each function it appears in.)
make[6]: *** [/tmp/lustre-1.6.0.1/lnet/lnet/router.o] Error 1
make[5]: *** [/tmp/lustre-1.6.0.1/lnet/lnet] Error 2
make[4]: *** [/tmp/lustre-1.6.0.1/lnet] Error 2
make[3]: *** [_module_/tmp/lustre-1.6.0.1] Error 2
make[3]: Leaving directory `/usr/src/kernels/2.6.18-8.1.4.el5-x86_64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/tmp/lustre-1.6.0.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/lustre-1.6.0.1'
make: *** [all] Error 2

which other patches do i need?

Quoting Bernd Schubert <[EMAIL PROTECTED]>:

On Wednesday 20 June 2007 10:23:13 Michael Menge wrote:
Hi,

thanks for the help, but i still have some trouble to build a patchles
client for lustre-1.6.0.1 on RHEL5 x86_64

I patched lustre-1.6.0.1 with export_truncate_page.diff and
patchless-2.6.21-rhel5.diff but the file
lnet/include/libcfs/winnt/kp30.h was missing for the patch to succeed.

/configure --with-linux=/usr/src/kernels/2.6.18-8.1.4.el5-x86_64/
CC=/usr/bin/gcc34

showed no errors, but make had the following error:

In file included from
/tmp/lustre-1.6.0.1/lnet/libcfs/linux/linux-proc.c:30:
include/linux/config.h:6:2: warning: #warning Including config.h is
deprecated.
/tmp/lustre-1.6.0.1/lnet/libcfs/linux/linux-proc.c: In function
`insert_proc': /tmp/lustre-1.6.0.1/lnet/libcfs/linux/linux-proc.c:235:
error: too few arguments to function `register_sysctl_table'
make[6]: *** [/tmp/lustre-1.6.0.1/lnet/libcfs/linux/linux-proc.o] Error 1
make[5]: *** [/tmp/lustre-1.6.0.1/lnet/libcfs] Error 2
make[4]: *** [/tmp/lustre-1.6.0.1/lnet] Error 2
make[3]: *** [_module_/tmp/lustre-1.6.0.1] Error 2
make[3]: Leaving directory `/usr/src/kernels/2.6.18-8.1.4.el5-x86_64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/tmp/lustre-1.6.0.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/lustre-1.6.0.1'
make: *** [all] Error 2

Whats wrong?

See the attached patch.


Greetings from Tübingen ;) ,
Bernd


--
Bernd Schubert
Q-Leap Networks GmbH




--------------------------------------------------------------------------------
M.Menge                                 Tel.: (49) 7071/29-70316
Universitaet Tuebingen                  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED]
Waechterstrasse 76
72074 Tuebingen

Attachment: smime.p7s
Description: S/MIME krytographische Unterschrift

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

Reply via email to