Open allspace opened 9 years ago
Hey!
Just to make sure, you cloned the latest accelio and are using the master branch with CentOS 6.6?
Can you please elaborate on the flow of execution you ran? Did you run './autogen && ./configure && make' and it resulted in the error above?
Alon The Accelio Team
Hey again!
I've managed to recreate and solve the compile error you had on CentOS 6.6. Since the code in question uses verbs and it seems CentOS 6.6 lacks a few drivers, you can install Mellanox OFED (FREE of charge) and it will fix any compilation problems.
You can get MLNX_OFED for CentOS 6.6 here: http://www.mellanox.com/page/products_dyn?product_family=26
Aligning this test upstream (so you won't need to install Mellanox OFED) may take time.
Hope this helps! Alon The Accelio Team
Same compilation problem here on CentOS 7.2, one year later.
If I get this correctly, OFED is a full Linux distribution, which I would need to install and compile accelio on? Would the resulting .so work on any other Linux distro then?
in centos6.5 ,compile accelio get some error,but i am already install Mellanox OFED
include/linux/usb.h: In function 'usb_register':
include/linux/usb.h:1093: error: 'KBUILD_MODNAME' undeclared (first use in this function)
include/linux/usb.h:1093: error: (Each undeclared identifier is reported only once
include/linux/usb.h:1093: error: for each function it appears in.)
In file included from include/linux/tcp.h:181,
from include/linux/ipv6.h:215,
from include/net/ip.h:339,
from /usr/src/ofa_kernel/default/include/linux/compat-3.1.h:10,
from /usr/src/ofa_kernel/default/include/linux/compat-2.6.h:66,
from
I got the following compile error with v1.4:
CCLD xio_rdma_client xio_rdma_common_usr.o: In function
publish_our_buffer': /root/accelio-1.4/tests/usr/direct_rdma_test/../../../tests/portable/direct_rdma_test/xio_rdma_common.c:89: undefined reference to
xio_lookup_rkey_by_response' collect2: error: ld returned 1 exit status make[1]: * [xio_rdma_client] Error 1 make[1]: Leaving directory `/root/accelio-1.4/tests/usr/direct_rdma_test' make: * [all-recursive] Error 1