Quantcast
Channel: Intel® Many Integrated Core Architecture
Viewing all articles
Browse latest Browse all 1347

ofed-driver compilation error, centos 6.7

$
0
0

I am using Centos 6.7, kernel 2.6.32-573.3.1.el6.x86_64, OFED 3.18-1. From the release information I see that mpss 3.6 is supported on RH6.7, but I do not see the corresponding ofed-driver package in mpss-3.6/ofed/modules. I tried to build it myself, but I ran into the following error trying to rpmbuild ofed-driver in mpss-3.6/src

-I/usr/src/kernels/2.6.32-573.3.1.el6.x86_64/arch/x86/include \
 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -Idrivers/infiniband/include -ggdb  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(sdp_main)"  -D"KBUILD_MODNAME=KBUILD_STR(ib_sdp)" -D"DEBUG_HASH=40" -D"DEBUG_HASH2=62" -c -o /root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/.tmp_sdp_main.o /root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/sdp_main.c
/root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/sdp_main.c: In function 'sdp_mark_push':
/root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/sdp_main.c:1349: error: 'TCPCB_FLAG_PSH' undeclared (first use in this function)
/root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/sdp_main.c:1349: error: (Each undeclared identifier is reported only once
/root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/sdp_main.c:1349: error: for each function it appears in.)
/root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/sdp_main.c: In function 'sdp_mark_urg':
/root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/sdp_main.c:1625: error: 'TCPCB_FLAG_URG' undeclared (first use in this function)
/root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/sdp_main.c: In function 'sdp_sendmsg':
/root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/sdp_main.c:1986: error: 'TCPCB_FLAG_PSH' undeclared (first use in this function)
/root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/sdp_main.c: At top level:
/root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/sdp_main.c:2872: warning: initialization from incompatible pointer type
/root/rpmbuild/BUILD/ofed-driver/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/sdp/sdp_main.c:2879: warning: initialization from incompatible pointer type

It seems that there is a patch for this problem in ofed-driver/ofa_kernel-1.5.4.1/kernel_patches/backport/2.6.36/sdp_0190_for_2.6.36.patch, but it is not applied on my system. Also, I see no RH6.7 directory with patches. kernel_patches/backport/2.6.32-EL6.6 is applied instead.

Could anyone help me with this?

Thanks a lot!

Marcin Krotkiewski


Viewing all articles
Browse latest Browse all 1347

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>