On Fri, Oct 23, 2015 at 5:55 PM, Julia Lawall julia.lawall@lip6.fr wrote:
On Fri, 23 Oct 2015, Amitoj Kaur Chawla wrote:
Okay! Next patches will be the simple tasks. Also, I couldn't find the tutorial you mentioned for compiling, can you help me out some there?
I think the tutorial mentioned is kernel newbies First patch tutorial
and under
section Make a driver change:
http://kernelnewbies.org/Outreachyfirstpatch#head-816e6eef0008340eab7d542c3f...
there is instruction how to compile your changes:
Compile your changes:
Recompile your kernel, by running make (with an optional -jN flag): make -j2
Hi Ksenija,
Thanks for the help. I'm already doing this, I was under the impression that Arnd was mentioning something other than this. I could be wrong.
Are you sure that you have a .o file for the code you are working on? And if you do, are you compiling the whole kernel? Maybe the problem is related to linking?
julia
Yep, found the issue.
For reference of other applicants in case they get stuck in a similar issue, I'll clarify what happened.
I had initially modified only staging drivers to be compilable as a module. But here I was working on other drivers. Hence the issue.
The Outreachyfirstpatch http://kernelnewbies.org/Outreachyfirstpatch page specifies the process for staging drivers. For other drivers, the Kconfig file can be referred to for finding the driver to make it compilable as a module.
Thank you Julia for helping out!