[LTP] ltp build broken on Fedora 40?

Chuck Lever III chuck.lever@oracle.com
Wed Aug 28 22:00:55 CEST 2024


Hi-

I'm finding that ltp 20240524 does not build on Fedora 40 due
to a missing header:

ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/ltp_tbio.c:46:10: fatal error: linux/genhd.h: No such file or directory
   46 | #include <linux/genhd.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.

However the ltp build works on Fedora 39. I'm not sure why
because I cannot find a linux/genhd.h on that system.

--
Chuck Lever




More information about the ltp mailing list