[LTP] ltp build broken on Fedora 40?
Chuck Lever III
chuck.lever@oracle.com
Thu Aug 29 22:14:04 CEST 2024
> On Aug 28, 2024, at 6:48 PM, Petr Vorel <pvorel@suse.cz> wrote:
>
> Hi Chuck,
>
>> Hi-
>
>> I'm finding that ltp 20240524 does not build on Fedora 40 due
>> to a missing header:
>
> I guess you need to backport gcc-14 fix b0ae1ee239 ("rpc_svc_1: Fix incompatible
> pointer type error") [1] (or build with older gcc).
>
>> 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.
Building ltp on commit b0ae1ee239 indeed fixed the problem on Fedora 40.
I guess the "genhd.h" error misdirected me. Thanks, Petr!
--
Chuck Lever
More information about the ltp
mailing list