AnsweredAssumed Answered

Problems when building kernel module for interrupt handling

Question asked by haoli on Jun 24, 2016
Latest reply on Jun 24, 2016 by larsc

I am using Zedboard + AD9361 (fmcomms2) board and I am trying to build a kernel module to handle customized interrupt in PL. However, I stuck at the very first step and couldn't build a kernel module due to error '*** No rule to make target `modules'.  Stop.' After a bit searching online, I found that the folder /usr/src is empty, and I need to install kernel header files first.
But the command 'apt-get install linux-headers-$(uname -r)' returns with error again,

E: Unable to locate package linux-headers-3.17.0-gbe8a237

E: Couldn't find any package by regex 'linux-headers-3.17.0-gbe8a237'
It seems that I couldn't find any header file for the specific version (3.17.0-gbe8a237) I am using.
Any suggestions or comments? Thank you.