[openib-general] IB Core compile problem on AS3.0
Ram Izhaki
ram at mellanox.co.il
Wed Aug 4 01:18:07 PDT 2004
Roland,
Can you help me here?
I am getting this compile error both on RH EL 3.0 and RH 9.0:
make -C core modules
make[2]: Entering directory
`/usr/src/linux-2.4.21-15.EL/drivers/infiniband/core'
perl generate_pkt_access.pl access smp_packet.desc > smp_access.c || ( rm -f
smp_access.c && exit 1 )
perl generate_pkt_access.pl header smp_packet.desc > smp_access.h || ( rm -f
smp_access.h && exit 1 )
perl generate_pkt_access.pl type smp_packet.desc > smp_types.h || ( rm -f
smp_types.h && exit 1 )
perl generate_pkt_access.pl header pm_packet.desc > pm_access.h || ( rm -f
pm_access.h && exit 1 )
perl generate_pkt_access.pl type pm_packet.desc > pm_types.h || ( rm -f
pm_types.h && exit 1 )
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
In file included from
/usr/src/linux-2.4.21-15.EL/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.21-15.EL/include/linux/list.h:6,
from
/usr/src/linux-2.4.21-15.EL/drivers/infiniband/include/ts_ib_core_types.h:29
,
from smp_types.h:9,
from smp_access.h:9,
from smp_access.c:6:
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:61: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:61: field
`loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:84: invalid suffix on
integer constant
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:84: syntax error before
numeric constant
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:84: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:268: invalid suffix on
integer constant
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:268: syntax error before
numeric constant
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:268: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:272: warning: parameter
names (without types) in function declaration
In file included from
/usr/src/linux-2.4.21-15.EL/include/linux/spinlock.h:56,
from
/usr/src/linux-2.4.21-15.EL/drivers/infiniband/include/ts_ib_core_types.h:30
,
from smp_types.h:9,
from smp_access.h:9,
from smp_access.c:6:
/usr/src/linux-2.4.21-15.EL/include/asm/spinlock.h:9: invalid suffix on
integer constant
/usr/src/linux-2.4.21-15.EL/include/asm/spinlock.h:9: syntax error before
numeric constant
/usr/src/linux-2.4.21-15.EL/include/asm/spinlock.h:10: `printk_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4.21-15.EL/include/asm/spinlock.h:10: warning: function
declaration isn't a prototype
.
.
.
.
Thanks,
Ram.
Ram Weiss-Izhaki
Project manager
----------------------------------------
Mellanox Technologies LTD
Phone +972-4-9097200 ext: 239; Fax: +972-4-9593245
Mobile: +972-52-4559412
P.O.B 586, Yokne'am illit 20692, Israel.
----------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20040804/52495b8a/attachment.html>
More information about the general
mailing list