Thanks Anmol, first installed the following extra packages "linux-kernel-headers kernel-syms module-init-tools" then ran make oldconfig && make prepare, I get further:<br> make M=drivers/staging/bcm/<br><br>
WARNING: Symbol version dump /home/douglagm/git/linux-2.6/Module.symvers<br> is missing; modules will have no dependencies and modversions.<br><br> LD [M] drivers/staging/bcm//bcm_wimax.o<br>/bin/sh: scripts/mod/modpost: No such file or directory<br>
make[1]: *** [drivers/staging/bcm//bcm_wimax.o] Error 1<br>make: *** [_module_drivers/staging/bcm/] Error 2<br><br>I did a git clone git://<a href="http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git">git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git</a><br>
then git branch douglagm - I am working on this.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 1, 2012 at 2:32 PM, Anmol Sarma <span dir="ltr"><<a href="mailto:unmole.in@gmail.com" target="_blank">unmole.in@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The commands simply prepare the sources for compilation. Don't worry, it will not modify your system in any way.<div>
<br></div><div>P.S. Make sure you're submitting patches against the linux-next tree. <br><br><div class="gmail_quote">
On Thu, Nov 1, 2012 at 5:48 PM, Gregg Douglas <span dir="ltr"><<a href="mailto:douglagm@gmail.com" target="_blank">douglagm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi,<br><br>I have always wanted to contribute, but I am not a coder, I am a Linux Admin, so I know some bash, perl and php. I came across the following video : <a href="http://www.youtube.com/watch?v=LLBrBBImJt4&feature=related" target="_blank">http://www.youtube.com/watch?v=LLBrBBImJt4&feature=related</a><br>
<br>So I decided even if I clean code it would hopefully make some contribution. I followed the video and came to the following file that needed some correction: drivers/staging/bcm/InterfaceDld.c. "<a href="http://checkpatch.pl" target="_blank">checkpatch.pl</a>" gave 2 errors, both ERROR: "(foo*)" should be "(foo *)", so I fixed the errors.<br>
<br>I did a "git diff" and it showed the corrections, from the video the next step is to build the file, I believe the command must be "make M=drivers/staging/bcm/", but I get the following errors:<br>
<br> ERROR: Kernel configuration is invalid.<br> include/generated/autoconf.h or include/config/auto.conf are missing.<br> Run 'make oldconfig && make prepare' on kernel src to fix it.<br>
<br><br> WARNING: Symbol version dump /home/douglagm/git/linux-2.6/Module.symvers<br> is missing; modules will have no dependencies and modversions.<br><br> LD drivers/staging/bcm//built-in.o<br> Building modules, stage 2.<br>
/home/douglagm/git/linux-2.6/scripts/Makefile.modpost:42: include/config/auto.conf: No such file or directory<br>make[1]: *** No rule to make target `include/config/auto.conf'. Stop.<br>make: *** [modules] Error 2<br>
<br>The error says " Run 'make oldconfig && make prepare' on kernel src to fix it", but I am a bit nervous to try this, I would please like some guidance before continuing.<br><br>I think the issue is related to my OS's kernel headers, from the kernel README I am not sure what I need to do ?<br>
<br>I did a bit of searching the net and did not really find some answers, well that made sense to me. <a href="http://kernelnewbies.org" target="_blank">kernelnewbies.org</a>, not sure what is going on there, get a lot of "<b>This page does not exist yet. You can create a new empty page,
or use one of the page templates. Before creating the page, please check
if a similar page already exists."</b><br><br>Regards<span><font color="#888888"><br>Gregg<br><br><br><br><br>
</font></span><br>_______________________________________________<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><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Anmol Sarma<div>Depatment of Mechatronics</div><div>Vignan University</div><br>
</font></span></div>
</blockquote></div><br></div>