<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1255">
<TITLE>IB Core compile problem on AS3.0</TITLE>
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2>
<DIV><SPAN class=014461720-04082004><FONT face=Arial color=#0000ff
size=2>Also,</FONT></SPAN></DIV>
<DIV><SPAN class=014461720-04082004><FONT face=Arial color=#0000ff size=2>This
happens only on x86 and not on Opteron.</FONT></SPAN></DIV>
<DIV><SPAN class=014461720-04082004><FONT face=Arial color=#0000ff
size=2>Ram.</FONT></SPAN></DIV></FONT></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Ram Izhaki
[mailto:ram@mellanox.co.il]<BR><B>Sent:</B> Wednesday, August 04, 2004 11:18
AM<BR><B>To:</B> 'openib-general@openib.org'<BR><B>Subject:</B>
[openib-general] IB Core compile problem on AS3.0<BR><BR></FONT></DIV>
<P><FONT face=Arial size=2>Roland,</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>Can you help me
here?</FONT><FONT face="Times New Roman"><BR></FONT><FONT face=Arial size=2>I
am getting this compile error both on RH EL 3.0 and RH 9.0:</FONT><FONT
face="Times New Roman"> </FONT><BR><FONT face=Arial size=2>make -C core
modules</FONT><FONT face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>make[2]: Entering directory
`/usr/src/linux-2.4.21-15.EL/drivers/infiniband/core'</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>perl
generate_pkt_access.pl access smp_packet.desc > smp_access.c || ( rm -f
smp_access.c && exit 1 )</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>perl
generate_pkt_access.pl header smp_packet.desc > smp_access.h || ( rm -f
smp_access.h && exit 1 )</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>perl
generate_pkt_access.pl type smp_packet.desc > smp_types.h || ( rm -f
smp_types.h && exit 1 )</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>perl
generate_pkt_access.pl header pm_packet.desc > pm_access.h || ( rm -f
pm_access.h && exit 1 )</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>perl
generate_pkt_access.pl type pm_packet.desc > pm_types.h || ( rm -f
pm_types.h && exit 1 )</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>gcc -D__KERNEL__
-I/usr/src/linux-2.4.21-15.EL/include -Wall -Wstrict-prototypes -Wno-trigraphs
-O2 -fno-strict-aliasing -fno-common -Wno-unused -fomit-frame-pointer -pipe
-freorder-blocks -mpreferred-stack-boundary=2 -march=i686 -DMODULE
-DMODVERSIONS -include /usr/src/linux-2.4.21-15.EL/include/linux/modversions.h
-I/usr/src/linux-2.4.21-15.EL/drivers/infiniband/include
-I/usr/src/linux-2.4.21-15.EL/drivers/infiniband/ulp/ipoib -DIN_TREE_BUILD
-DTS_HOST_DRIVER -D_NO_DATA_PATH_TRACE -nostdinc -iwithprefix include
-DKBUILD_BASENAME=smp_access -c -o smp_access.o smp_access.c</FONT></P>
<P><FONT face=Arial size=2>In file included from
/usr/src/linux-2.4.21-15.EL/include/linux/prefetch.h:13,</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>from
/usr/src/linux-2.4.21-15.EL/include/linux/list.h:6,</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>from
/usr/src/linux-2.4.21-15.EL/drivers/infiniband/include/ts_ib_core_types.h:29,</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>from
smp_types.h:9,</FONT><FONT face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>from smp_access.h:9,</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>from
smp_access.c:6:</FONT><FONT face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:61: warning:
parameter names (without types) in function declaration</FONT></P>
<P><FONT face=Arial
size=2>/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:61: field
`loops_per_jiffy_R_ver_str' declared as a function</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:84: invalid suffix
on integer constant</FONT><FONT face="Times New Roman"><BR></FONT><FONT
face=Arial size=2>/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:84:
syntax error before numeric constant</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:84: warning:
function declaration isn't a prototype</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:268: invalid suffix
on integer constant</FONT><FONT face="Times New Roman"><BR></FONT><FONT
face=Arial size=2>/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:268:
syntax error before numeric constant</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:268: warning:
function declaration isn't a prototype</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:272: warning:
parameter names (without types) in function declaration</FONT></P>
<P><FONT face=Arial size=2>In file included from
/usr/src/linux-2.4.21-15.EL/include/linux/spinlock.h:56,</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>from
/usr/src/linux-2.4.21-15.EL/drivers/infiniband/include/ts_ib_core_types.h:30,</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>from
smp_types.h:9,</FONT><FONT face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>from smp_access.h:9,</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>from
smp_access.c:6:</FONT><FONT face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>/usr/src/linux-2.4.21-15.EL/include/asm/spinlock.h:9: invalid suffix on
integer constant</FONT><FONT face="Times New Roman"><BR></FONT><FONT
face=Arial size=2>/usr/src/linux-2.4.21-15.EL/include/asm/spinlock.h:9: syntax
error before numeric constant</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>/usr/src/linux-2.4.21-15.EL/include/asm/spinlock.h:10:
`printk_R_ver_str' declared as function returning a function</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial
size=2>/usr/src/linux-2.4.21-15.EL/include/asm/spinlock.h:10: warning:
function declaration isn't a prototype</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>.</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>.</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>.</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>.</FONT><FONT
face="Times New Roman"> </FONT><BR><FONT face=Arial size=2>Thanks,</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face=Arial size=2>Ram.</FONT><FONT
face="Times New Roman"> </FONT></P><BR>
<P><FONT face="Monotype Corsiva" color=#333399>Ram Weiss-Izhaki</FONT>
<BR><FONT face=Arial size=1>Project manager</FONT> <BR><FONT face=Arial
color=#000000 size=1>----------------------------------------</FONT> <BR><FONT
face=Arial color=#000000 size=1>Mellanox Technologies
LTD </FONT><BR><FONT
face=Arial color=#000000 size=1>Phone +972-4-9097200 ext: 239; Fax:
+972-4-9593245 </FONT><BR><FONT
face=Arial color=#000000 size=1>Mobile: +972-52-4559412 </FONT><BR><FONT
face=Arial color=#000000 size=1>P.O.B 586, Yokne'am illit 20692,
Israel.</FONT> <BR><FONT face=Arial color=#000000
size=1>----------------------------------------</FONT>
</P><BR></BLOCKQUOTE></BODY></HTML>