diffkemp icon indicating copy to clipboard operation
diffkemp copied to clipboard

Cannot compile sources including Kbuild-generated files

Open lenticularis39 opened this issue 5 years ago • 0 comments

There are some sources that include sources generated by Kbuild, which are not present in the kernel trees that are only configured.

This prevents DiffKemp from compiling the file drivers/scsi/scsi_sysfs.c in the RHEL 8.x kernels, because it tries to include scsi_devinfo_tbl.c, which is a file generated by Kbuild when building the kernel. This leads to symbols scsi_is_sdev_device and scsi_remove_device being marked unknown and not included in the snapshots.

lenticularis39 avatar Nov 01 '19 13:11 lenticularis39