Power & Source of Big Ideas

build usbtv in NanopPi2

Moderators: chensy, FATechsupport

I got the driver in here "https://github.com/mwelchuk/usbtv";

when I type "dkms build -m usbtv -v 1.0"

It just return me error like the following

Error! Your kernel headers for kernel 3.4.39-s5p4418 cannot be found.
Please install the linux-headers-3.4.39-s5p4418 package,
or use the --kernelsourcedir option to tell DKMS where it's located
larryho5 wrote:
I got the driver in here "https://github.com/mwelchuk/usbtv";

when I type "dkms build -m usbtv -v 1.0"

It just return me error like the following

Error! Your kernel headers for kernel 3.4.39-s5p4418 cannot be found.
Please install the linux-headers-3.4.39-s5p4418 package,
or use the --kernelsourcedir option to tell DKMS where it's located


first you should download the friendlyarm linux-3.4.y from github to your /usr/src directory
Then return back to your driver directory and update the KSRC parameter to /usr/src/linux-3.4.y

now your compilation may be done with no error but this is not the end. you should edit vermagic.h
or utsreleased.h in the kernel source to let the modprobe executes your compiled module. there is
also another solution to run your module with modprobe --force-vermagic.

Who is online

In total there are 27 users online :: 0 registered, 0 hidden and 27 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 27 guests