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

Errori ricompilazione kernel



Salve a Tutti
avendo intenzione di cambiare alcune cose nel kernel, mi sono messo a
ricompilarlo (non è la prima volta che lo faccio, quindi mi pare strano)
purtroppo alla fine della compilazione ottengo una lunghissima sequela di
errori del tipo:

	[snip]
cp microcode.o apm.o
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/arch/i386/kernel/
make[3]: Leaving directory /usr/src/linux-2.4.17/arch/i386/kernel'
/usr/bin/make -C  arch/i386/mm modules_install
make[3]: Entering directory /usr/src/linux-2.4.17/arch/i386/mm'
make[3]: Nothing to be done for odules_install'.
make[3]: Leaving directory /usr/src/linux-2.4.17/arch/i386/mm'
/usr/bin/make -C  arch/i386/lib modules_install
make[3]: Entering directory /usr/src/linux-2.4.17/arch/i386/lib'
make[3]: Nothing to be done for odules_install'.
make[3]: Leaving directory /usr/src/linux-2.4.17/arch/i386/lib'
cd /usr/src/linux/debian/tmp-image/lib/modules/2.4.17; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b
/usr/src/linux/debian/tmp-image -r 2.4.17; fi
depmod: *** Unresolved symbols in
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/arch/i386/kernel/apm.o
depmod:         gdt_R455fbf86
depmod:         schedule_timeout_R17d59d01
depmod:         __sysrq_lock_table_R6eced4f5
depmod:         apm_info_R50db8be5
depmod:         nr_running_Rca3c6d78
depmod:         kmalloc_R93d4cfe6
depmod:         kernel_thread_R7e9ebb05
depmod:         create_proc_entry_Ra82fa3f6
depmod:         pm_power_off_R60a32ea9
depmod:         __sysrq_get_key_op_R71f1f708
depmod:         console_blank_hook_Rd25d4f74
depmod:         get_cmos_time_Rb31ddfb4
	[snip]
depmod: *** Unresolved symbols in
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/drivers/sound/v_midi.o
depmod:         kmalloc_R93d4cfe6
depmod:         kfree_R037a0cba
depmod:         printk_R1b7d4074
depmod: *** Unresolved symbols in
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/drivers/video/fbcon-cfb16.o
depmod:         __io_virt_debug_R2fd62b99
depmod: *** Unresolved symbols in
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/drivers/video/fbcon-cfb2.o
depmod:         __io_virt_debug_R2fd62b99
depmod: *** Unresolved symbols in
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/drivers/video/fbcon-cfb24.o
depmod:         __io_virt_debug_R2fd62b99
depmod: *** Unresolved symbols in
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/drivers/video/fbcon-cfb32.o
depmod:         __io_virt_debug_R2fd62b99
depmod: *** Unresolved symbols in
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/drivers/video/fbcon-cfb4.o
depmod:         __io_virt_debug_R2fd62b99
depmod: *** Unresolved symbols in
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/drivers/video/fbcon-cfb8.o
depmod:         __io_virt_debug_R2fd62b99
depmod: *** Unresolved symbols in
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/drivers/video/fbcon-mfb.o
depmod:         __io_virt_debug_R2fd62b99
depmod: *** Unresolved symbols in
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/drivers/video/fbcon-vga.o
depmod:         __io_virt_debug_R2fd62b99
depmod: *** Unresolved symbols in
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/drivers/video/mdacon.o
depmod:         take_over_console_Rdea4e062
depmod:         vc_resize_R12e7edfe
depmod:         __const_udelay_Reae3dfd6
depmod:         give_up_console_Rd52fff57
depmod:         printk_R1b7d4074
depmod: *** Unresolved symbols in
/usr/src/linux/debian/tmp-image/lib/modules/2.4.17/kernel/drivers/video/radeonfb.o
depmod:         __ioremap_R9eac042a
depmod:         register_framebuffer_R41a65a20
depmod:         fb_set_cmap_Rf100b697
depmod:         __const_udelay_Reae3dfd6
	[snip]
depmod:         request_resource_R41685cfb
make[2]: *** [_modinst_post] Error 1
make[2]: Leaving directory /usr/src/linux-2.4.17'
make[1]: *** [real_stamp_image] Error 2
make[1]: Leaving directory /usr/src/linux-2.4.17'
(END) 

il bello è che ho riprovato con kernel "liscio" (2.4.17), riscompattato
ex-novo, rimesso il .config della configurazione attuale (ricompilato il 15
aprile scorso), make-kpkg clean && make-kpkg --revision=custom.2.2 kernel_image,
provato a ricompilare con una precedente versione del kernel (2.4.16):
niente!
Ho provato al classica soluzione: make bzImage e make modules vanno a buon
fine, ma make modules_install genera gli stessi erroracci e comunque installa i
moduli lo stesso; usando il nuovo kernel 'depmod -a' non segnala nulla di
strano. 
Queste le versioni del gcc e delle libc che ho installate:
:~$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
:~$ dpkg -l |grep libc6
ii  libc6          2.2.5-14       GNU C Library: Shared libraries and
ii  libc6-dev      2.2.5-14       GNU C Library: Development Libraries 
:~$ dpkg -l |grep modutils
ii  modutils       2.4.15-1       Linux module utilities.
:~$ dpkg -l |grep kernel  
ii  kernel-image-2 Custom.1.00    Linux kernel binary image for version 2.4.10
ii  kernel-image-2 1              Linux kernel binary image for version 2.4.16
ii  kernel-image-2 2              Linux kernel binary image for version 2.4.17
ii  kernel-image-2 custom.0.1     Linux kernel binary image for version 2.4.5.
ii  kernel-package 8.004          Debian Linux kernel package build scripts.
ii  nfs-kernel-ser 1.0-2          Kernel NFS server support
ii  pciutils       2.1.10-3       Linux PCI Utilities (for 2.[12345].x kernels


-- 
     Ciao Umberto
#------------------------------------------------------------------------#
|	Umberto Genovese 		E-mail: <umbegen@tin.it>	 |
|PGP  Key fingerprint = 98 D9 16 26 32 2F 7B C6  BE 4D 6E 9E F3 A6 40 98 |
|		       <GNU & Linux: the dynamic duo>			 |
#------------------------------------------------------------------------#



Reply to: