[ewg] EWG/OFED meeting agenda for today Mar 6, 2012
Nikolova, Tatyana E
tatyana.e.nikolova at intel.com
Tue Mar 6 10:06:58 PST 2012
Hi all,
After cloning the OFED-3.2 gits and following Vlad's instructions, first I got some complaints from rdma-compat/scripts/admin_rdma.sh ("compat/include/scsi" was not found and "fatal: No names found")
This is part of my admin_rdma.sh output:
----------------------------------------------------------------------------------------------
cp: cannot stat `/root/OFED-3.2_gits/compat/include/scsi/*': No such file or directory
Patches: patches empty, skipping...
Updated from local tree: /root/OFED-3.2_gits/linux-3.2/
Origin remote URL: git://git.openfabrics.org/compat-rdma/linux-3.2.git
fatal: No names found, cannot describe anything.
compat-rdma code metrics
423399 - Total upstream lines of code being pulled
Base tree: linux-3.2.git
Base tree version: v3.2
compat-rdma release:
------------------------------------------------------------------------------------------------
After that (I had the kernel sources in compat-rdma) I ran "configure" and tried to make the OFED 3.2 kernel. The build failed with an error in drivers/infiniband/core/addr.c
-----------------------------------------------------------------------------------------------------------
from /root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c:43:
include/net/sock.h: In function '__sk_add_backlog':
include/net/sock.h:627: error: implicit declaration of function 'skb_dst_force'
include/net/sock.h: In function '__sk_dst_get':
include/net/sock.h:1317: error: dereferencing pointer to incomplete type
include/net/sock.h:1317: warning: type defaults to 'int' in declaration of '_________p1'
include/net/sock.h:1317: error: dereferencing pointer to incomplete type
include/net/sock.h:1317: warning: type defaults to 'int' in declaration of 'type name'
include/net/sock.h:1317: error: dereferencing pointer to incomplete type
include/net/sock.h:1317: warning: type defaults to 'int' in declaration of 'type name'
include/net/sock.h:1317: warning: return from incompatible pointer type
include/net/sock.h: In function 'sk_dst_get':
include/net/sock.h:1327: error: dereferencing pointer to incomplete type
include/net/sock.h:1327: warning: type defaults to 'int' in declaration of '_________p1'
include/net/sock.h:1327: error: dereferencing pointer to incomplete type
include/net/sock.h:1327: warning: type defaults to 'int' in declaration of 'type name'
include/net/sock.h:1327: error: dereferencing pointer to incomplete type
include/net/sock.h:1327: warning: type defaults to 'int' in declaration of 'type name'
include/net/sock.h:1327: warning: assignment from incompatible pointer type
include/net/sock.h:1329: error: implicit declaration of function 'dst_hold'
include/net/sock.h: In function 'dst_negative_advice':
include/net/sock.h:1340: error: dereferencing pointer to incomplete type
include/net/sock.h:1341: error: dereferencing pointer to incomplete type
include/net/sock.h:1344: error: dereferencing pointer to incomplete type
include/net/sock.h:1344: warning: type defaults to 'int' in declaration of 'type name'
include/net/sock.h:1344: warning: assignment from incompatible pointer type
include/net/sock.h: In function '__sk_dst_set':
include/net/sock.h:1360: error: dereferencing pointer to incomplete type
include/net/sock.h:1360: warning: type defaults to 'int' in declaration of '_________p1'
include/net/sock.h:1360: error: dereferencing pointer to incomplete type
include/net/sock.h:1360: warning: type defaults to 'int' in declaration of 'type name'
include/net/sock.h:1360: error: dereferencing pointer to incomplete type
include/net/sock.h:1360: warning: type defaults to 'int' in declaration of 'type name'
include/net/sock.h:1360: warning: assignment from incompatible pointer type
include/net/sock.h:1361: error: dereferencing pointer to incomplete type
include/net/sock.h:1361: warning: type defaults to 'int' in declaration of 'type name'
include/net/sock.h:1361: warning: assignment from incompatible pointer type
include/net/sock.h:1362: error: implicit declaration of function 'dst_release'
In file included from /root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c:43:
include/net/route.h: At top level:
include/net/route.h:46: error: field 'dst' has incomplete type
include/net/route.h: In function 'ip4_dst_hoplimit':
include/net/route.h:317: error: implicit declaration of function 'dst_metric_raw'
In file included from include/net/ip6_route.h:25,
from /root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c:46:
include/net/ip6_fib.h: At top level:
include/net/ip6_fib.h:87: error: field 'dst' has incomplete type
In file included from /root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c:46:
include/net/ip6_route.h: In function 'ip6_skb_dst_mtu':
include/net/ip6_route.h:190: error: dereferencing pointer to incomplete type
include/net/ip6_route.h:190: error: implicit declaration of function 'dst_mtu'
/root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c: In function 'addr4_resolve':
/root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c:220: error: implicit declaration of function 'dst_get_neighbour'
/root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c: In function 'addr6_resolve':
/root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c:253: error: dereferencing pointer to incomplete type
/root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c:266: error: dereferencing pointer to incomplete type
/root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c:274: error: dereferencing pointer to incomplete type
/root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c:275: error: dereferencing pointer to incomplete type
/root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c:280: warning: assignment makes pointer from integer without a cast
/root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.c:286: error: dereferencing pointer to incomplete type
make[4]: *** [/root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core/addr.o] Error 1
make[3]: *** [/root/OFED-3.2_gits/compat-rdma/drivers/infiniband/core] Error 2
make[2]: *** [/root/OFED-3.2_gits/compat-rdma/drivers/infiniband] Error 2
make[1]: *** [_module_/root/OFED-3.2_gits/compat-rdma] Error 2
make[1]: Leaving directory `/root/linux-3.2.9'
make: *** [kernel] Error 2
------------------------------------------------------------------------------------------------------------------
Has someone encountered this problem?
Thank you.
Tatyana
More information about the ewg
mailing list