On Tue, Feb 18, 2003 at 07:12:27PM +0200, Muli Ben-Yehuda wrote:
> On Tue, Feb 18, 2003 at 07:01:36PM +0200, Shaul Karl wrote:
> 
> >   I believe it worked for me in the past. However today I have tried it
> > with some other module and got:
> > 
> >     kernel-source-2.4.20$ make SUBDIRS=drivers/pnp modules
> >     gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
> >     scripts/split-include scripts/split-include.c
> >     make: *** No rule to make target `include/linux/autoconf.h', needed by
> >     `include/config/MARKER'.  Stop.
> 
> Your kernel is not configured. You need to run 'make oldconfig', and
> maybe also 'make dep'. Depends on the version, but is harmless if not
> needed so you can do it anyway. 


  At the time I thought that replacing 'make oldconfig' with 'make
menuconfig' will just let me have a nicer way to do it. Yet with 
'make menuconfig' it doesn't work while with 'make oldconfig' it does.
Just to point out for people who don't compile a kernel regularly that
there seems to me more subtle differences between oldconfig and
menuconfig other then the way they look.
  Another option, which probably does much more but is suitable for
those who insists on using Debian's make-kpkg tool is 
make-kpkg configure.
  I also didn't want to bypass the make files and gcc directly as Diego
Iastrubni has suggested. It is too error prone unless you know what you
are doing; seems less portable to other modules, and to similar tasks
in the future. Of course if you do it regularly from time to time
or know what you are doing then it is different, but this is not the
case for me. I agree that this decision is a matter of taste.
-- 

    Shaul Karl, [EMAIL PROTECTED] e t

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to