Author |
Message |
fabrice_035

Joined: 28 Apr 2014 Posts: 768 Location: Bretagne / France
|
Posted: Sun 20 Aug 2017, 08:56 Post subject:
[solved] v4l2loopback Subject description: fake web cam on tarhup 6.0.5 |
|
Hi,
i try to install v4l2loopback on tarhpup, but can't compile
down source https://github.com/umlaeute/v4l2loopback
Code: |
root# make
Building v4l2-loopback driver...
make -C /lib/modules/`uname -r`/build M=/root/Downloads/v4l2loopback-master.zip.extracted/v4l2loopback-master modules
make: *** /lib/modules/3.14.56/build: No such file or directory. Stop.
|
Anyone can help me ?
Code: |
the v4l2loopback module is a kernel module. in order to build it, you must have the kernel headers installed that match the linux kernel with which you want to use the module (in most this will be the kernel that you are currently running). please note, that kernel headers and kernel image must have exactly the same version. for example, 3.18.0-trunk-rpi is a different version that 3.18.7-v7+, even though the first few number are the same. (modules will be incompatible if the versions don't match. if you are lucky, the module will simply refuse to load. if you are unlucky, your computer will spit in your eye or do worse.)
|
..
Code: |
root# uname -r
3.14.56
|
thanks
Last edited by fabrice_035 on Sun 20 Aug 2017, 15:31; edited 1 time in total
|
Back to top
|
|
 |
perdido

Joined: 09 Dec 2013 Posts: 1601 Location: ¿Altair IV , Just north of Eeyore Junction.?
|
Posted: Sun 20 Aug 2017, 09:11 Post subject:
|
|
Have you installed the devx sfs and kernel headers sfs ?
Edit: looks like kernel headers might be combined in the devx...?
I dont see kernel headers as sfs.
Devx for tahrpup 6.0.5 here
http://distro.ibiblio.org/puppylinux/puppy-tahr/iso/tahrpup%20-6.0-CE/
|
Back to top
|
|
 |
fabrice_035

Joined: 28 Apr 2014 Posts: 768 Location: Bretagne / France
|
Posted: Sun 20 Aug 2017, 09:40 Post subject:
|
|
yes i try with Devx for tahrpup 6.0.5, but cant find kernel headers.
|
Back to top
|
|
 |
perdido

Joined: 09 Dec 2013 Posts: 1601 Location: ¿Altair IV , Just north of Eeyore Junction.?
|
Posted: Sun 20 Aug 2017, 09:57 Post subject:
|
|
fabrice_035 wrote: | yes i try with Devx for tahrpup 6.0.5, but cant find kernel headers. |
I think they are included in the kernel sources?
They should be available in quickpet.
Or they are listed here
http://distro.ibiblio.org/puppylinux/pet_packages-tahr/
.
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 13981 Location: S.C. USA
|
Posted: Sun 20 Aug 2017, 10:00 Post subject:
|
|
What you also need is the kernel sources sfs.
Best to get it by entering in the console
That should bring up a list of sfs packages.
Click on one to download and install.
There are several ones, so make sure you get the correct one for the kernel you are using.
Can also get the kernel sources sfs from here:
http://distro.ibiblio.org/puppylinux/pet_packages-tahr/
There are several ones, so make sure you get the correct one for the kernel you are using.
_________________ The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
|
Back to top
|
|
 |
fabrice_035

Joined: 28 Apr 2014 Posts: 768 Location: Bretagne / France
|
Posted: Sun 20 Aug 2017, 11:15 Post subject:
|
|
trying kernel_sources-3.14.56-tahr_noPAE_6.0.5.sfs, after a while (long long time) puppy say no left space on device.
|
Back to top
|
|
 |
perdido

Joined: 09 Dec 2013 Posts: 1601 Location: ¿Altair IV , Just north of Eeyore Junction.?
|
Posted: Sun 20 Aug 2017, 12:23 Post subject:
|
|
fabrice_035 wrote: | trying kernel_sources-3.14.56-tahr_noPAE_6.0.5.sfs, after a while (long long time) puppy say no left space on device. |
That will happen on those big jobs
|
Back to top
|
|
 |
OscarTalks

Joined: 05 Feb 2012 Posts: 2202 Location: London, England
|
Posted: Sun 20 Aug 2017, 14:19 Post subject:
|
|
Loaded devx and kernel sources in tahrpup 6.0.5 and it compiles OK
Latest snapshot from github numbered as 0.10.1
TAKE USUAL PRECAUTIONS before testing.
After installation reboot or run depmod -a
Then modprobe v4l2loopback to load it
Description |
kernel module kernel 3.14.56 noPAE
|

Download |
Filename |
v4l2loopback-0.10.1-i686-tahr.pet |
Filesize |
13.23 KB |
Downloaded |
115 Time(s) |
_________________ Oscar in England

|
Back to top
|
|
 |
fabrice_035

Joined: 28 Apr 2014 Posts: 768 Location: Bretagne / France
|
Posted: Sun 20 Aug 2017, 15:30 Post subject:
|
|
Many many thanks OscarTalks and all to help me.
.pet work fine
Solved
Oscar, can u tell me how to make that next time ? Regard.
|
Back to top
|
|
 |
|