<div dir="ltr"><div>Thanks <br></div>i did that now i am getting this error<br> make<br>make -C /lib/modules/2.6.32-220.el6.x86_64/build M=/root/Desktop/exp1 modules<br>make: *** /lib/modules/2.6.32-220.el6.x86_64/build: No such file or directory. Stop.<br>
<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 4, 2013 at 2:13 PM, Robert Clove <span dir="ltr"><<a href="mailto:cloverobert@gmail.com" target="_blank">cloverobert@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Add a tab after obj-m (tab) :=abc.o and after make too<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
<div><div class="h5">On Wed, Dec 4, 2013 at 2:04 PM, Anil Joshi <span dir="ltr"><<a href="mailto:aj27744@gmail.com" target="_blank">aj27744@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div>Hi All,<br><br></div>I have an make file like this<br>
<br>obj-m := abc.o<br><br>
all:<br> make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules<br><br>clean:<br> make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean<br>
<br>when i do the make i am getting this error<br><br><b>make: Nothing to be done for `all'.<br><br></b></div><b>I am using centos 6.2<br>uname -a<br>Linux hwcentos2 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux<br>
<br><br></b></div>Whats the error?<br><br></div>Regards<span><font color="#888888"><br></font></span></div><span><font color="#888888">Anil<br></font></span></div>
<br></div></div>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>