ciao lista,
sto compilando il kernel (prelevato con apt-get) in oggetto e ottengo
una sfilza di errori quando do il comando 
$ make-kpgk kernel-image
----inizio errori-----
make[3]: Entering directory
`/usr/src/kernel-source-2.4.20/arch/i386/lib'
gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -c 
checksum.S -o checksum.o
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc 
-iwithprefix include -DKBUILD_BASENAME=old_checksum  -c -o old-checksum.o 
old-checksum.c
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc 
-iwithprefix include -DKBUILD_BASENAME=delay  -c -o delay.o delay.c
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc 
-iwithprefix include -DKBUILD_BASENAME=usercopy  -c -o usercopy.o usercopy.c
gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -c 
getuser.S -o getuser.o 
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc 
-iwithprefix include -DKBUILD_BASENAME=memcpy  -c -o memcpy.o memcpy.c
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc 
-iwithprefix include -DKBUILD_BASENAME=strstr  -c -o strstr.o strstr.c
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc 
-iwithprefix include -DKBUILD_BASENAME=mmx  -c -o mmx.o mmx.c
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc 
-iwithprefix include -DKBUILD_BASENAME=dec_and_lock  -c -o dec_and_lock.o 
dec_and_lock.c 
rm -f lib.a
ar  rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o
memcpy.o strstr.o mmx.o dec_and_lock.o
make[3]: Leaving directory `/usr/src/kernel-source-2.4.20/arch/i386/lib'
make[2]: Leaving directory `/usr/src/kernel-source-2.4.20/arch/i386/lib'
ld -m elf_i386 -T /usr/src/kernel-source-2.4.20/arch/i386/vmlinux.lds -e 
stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o init/do_mounts.o \
        --start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o 
ipc/ipc.o \
drivers/acpi/acpidrv.o drivers/parport/driver.o drivers/char/char.o 
drivers/block/block.o drivers/misc/misc.o drivers/net/net.o 
drivers/media/media.o drivers/char/drm/drm.o drivers/ide/idedriver.o 
drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o 
drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/pnp/pnp.o 
drivers/video/video.o drivers/usb/usbdrv.o \
net/network.o \
/usr/src/kernel-source-2.4.20/arch/i386/lib/lib.a 
/usr/src/kernel-source-2.4.20/lib/lib.a 
/usr/src/kernel-source-2.4.20/arch/i386/lib/lib.a 
\ --end-group \-o vmlinux
net/network.o(.text+0xe8a5):
In function `rtnetlink_rcv':
: undefined reference to `rtnetlink_rcv_skb'
make[1]: ***
[vmlinux] Error  1 
make[1]: Leaving directory `/usr/src/kernel-source-2.4.20'
make: *** [stamp-build] Error 2
--- fine errori  ---
ho avuto gli stessi errori pił o meno con il kernel 2.4.19 e con gcc 3.3
ringrazio in anticipo tutti gli aiuti che mi vengono dati.
Luca
-- 
Non vi nascondo che quando vedo
quelle magliette bianche e nere...
scatta dentro di me un
meccanismo che non so spiegare.
        Carlton Myers


Rispondere a