Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Makefile to compile driver

LucasHuang
Beginner
650 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
613 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

 

0 Kudos
RahulV_intel
Moderator
585 Views

Hi,


Could you let us know if the above suggestions helped?


Thanks,

Rahul


0 Kudos
RahulV_intel
Moderator
550 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


0 Kudos
Reply