linux_media icon indicating copy to clipboard operation
linux_media copied to clipboard

Error - "incompatible pointer type" Fedora 26 Kernel 4.11.8

Open TheYetiWakes opened this issue 7 years ago • 4 comments

Hi Receive the following error during make on above system:

/xxxx/xxxx/media_build/v4l/videobuf-dma-sg.c:456:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fault = videobuf_vm_fault, ^~~~~~~~~~~~~~~~~

TheYetiWakes avatar Aug 05 '17 13:08 TheYetiWakes

I have the exact same error on Gentoo with kernel 4.12.12

mfyorp avatar Sep 17 '17 18:09 mfyorp

maybe check fixes in kernel for f26/f27 as in f27 landed gcc7

cz172638 avatar Sep 19 '17 19:09 cz172638

The error remains the same, both with gcc 5.4.0 and gcc 7.2.0. Both on kernel 4.12.12.

mfyorp avatar Sep 20 '17 10:09 mfyorp

Development appears to have switched to the semi-official forks (supported by TBS for a few of their own cards after the great work by ljalves and co) at;

https://github.com/tbsdtv/linux_media https://github.com/tbsdtv/media_build

And this is why you should upstream drivers otherwise you continually need to sync with newer kernel releases. This fork does appear to have a target to upstream into the mainline kernel.

alanswanson avatar Sep 24 '17 15:09 alanswanson