Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Makefile to compile driver

LucasHuang
Beginner
348 Views

I don't know whether the kernel directory is right.

LucasHuang_0-1621246277766.png

LucasHuang_1-1621246296556.png

 

 

0 Kudos
3 Replies
RahulV_intel
Moderator
311 Views

Hi,

 

I have a couple of suggestions:

  • Firstly, make sure that you have the Linux Kernel headers installed in your system. (-C option changes the directory to the Kernel header files path. )
  • Secondly, if you have copied this Makefile from a different source, make sure that you edit all the special characters in your file manually (Especially hyphen(-)).

 

Thanks,

Rahul

 

RahulV_intel
Moderator
283 Views

Hi,


Could you let us know if the above suggestions helped?


Thanks,

Rahul


RahulV_intel
Moderator
248 Views

Hi,


I have not heard back from you, so I will go ahead and close this thread from my end. Intel will no longer monitor this thread. Feel free to post a new query if you require further assistance from Intel.


Thanks,

Rahul


Reply