Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error "XLIO requires zcopy" when build spakd with xlio in centos7.9 #79

Open
brianplus opened this issue Aug 10, 2023 · 0 comments
Open

Comments

@brianplus
Copy link

brianplus commented Aug 10, 2023

Current Behavior

Build spdk with xlio

Possible Solution

xlio.c:74:2: error: #error "XLIO requires zcopy"
 #error "XLIO requires zcopy"
  ^
xlio.c: In function ‘_sock_flush_ext’:
xlio.c:1452:11: error: ‘MSG_ZEROCOPY’ undeclared (first use in this function)
   flags = MSG_ZEROCOPY;
           ^
xlio.c:1452:11: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [xlio.o] Error 1
make[2]: *** [xlio] Error 2
make[1]: *** [sock] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [module] Error 2

Steps to Reproduce

./configure --disable-coverage --disable-debug --disable-tests --disable-unit-tests --without-isal --without-crypto                 --without-fio --with-vhost --without-pmdk --without-rbd --with-rdma --without-vtune --with-shared --with-raid5 --with-xlio --prefix=$PWD/install

Context (Environment including OS version, SPDK version, etc.)

v22.05.nvda, centos7.9, xlio build from(https://github.com/Mellanox/libxlio/tree/3.0.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant