Hello, I am currently installing some drivers for the Logitech C270 webcam. But I have an error with the
makecommand. I posted here: https://stackoverflow.com/questions/52151072/linux-make-file-version-h-not-found
And I learned that I need to install Linux-Headers. The problem is, when I try to install the package, I got the
"Unknown package 'linux-headers'"error.
So, is it possible to install packages like Linux-headers on Omega2+, and if yes, how ?
Thank you for your response!
You need a cross-compiler setup.
Setting up a cross-compieler is explained in https://onion.io/2bt-c-program-cross-compiling-video-tutorial/ and https://docs.onion.io/omega2-docs/cross-compiling.html. Either use their docker container or compile it yourself from https://github.com/OnionIoT/source. That repository also contains the entire Linux kernel with its headers.