PDA

Visualizza la versione completa : installazione kernel 2.4.9


911andrea
22-12-2007, 14:18
dovrei installre il kernel in oggetto sulla mia kubuntu gutsy gibbon(....non chiedetemi il perchè Angry )
ho provato con questa guida:
http://whitepenguin.wordpress.com/2007/09/20/compilare-il-kernel-su-ubuntu-feisty-704/
ma quando arrivo qui: fakeroot make-kpkg –initrd –append-to-version=-custom kernel_image kernel_headers
mi termina così:
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/usr/src/linux'
make: *** [debian/stamp-build-kernel] Error 2

riporto tutto per completezza



make[1]: Entering directory `/usr/src/linux'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -c -o init/main.o init/main.c
In file included from /usr/src/linux/include/linux/wait.h:19,
from /usr/src/linux/include/linux/fs.h:12,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/processor.h:72: error: array type has incomplete element type
In file included from /usr/src/linux/include/linux/fs.h:199,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/byteorder.h:14: warning: type qualifiers ignored on function return type
/usr/src/linux/include/asm/byteorder.h:28: warning: type qualifiers ignored on function return type
In file included from /usr/src/linux/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux/include/asm/byteorder.h:45,
from /usr/src/linux/include/linux/fs.h:199,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/byteorder/swab.h:132: warning: type qualifiers ignored on function return type
/usr/src/linux/include/linux/byteorder/swab.h:145: warning: type qualifiers ignored on function return type
/usr/src/linux/include/linux/byteorder/swab.h:159: warning: type qualifiers ignored on function return type
In file included from /usr/src/linux/include/linux/fs.h:308,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/ncp_fs_i.h:26: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp_fs_i.h:27: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’
In file included from /usr/src/linux/include/linux/ncp_mount.h:12,
from /usr/src/linux/include/linux/ncp_fs_sb.h:12,
from /usr/src/linux/include/linux/fs.h:660,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/ncp.h:24: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp.h:25: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp.h:26: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp.h:27: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp.h:28: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp.h:29: warning: ‘packed’ attribute ignored for field of type ‘__u8[]’
/usr/src/linux/include/linux/ncp.h:37: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp.h:38: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp.h:39: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp.h:40: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp.h:41: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp.h:42: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp.h:43: warning: ‘packed’ attribute ignored for field of type ‘__u8[]’
/usr/src/linux/include/linux/ncp.h:137: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/ncp.h:138: warning: ‘packed’ attribute ignored for field of type ‘__u8[256]’
/usr/src/linux/include/linux/ncp.h:174: warning: ‘packed’ attribute ignored for field of type ‘__u8’
In file included from /usr/src/linux/include/asm/smp.h:17,
from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/mpspec.h:79: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
In file included from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/smp.h:29: error: conflicting types for ‘smp_send_reschedule’
/usr/src/linux/include/asm/smp.h:39: error: previous declaration of ‘smp_send_reschedule’ was here
In file included from /usr/src/linux/include/linux/unistd.h:9,
from init/main.c:17:
/usr/src/linux/include/asm/unistd.h:345: warning: conflicting types for built-in function ‘_exit’
In file included from /usr/src/linux/include/linux/netdevice.h:146,
from /usr/src/linux/include/net/ip.h:29,
from /usr/src/linux/include/net/checksum.h:31,
from /usr/src/linux/include/linux/raid/md.h:34,
from init/main.c:24:
/usr/src/linux/include/linux/skbuff.h: In function ‘__skb_pull’:
/usr/src/linux/include/linux/skbuff.h:828: warning: pointer targets in return differ in signedness
/usr/src/linux/include/linux/skbuff.h: In function ‘skb_pull’:
/usr/src/linux/include/linux/skbuff.h:846: warning: pointer targets in return differ in signedness
/usr/src/linux/include/linux/skbuff.h: In function ‘__pskb_pull’:
/usr/src/linux/include/linux/skbuff.h:857: warning: pointer targets in return differ in signedness
/usr/src/linux/include/linux/skbuff.h: In function ‘pskb_pull’:
/usr/src/linux/include/linux/skbuff.h:864: warning: pointer targets in return differ in signedness
In file included from /usr/src/linux/include/net/sock.h:87,
from /usr/src/linux/include/net/ip.h:39,
from /usr/src/linux/include/net/checksum.h:31,
from /usr/src/linux/include/linux/raid/md.h:34,
from init/main.c:24:
/usr/src/linux/include/linux/atalk.h: At top level:
/usr/src/linux/include/linux/atalk.h:140: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’
/usr/src/linux/include/linux/atalk.h:141: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/atalk.h:143: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/atalk.h:144: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’
/usr/src/linux/include/linux/atalk.h:145: warning: ‘packed’ attribute ignored for field of type ‘__u8’
/usr/src/linux/include/linux/atalk.h:147: warning: ‘packed’ attribute ignored for field of type ‘__u8’
In file included from /usr/src/linux/include/net/checksum.h:33,
from /usr/src/linux/include/linux/raid/md.h:34,
from init/main.c:24:
/usr/src/linux/include/asm/checksum.h: In function ‘ip_fast_csum’:
/usr/src/linux/include/asm/checksum.h:72: error: missing terminating " character
/usr/src/linux/include/asm/checksum.h:73: error: expected string literal before ‘movl’
In file included from /usr/src/linux/include/net/checksum.h:33,
from /usr/src/linux/include/linux/raid/md.h:34,
from init/main.c:24:
/usr/src/linux/include/asm/checksum.h:75:10: error: invalid suffix "f" on integer constant
/usr/src/linux/include/asm/checksum.h:82:10: error: invalid suffix "b" on integer constant
/usr/src/linux/include/asm/checksum.h:90: error: missing terminating " character
/usr/src/linux/include/asm/checksum.h: In function ‘csum_fold’:
/usr/src/linux/include/asm/checksum.h:105: error: missing terminating " character
/usr/src/linux/include/asm/checksum.h:106: error: expected string literal before ‘addl’
/usr/src/linux/include/asm/checksum.h:108: error: missing terminating " character
/usr/src/linux/include/asm/checksum.h: In function ‘csum_tcpudp_nofold’:
/usr/src/linux/include/asm/checksum.h:121: error: missing terminating " character
/usr/src/linux/include/asm/checksum.h:122: error: expected string literal before ‘addl’
/usr/src/linux/include/asm/checksum.h:126: error: missing terminating " character
/usr/src/linux/include/asm/checksum.h: In function ‘csum_ipv6_magic’:
/usr/src/linux/include/asm/checksum.h:161: error: missing terminating " character
/usr/src/linux/include/asm/checksum.h:162: error: expected string literal before ‘addl’
/usr/src/linux/include/asm/checksum.h:173: error: missing terminating " character
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/usr/src/linux'
make: *** [debian/stamp-build-kernel] Error 2


qualcuno può aiutarmi???

francofait
22-12-2007, 15:25
Perchè con kernel 2.4.x devi usare il vecchio metodo . Non puoi farlo con la procedura introdotta nel 2.6.x

submax82
22-12-2007, 15:44
Originariamente inviato da francofait
Perchè con kernel 2.4.x devi usare il vecchio metodo . Non puoi farlo con la procedura introdotta nel 2.6.x

assolutamente NO il kernel 2.4 non è più compatibile con una versione così recente di ubuntu perchè la versione delle glibc non supporta il 2.4 ma solo il 2.6

911andrea
22-12-2007, 16:15
quindi cosa mi consigliate?
installare qlcs da zero(sempre 2.4.9)? se si cosa? e dove la trovo?

francofait
22-12-2007, 18:54
Originariamente inviato da 911andrea
quindi cosa mi consigliate?
installare qlcs da zero(sempre 2.4.9)? se si cosa? e dove la trovo?


l' ultima versione 2.4.x se proprio ti serve un 2.4.x è il nuovo 2.4.35.5

http://kernel.org

submax82
22-12-2007, 22:22
Originariamente inviato da francofait
l' ultima versione 2.4.x se proprio ti serve un 2.4.x è il nuovo 2.4.35.5

http://kernel.org

su kubuntu gutsy gibbon NON può funzionare! devi usare una distro che usa le vecchie libc che supportano il 2.4.... tipo slackware 11.0

andy caps
22-12-2007, 22:50
il kernel 2.4.9 è datato 16-Aug-2001 devi installare una distribuzione dell'epoca

probabilmente debian woody che è del 2002 lo regge altrimenti devi installare una vecchia
Red Hat 7.1 oppure 7.2. ma poi non ci fai molto con linux :bhò:

se devi installare qualcosa supportato dal kernel 2.4.9 magari puoi dire la periferica

psykopear
22-12-2007, 22:54
se non sbaglio (non vorrei ricordar male) anche l'ultima o penultima versione di arch supporta il kernel 2.4, dagli un occhiata www.archlinux.it

francofait
22-12-2007, 23:15
il 2.4.35 .5 son manco 8 giorni che è stato rilasciato e si compila tranquillamente sia con ubu che debia e pincolinux.
Certo che se pensate di compilarlo alla maniera del 2.6.x , manco se le tirate in cinese non vi viene.

weseven
23-12-2007, 00:19
arch assolutamente no.
arch è una distro bleeding edge, dovrebbe recuperare un cd dell'epoca, installarla e lasciarla lì ferma, senza aggiornarla. improponibile, poichè essendo rolling release i cd di installazione non sono veri e propri cd ma snapshot dei repo.

piuttosto debian woody.
ma perchè ti serve quel kernel?
scopi didattici o problemi hardware?

Loading