Power & Source of Big Ideas

/lib/modules/4.14.111/build direct to a unknown direction

Moderators: chensy, FATechsupport

when build a driver for uvc, the enviroment needed :
/lib/modules/4.14.111/build -> /root/2.source/board/tools/rom-manager/src/plat/sunxi/linux

it's not exists. there is no 4.14.111 linux-headers in apt repo.

how to get the headers?
I have tried to download source code of 4.14.111 from kernel.org, and make headers_install, but the it couldn't work.
it suggests to make oldconfig && make prepare, so many parameters...

any one can help me with it?
if excute apt-get install linux-headers-4.13.0-16-generic, and change the path in the Makefile, the driver can be compiled.
but the driver can't be load with the followin error:
[166779.671340] uvcvideo: version magic '4.15.0-13-generic SMP mod_unload aarch64' should be '4.14.111 SMP mod_unload aarch64'
fmstereo wrote:
if excute apt-get install linux-headers-4.13.0-16-generic, and change the path in the Makefile, the driver can be compiled.
but the driver can't be load with the followin error:
[166779.671340] uvcvideo: version magic '4.15.0-13-generic SMP mod_unload aarch64' should be '4.14.111 SMP mod_unload aarch64'


It is expected that it will fail.
I have the same issue! My current link for /lib/modules/4.14.111/build is exactly like yours and there is no kernel header for 4.14.111 in my system as well.

From googling other people's posts, I think I should expect the correct link to be something like "/lib/modules/4.14.111/build -> /usr/src/kernel/(files of your kernel vesion)" but my /usr/src is empty (i.e. there is no such directory /kernel in my system)!

Who is online

In total there are 10 users online :: 0 registered, 0 hidden and 10 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 10 guests