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.

Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 5 minutes)
Most users ever online was 825 on Wed Aug 28, 2019 3:18 pm

Users browsing this forum: No registered users and 8 guests