Closed pingzhaozz closed 1 year ago
A workaround is copy the idxd.h from accel to /usr/local/include. But not a proper way.
I think the proper way is to install kernel-headers package. Have you tried that?
Which kernel header for Ubuntu 20.04? I don't find it in Ubuntu web.
It seems on Ubuntu kernel-headers package is called linux-libc-dev.
Ubuntu 20.04 install linux-libc-dev_5.4.0-159.176_amd64.deb by default which doesn't work. which version should I use?
Ubuntu 20.04 doesn't have idxd.h in the linux-libc-dev package. I installed linux-libc-dev on Ubuntu 23.04 and I got the /usr/include/linux/idxd.h file.
When I tried to use DTO in container(Ubuntu 20.04) and it will build failure with:
Dockerfile such as: