[openib-general] compile problems suse 10.1 on x86_64

Rene Salmon rsalmon at tulane.edu
Tue Aug 29 15:03:45 PDT 2006


Hello,

Trying to build OFED-1.0.tgz on a suse 10.1 x86_64 box with kernel 
2.6.16.21-0.13. I am using the build.sh script but it stops while 
building the kernel modules.

build.sh fails with this message:

  error: too few arguments to function 'sk_eat_skb'

 From what I can tell there is patch for sles 10 to fix this:

http://openib.org/pipermail/openib-commits/2006-May/007244.html

It is also located in my tar ball here:
/var/tmp/OFED/tmp/openib/openib/patches/2.6.16_sles10

Can anyone point me in the right direction as to maybe applying some of 
the 2.6.16_sles10 patches to suse 10.1?

Thanks in advance for any help on this.  Following is the error message 
I get from in the make_kernel.log file.

Rene


make -f scripts/Makefile.build 
obj=/var/tmp/OFED/tmp/openib/openib/src/linux-kerne
l/infiniband/ulp/sdp
   gcc 
-Wp,-MD,/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/sdp/
.sdp_main.o.d  -nostdinc -isystem 
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/include -
D__KERNEL__ -I/var/tmp/OFED/tmp/openib/openib/include 
-I/var/tmp/OFED/tmp/openib/
openib/src/linux-kernel/infiniband/include  -Iinclude    -Wall -Wundef 
-Wstrict-pr
ototypes -Wno-trigraphs -Werror-implicit-function-declaration 
-fno-strict-aliasing
  -fno-common -ffreestanding -Os     -fomit-frame-pointer -march=k8 -m64 
-mno-red-z
one -mcmodel=kernel -pipe -fno-reorder-blocks        -Wno-sign-compare 
-fno-asynch
ronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 
-mno-3dnow -Wdec
laration-after-statement -Wno-pointer-sign 
-I/var/tmp/OFED/tmp/openib/openib/src/
linux-kernel/infiniband/include 
-I/var/tmp/OFED/tmp/openib/openib/src/linux-kerne
l/infiniband/ulp/ipoib 
-I/var/tmp/OFED/tmp/openib/openib/drivers/infiniband/debug
  -Idrivers/infiniband/include -ggdb  -DMODULE -D"KBUILD_STR(s)=#s" 
-D"KBUILD_BASEN
AME=KBUILD_STR(sdp_main)"  -D"KBUILD_MODNAME=KBUILD_STR(ib_sdp)" -c -o 
/var/tmp/OF
ED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/sdp/.tmp_sdp_main.o 
/var/tmp/
OFED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/sdp/sdp_main.c
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/sdp/sdp_main.c: 
In
  function ?sdp_recvmsg?:
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/sdp/sdp_main.c:117
1: error: too few arguments to function ?sk_eat_skb?
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/sdp/sdp_main.c:117
9: error: too few arguments to function ?sk_eat_skb?
make[3]: *** 
[/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/sdp/
sdp_main.o] Error 1




-- 
-
--
         Rene Salmon
         Tulane University
         Center for Computational Science
         http://www.ccs.tulane.edu
	rsalmon at tulane.edu
         Tel 504-862-8393
	Tel 504-988-8552
         Fax 504-862-8392





More information about the general mailing list