[openib-general] ipath module compilation on 2.6.15 and 2.6.16
Vladimir Sokolovsky
vlad at mellanox.co.il
Wed Apr 5 09:52:44 PDT 2006
Hi Bryan,
I tried to compile ipath module taken from trunk (REV=6237) on 2.6.16
and on 2.6.15 kernels and it fails with the following errors:
gcc -m32
-Wp,-MD,/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/.ipath_verbs.o.d
-nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.0.2/include
-D__KERNEL__ -I/var/tmp/IBED/tmp/openib/openib/include
-I/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/include
-Iinclude -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2
-march=i686 -mtune=pentium4 -mregparm=3 -Iinclude/asm-i386/mach-generic
-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign
-I/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/include
-I/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/ipoib
-I/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/kdapl
-I/var/tmp/IBED/tmp/openib/openib/drivers/infiniband/debug
-DIPATH_IDSTR='"PathScale kernel.org driver"' -DIPATH_KERN_TYPE=0
-DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(ipath_verbs)"
-D"KBUILD_MODNAME=KBUILD_STR(ib_ipath)" -c -o
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/.tmp_ipath_verbs.o
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_verbs.c
In file included from
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_verbs.c:37:
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_kernel.h:
In function âipath_write_uregâ:
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_kernel.h:760:
warning: implicit declaration of function âwriteqâ
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_kernel.h:
In function âipath_read_kreg64â:
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_kernel.h:777:
warning: implicit declaration of function âreadqâ
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_verbs.c:
In function âipath_register_ib_deviceâ:
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_verbs.c:1005:
error: âIB_NODE_CAâ undeclared (first use in this function)
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_verbs.c:1005:
error: (Each undeclared identifier is reported only once
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_verbs.c:1005:
error: for each function it appears in.)
make[3]: ***
[/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_verbs.o]
Error 1
make[2]: ***
[/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath]
Error 2
make[1]: ***
[_module_/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16'
make: *** [kernel] Error 2
I am trying to add ipath support to IBED release. Can you please help?
Thanks,
/*Best Regards,*/
/*Vladimir Sokolovsky*/
/*Software Integration Engineer*/
/**//*Mellanox Technologies Ltd.*/
More information about the general
mailing list