install PCIE test card driver for Linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mark_Huang
    Member
    • Aug 2018
    • 49

    #1

    install PCIE test card driver for Linux

    I can't install PCIE test card driver successfully.

    OS: Ubuntu 18.04.2
    Attached is the log.
    make log1.txt

    Can anyone help me?
    Thanks a lot.
    Attached Files
  • Tim (PassMark)
    Senior Member
    • Mar 2005
    • 1723

    #2
    Could you please try this updated code and let us know if you still have compile issues, it looks like some of the required headers changes on some of the newer Linux versions and the different header should fix this "implicit declaration of function 'copy_from_user'" / "implicit declaration of function 'copy_to_user'" error.

    Comment

    • Mark_Huang
      Member
      • Aug 2018
      • 49

      #3
      Tim thanks for your help.
      But it still has error.
      Please refer to attachment.
      Attached Files

      Comment

      • Tim (PassMark)
        Senior Member
        • Mar 2005
        • 1723

        #4
        That is just a warning (which we can fix before releasing the update) so the pm_pcie_driver.ko looks like it was correctly built and should exist on disk.

        Comment

        • Mark_Huang
          Member
          • Aug 2018
          • 49

          #5


          Oh...I didn't aware it.
          Now PCIE test is running.
          Thank you very much.

          Comment

          Working...