make dep bombs

Kevin F. Berrien kblists at comcast.net
Wed Mar 24 22:22:44 UTC 2004


Was not doing the following:

 >make oldconfig (necessary for certain buggy systems)
&
 >export CC=gcc32

I've been following the RH Building a custom kernel (Appendix A) docs, 
which I've used in the past on RH 8 & 9 with success.

Travis Fraser wrote:

>On Tue, 2004-03-23 at 19:09, Kevin F. Berrien wrote:
>  
>
>>Well, I'd kinda like to stick with the "red hat" method, as its what I'm 
>>used too, and I know my kernel is in-snyc with the distribution, FC1.
>>
>>This thread is a few days old, so I'll repost a bit of the make dep 
>>output, and where it bombs.
>>
>>make[2]: *** No rule to make target 
>>`/usr/src/linux-2.4.22-1.2174.nptl/include/linux/autoconf.h', needed by 
>>`/usr/src/linux-2.4.22-1.2174.nptl/include/linux/modules/signal.ver'.  
>>Stop.
>>make[2]: Leaving directory `/usr/src/linux-2.4.22-1.2174.nptl/kernel'
>>make[Untitled 11]: *** [_sfdep_kernel] Error 2
>>make[1]: Leaving directory `/usr/src/linux-2.4.22-1.2174.nptl'
>>make: *** [dep-files] Error 2
>>[root at utah linux-2.4]#
>>
>>As are you, I'm not a kernel guru either.  Though it looks as if there 
>>are issues autoconf.h which is needed by signal.ver.  And thats about as 
>>much as I know.... <grin>
>>    
>>
>Did you do these steps?
>
>        make mrproper
>        cp configs/kernel-2.4.22-i686.config .config
>        make oldconfig (necessary for certain buggy systems)
>        make menuconfig
>        make dep
>        export CC=gcc32    <--- important step when you get this far
>        make clean
>        modify /usr/src/linux-2.4/Makefile for version name (optional)
>        make bzImage modules modules_install
>        make install
>
>Travis Fraser
>
>
>  
>





More information about the fedora-list mailing list