<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=193083813-29012007>Trying to install
OFED 1.0 on RH EL 2.6.9-42. Recompile of kernel gives redefinition of gfp_t. Can
someone point me to a fix? I suspect there's a kernel setting I need to
tweak.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=193083813-29012007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=193083813-29012007>[root@FedoraCore121
~]# uname -a<BR>Linux FedoraCore121 2.6.9-42.EL_lustre.1.5.95smp #1 SMP Thu Sep
28 06:36:13 MDT 2006 i686 i686 i386 GNU/Linux<BR></DIV></SPAN></FONT>
<DIV><FONT size=2>[root@FedoraCore121 ~]# vim /tmp/OFED.1479.log<BR> gcc
-Wp,-MD,/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/.index.o.d
-nostdinc -iwithprefix include -D__KERNEL__
-I/var/tmp/OFED/tmp/openib/openib/include
-I/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/include
-Iinclude -Iinclude2
-I/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include
-I/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core -Wall
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os
-fomit-frame-pointer -Wdeclaration-after-statement -pipe -msoft-float -m32
-fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts
-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -mregparm=3
-I/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/asm-i386/mach-generic
-Iinclude/asm-i386/mach-generic
-I/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/asm-i386/mach-default
-Iinclude/asm-i386/mach-default
-I/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/include
-I/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/ipoib
-I/var/tmp/OFED/tmp/openib/openib/drivers/infiniband/debug -D__nocast= -DMODULE
-DKBUILD_BASENAME=index -DKBUILD_MODNAME=findex -c -o
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/.tmp_index.o
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/index.c<BR>In
file included from
/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/linux/slab.h:15,<BR>
from
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/include/linux/slab.h:4,<BR>
from
/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/linux/percpu.h:4,<BR>
from
/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/linux/sched.h:31,<BR>
from
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/include/linux/sched.h:4,<BR>
from
/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/linux/module.h:10,<BR>
from
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/index.c:34:<BR>/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/linux/gfp.h:133:
error: redefinition of typedef
'gfp_t'<BR>/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/include/linux/types.h:7:
error: previous declaration of 'gfp_t' was here<BR>In file included from
/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/linux/percpu.h:4,<BR>
from
/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/linux/sched.h:31,<BR>
from
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/include/linux/sched.h:4,<BR>
from
/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/linux/module.h:10,<BR>
from
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/index.c:34:<BR>/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/include/linux/slab.h:8:
error: conflicting types for
'kzalloc'<BR>/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/linux/slab.h:101:
error: previous declaration of 'kzalloc' was here<BR>In file included from
/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/linux/module.h:10,<BR>
from
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/index.c:34:<BR>/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/include/linux/sched.h:8:
error: static declaration of 'wait_for_completion_timeout' follows non-static
declaration<BR>/usr/src/linux-2.6.9-42.EL_lustre.1.5.95/include/linux/completion.h:32:
error: previous declaration of 'wait_for_completion_timeout' was
here<BR>make[5]: ***
[/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/index.o] Error
1<BR><SPAN class=193083813-29012007> </SPAN></FONT></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Timothy
Snider</SPAN><SPAN style="FONT-SIZE: 10pt"> <BR></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Storage Architect<BR>Strategic
Planning, Technology and Architecture</SPAN></DIV>
<DIV class=Section1>
<P class=MsoNormal style="MARGIN-BOTTOM: 4pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">LSI Logic Corporation<BR>3718 North
Rock Road<BR>Wichita, KS 67226<BR>(316) 636-8736 </SPAN><BR><U><SPAN
style="FONT-FAMILY: Arial"><A href="mailto:tim.snider@lsi.com"><SPAN
style="FONT-SIZE: 10pt">tim.snider@lsi.com</SPAN></A></SPAN></U><SPAN
style="FONT-SIZE: 10pt"> </SPAN></P></DIV>
<DIV> </DIV></BODY></HTML>