Skip to content
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

Error - "incompatible pointer type" Fedora 26 Kernel 4.11.8 #161

Open
TheYetiWakes opened this issue Aug 5, 2017 · 4 comments
Open

Error - "incompatible pointer type" Fedora 26 Kernel 4.11.8 #161

TheYetiWakes opened this issue Aug 5, 2017 · 4 comments

Comments

@TheYetiWakes
Copy link

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, ^~~~~~~~~~~~~~~~~

@mfyorp
Copy link

mfyorp commented Sep 17, 2017

I have the exact same error on Gentoo with kernel 4.12.12

@cz172638
Copy link

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

@mfyorp
Copy link

mfyorp commented Sep 20, 2017

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

@alanswanson
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants