-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
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
Build fails in Fedora 36 kernel 5.18.5-200.fc36.x86_64 #286
Comments
|
Attaching the files did not work, so here they are: download_and_build.sh: set -x cd media_build make install build.log:
WARNING: You do not have the full kernel sources installed. If you are experiencing problems building the v4l-dvb tree, please try Vanilla kernels are available at http://kernel.org. cp /boot/config- Please see your distro's web site for instructions to build a new kernel. WARNING: This is the V4L/DVB backport tree, with experimental drivers
|
|
If you are familiar with patching, try this: #283 (comment) |
|
Thank you, that patch makes it compile on Fedora 36 with kernel 5.18. I have not actually tried it with my tuners yet. To use it, I put the .patch file in the top directory where I build from and added this to my build script after the "cd media" command: |
|
Updated, now compatible with 4.14 - 6.2 |
I tried compiling in a VirtualBox Fedora 36 with the current kernel (5.18.5-200.fc36.x86_64) and it fails on incompatible pointer types:
/root/projects/tbs6909-drivers/media_build/v4l/msi001.c:504:27: error: initialization of 'void (*)(struct spi_device )' from incompatible pointer type 'int ()(struct spi_device *)' [-Werror=incompatible-pointer-types]
504 | .remove = msi001_remove,
| ^~~~~~~~~~~~~
It looks like this warning is being upgraded to an error as a result of an option being passed to gcc, or maybe it is now the default with gcc 12.1.1 which is current on Fedora 36. I have attached my full build script file and the log of its output:
./download_and_build.sh 2>&1 | tee build.log
The text was updated successfully, but these errors were encountered: