Home › Forums › snickerdoodle › • General › Linux Interrupt Header Files

Viewing 1 reply thread
  • Author
    Posts
    • lonesnark
      Participant
      Post count: 3

      I’m running the following version of Linux on my Snickerdoodle. I’m running Vivado 2019.1 for FPGA development which is working wonderfully. I’m developing code via the command line compiler on the snickerdoodle (makefiles, gcc). This has worked out just fine until now. I’m trying to implement the example here using interrupts:

      https://www.xilinx.com/support/answers/62363.html

      However, my compiler errors on linux/interrupt.h, no such file or directory. I ran find on the snickerdoodle drive, no such file found. I’m not very skilled with linux. Can anyone help direct me towards installing the needed package?

      NAME=”Ubuntu”
      VERSION=”16.04 LTS (Xenial Xerus)”
      ID=ubuntu
      ID_LIKE=debian
      PRETTY_NAME=”Ubuntu 16.04 LTS”
      VERSION_ID=”16.04″
      HOME_URL=”http://www.ubuntu.com/”
      SUPPORT_URL=”http://help.ubuntu.com/”
      BUG_REPORT_URL=”http://bugs.launchpad.net/ubuntu/”
      UBUNTU_CODENAME=xenial

    • Ryan Cousins
      Keymaster
      Post count: 343

      @lonesnark, my sincere apologies for the delay! Not sure if you already got this figured out, but here are a couple things to look into:

      To start, can you confirm the value of the PATH env variable in the GCC build path? Then check the makefile includes? It’s possible it’s pointing to the wrong place.

      Secondarily, assuming you’re trying to build a kernel module, you’ll probably need the 20.04 image as I don’t believe the 16.04 image has the kernel sources included. When your’e building the kernel/module, just make sure the include directory is added to the build path you’re using.

      Hopefully that helps. Let me know if you’re still having issues.

      -Ryan

Viewing 1 reply thread
  • You must be logged in to reply to this topic.