Re: re-using .config to compile kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-02-06 at 16:05 +0000, THUFIR HAWAT wrote:
> ok, that was silly, it's not "make bzimage" but "make bzImage" so, uh, nevermind on that!
> 

The procedure for compiling is:
make all
make modules_install
make install

make bzImage is part of make all and is not required as a separate
instruction in 2.6.x kernels.

Between builds, make clean is advisable.

A new build may be started with make mrproper which will also delete the
current configuration. Technically this is not required in 2.6 kernels
but I'm anal.

> However...
> 
> the compile failed for unclear reasons.  a log is at <http://thufir.lecktronix.net/kernel/>.  here's an excerpt from the log:
> 
> In file included from drivers/block/cciss.c:189:
> drivers/block/cciss_scsi.c: In function `cciss_scsi_detect':
> drivers/block/cciss_scsi.c:709: warning: ignoring return value of `scsi_add_host', declared with attribute warn_unused_result
>   CC [M]  drivers/block/DAC960.o
>   CC [M]  drivers/block/pktcdvd.o
> drivers/block/pktcdvd.c: In function `pkt_new_dev':
> drivers/block/pktcdvd.c:2355: error: `CONFIG_CDROM_PKTCDVD_BUFFERS' undeclared (first use in this function)
> drivers/block/pktcdvd.c:2355: error: (Each undeclared identifier is reported only once
> drivers/block/pktcdvd.c:2355: error: for each function it appears in.)
> make[2]: *** [drivers/block/pktcdvd.o] Error 1
> make[1]: *** [drivers/block] Error 2
> make: *** [drivers] Error 2
> ]0;thufir@localhost:/usr/src/linux-2.6.10[root@localhost linux-2.6.10]# make modules
> ]0;thufir@localhost:/usr/src/linux-2.6.10[root@localhost linux-2.6.10]# make modules_install
>   INSTALL arch/i386/crypto/aes-i586.ko
> cp: cannot stat `arch/i386/crypto/aes-i586.ko': No such file or directory
> make[1]: *** [arch/i386/crypto/aes-i586.ko] Error 1
> make: *** [_modinst_] Error 2
> ]0;thufir@localhost:/usr/src/linux-2.6.10[root@localhost linux-2.6.10]# make install
>   CHK     include/linux/version.h
> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
>   CHK     include/linux/compile.h
>   CHK     usr/initramfs_list
>   CC      arch/i386/kernel/kprobes.o
> arch/i386/kernel/kprobes.c: In function `kprobe_handler':
> arch/i386/kernel/kprobes.c:102: warning: implicit declaration of function `get_kprobe'
> arch/i386/kernel/kprobes.c:102: warning: assignment makes pointer from integer without a cast
> arch/i386/kernel/kprobes.c:116: warning: implicit declaration of function `lock_kprobes'
> arch/i386/kernel/kprobes.c:117: warning: assignment makes pointer from integer without a cast
> arch/i386/kernel/kprobes.c:119: warning: implicit declaration of function `unlock_kprobes'
> arch/i386/kernel/kprobes.c: At top level:
> arch/i386/kernel/kprobes.c:276: error: redefinition of 'kprobe_exceptions_notify'
> include/asm/kprobes.h:63: error: previous definition of 'kprobe_exceptions_notify' was here
> arch/i386/kernel/kprobes.c:326: error: redefinition of 'jprobe_return'
> include/linux/kprobes.h:132: error: previous definition of 'jprobe_return' was here
> arch/i386/kernel/kprobes.c: In function `longjmp_break_handler':
> arch/i386/kernel/kprobes.c:349: warning: implicit declaration of function `show_registers'
> make[1]: *** [arch/i386/kernel/kprobes.o] Error 1
> make: *** [arch/i386/kernel] Error 2
> ]0;thufir@localhost:/usr/src/linux-2.6.10[root@localhost linux-2.6.10]# exit
> exit
> 
> 
> thanks,
> 
> Thufir Hawat
> 
> 
> 
> ----- Original Message -----
> From: "THUFIR HAWAT" <thufir.hawat@xxxxxxxx>
> To: fedora-list@xxxxxxxxxx
> Subject: re-using .config to compile kernel
> Date: Sun, 06 Feb 2005 14:58:29 +0000
> [..sillyness deleted..]
> -- 
> ___________________________________________________________
> Sign-up for Ads Free at Mail.com
> http://promo.mail.com/adsfreejump.htm
> 
> 

-- 

         Total Quality Management - A Commitment to Excellence
               Fight Spam: http://tqmcube.com/rbldsnd.com


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux