Home Forums Software Development Kit (SDK) source SourceMe.env Error

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15693
    hosseinr
    Participant

    Trying to source SourceMe.env on Ubuntu 18.04.
    Got this error.

    make[1]: Entering directory ‘/usr/src/linux-headers-5.0.0-36-generic’
    CC [M] /home//GTISDK-Linux_x86_64_v4.5.0.3/Drivers/Linux/pcie_drv/gti2803.o
    /home/hose/GTI/GTISDK-Linux_x86_64_v4.5.0.3/Drivers/Linux/pcie_drv/gti2803.c:10:10: fatal error: linux/pci-dma.h: No such file or directory
    #include <linux/pci-dma.h>
    ^~~~~~~~~~~~~~~~~
    compilation terminated.

    #15694
    hosseinr
    Participant

    I have changed #include <linux/pci-dma.h> to #include </usr/src/linux-headers-4.15.0-70/include/linux/pci-dma.h>
    in
    gti2803.c
    gti2803_fpga.c
    gti2803_dma.c
    files and it worked!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.