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

Can't make v4l2loopback #162

Closed
Philippe2705 opened this issue Mar 10, 2018 · 4 comments
Closed

Can't make v4l2loopback #162

Philippe2705 opened this issue Mar 10, 2018 · 4 comments

Comments

@Philippe2705
Copy link

Philippe2705 commented Mar 10, 2018

Hello,

I'm trying since the start of the day to figure out how to make this work.
When I try to "make" the sources, an error occur.

root@orangepilite:~/Desktop/camera/v4l2loopback# make
Building v4l2-loopback driver...
make -C /lib/modules/`uname -r`/build M=/root/Desktop/camera/v4l2loopback modules
make[1]: *** /lib/modules/3.4.113-sun8i/build: No such file or directory.  Stop.
Makefile:42: recipe for target 'v4l2loopback.ko' failed
make: *** [v4l2loopback.ko] Error 2

The same with --debug:

root@orangepilite:~/Desktop/camera/v4l2loopback# make --debug
GNU Make 4.1
Built for arm-unknown-linux-gnueabihf
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating goal targets....
 File 'all' does not exist.
   File 'v4l2loopback.ko' does not exist.
  Must remake target 'v4l2loopback.ko'.
Building v4l2-loopback driver...
make -C /lib/modules/`uname -r`/build M=/root/Desktop/camera/v4l2loopback modules
GNU Make 4.1
Built for arm-unknown-linux-gnueabihf
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
make[1]: *** /lib/modules/3.4.113-sun8i/build: No such file or directory.  Stop.
Makefile:42: recipe for target 'v4l2loopback.ko' failed
make: *** [v4l2loopback.ko] Error 2

I know that the issue aready exist, but the solutions doesn't helped me.
Any help is welcome

Thanks !

@umlaeute
Copy link
Owner

you obviously don't have the kernel-headers installed for your specific kernel.

@LegendHector
Copy link

hi there how do i get the kernal header installed

@ram-sh
Copy link

ram-sh commented May 12, 2020

hi there how do i get the kernal header installed

+1

@umlaeute
Copy link
Owner

ask you distributor ;-)

seriously. the exact way differs from distro to distro; there's no generic way to explain it.

(and +1 posts should just use the emoji...)

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