kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* make error
@ 2012-11-01 12:18 Gregg Douglas
       [not found] ` <CAP0ktjLiv=2U2oja_2vk1r9Gof_xL+n5Vs0diigsPOMxWHyvdw@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Gregg Douglas @ 2012-11-01 12:18 UTC (permalink / raw)
  To: kernelnewbies

Hi,

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
: http://www.youtube.com/watch?v=LLBrBBImJt4&feature=related

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. "checkpatch.pl"
gave 2 errors, both ERROR: "(foo*)" should be "(foo *)", so I fixed the
errors.

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:

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are
missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.


  WARNING: Symbol version dump /home/douglagm/git/linux-2.6/Module.symvers
           is missing; modules will have no dependencies and modversions.

  LD      drivers/staging/bcm//built-in.o
  Building modules, stage 2.
/home/douglagm/git/linux-2.6/scripts/Makefile.modpost:42:
include/config/auto.conf: No such file or directory
make[1]: *** No rule to make target `include/config/auto.conf'.  Stop.
make: *** [modules] Error 2

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.

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 ?

I did a bit of searching the net and did not really find some answers, well
that made sense to me. kernelnewbies.org, not sure what is going on there,
get a lot of "*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."*

Regards
Gregg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121101/3eb6264f/attachment.html 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-01 14:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-01 12:18 make error Gregg Douglas
     [not found] ` <CAP0ktjLiv=2U2oja_2vk1r9Gof_xL+n5Vs0diigsPOMxWHyvdw@mail.gmail.com>
2012-11-01 13:13   ` Gregg Douglas
2012-11-01 14:40     ` Kumar amit mehta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).