Digitalis Digitalis last edited by
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!
Maximilian Gerhardt last edited by
You need a cross-compiler setup.
You can install a gcc environment (after expanding space) for the Omega2+ but there's no linux-header packet that I'm aware of.
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.