Skip to content

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

@brianplus

Description

@brianplus

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions