We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error:
make[1]: Entering directory '/usr/src/kernels/5.14.0-503.14.1.el9_5.x86_64' CC [M] /home/test/ksmbd/unicode.o CC [M] /home/test/ksmbd/auth.o CC [M] /home/test/ksmbd/vfs.o /home/test/ksmbd/vfs.c:19:10: fatal error: linux/genhd.h: No such file or directory 19 | #include <linux/genhd.h> | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:249: /home/bestie/ksmbd/vfs.o] Error 1 make[1]: *** [Makefile:1944: /home/bestie/ksmbd] Error 2 make[1]: Leaving directory '/usr/src/kernels/5.14.0-503.14.1.el9_5.x86_64' make: *** [Makefile:47: all] Error 2
Seems genhd.h is no longer included but still expected for this particular kernel?
uname -r: 5.14.0-503.14.1.el9_5.x86_64
The text was updated successfully, but these errors were encountered:
Looks likes genhd.h was removed in 5.19.8 (though not sure why you're seeing this in 5.14, guess RH specific)
see: https://lore.kernel.org/all/[email protected]/t/
try changing it for <linux/blkdev.h>
Cheers, Jon
Sorry, something went wrong.
I tried blkdev.h instead of genhd.h, but that threw a lot of (other) errors, so that is not really a fix.
No branches or pull requests
Error:
make[1]: Entering directory '/usr/src/kernels/5.14.0-503.14.1.el9_5.x86_64'
CC [M] /home/test/ksmbd/unicode.o
CC [M] /home/test/ksmbd/auth.o
CC [M] /home/test/ksmbd/vfs.o
/home/test/ksmbd/vfs.c:19:10: fatal error: linux/genhd.h: No such file or directory
19 | #include <linux/genhd.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:249: /home/bestie/ksmbd/vfs.o] Error 1
make[1]: *** [Makefile:1944: /home/bestie/ksmbd] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.14.0-503.14.1.el9_5.x86_64'
make: *** [Makefile:47: all] Error 2
Seems genhd.h is no longer included but still expected for this particular kernel?
uname -r:
5.14.0-503.14.1.el9_5.x86_64
The text was updated successfully, but these errors were encountered: