PDA

View Full Version : Debian e kernel 2.4.20


Dun
20-05-2003, 16:37
Ho già installato su due pc Debian + kernel 2.4.20..adesso su un P3-500 ho pero' dei problemi, a metà della compilazione salta fuori un errore del genre...


UILD_BASENAME=ide_cd -c -o ide-cd.o ide-cd.c
In file included from ide-cd.c:318:
ide-cd.h:440: error: long, short, signed or unsigned used invalidly for `slot_tablelen'
make[4]: *** [ide-cd.o] Error 1
make[4]: Leaving directory `/usr/src/kernel-source-2.4.20/drivers/ide'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/kernel-source-2.4.20/drivers/ide'
make[2]: *** [_subdir_ide] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.20/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.20'
make: *** [stamp-build] Error 2



Mah...per adesso provo la 2.5....

Dun
20-05-2003, 16:38
A qaunto ho capito ha a che fare con il chipset 440bx...

l.golinelli
20-05-2003, 16:42
Ma se l'errore te lo da compilando è molto strano... :rolleyes:

Dun
20-05-2003, 16:46
Pero' non ne esco :(:(

Le altre due macchine erano chipset via...e mai mi era successa una cosa del genere...e dato che riguarda l'ide...boh :(

HElp!!!!! :cry: :cry:

Timewolf
20-05-2003, 16:51
Originally posted by "Dun"

Pero' non ne esco :(:(

Le altre due macchine erano chipset via...e mai mi era successa una cosa del genere...e dato che riguarda l'ide...boh :(

HElp!!!!! :cry: :cry:

Lo aveva dato anche a me un errore simile su una macchina...
Prova a mettere ide-cd come modulo oppure se lo hai gia' modulare implementalo direttamente nel kernel, vedrai che funziona :)

Dun
20-05-2003, 17:14
Sto provando a metterlo come modulo ;)

Incrociate le dita con me! :D:D

Dun
20-05-2003, 17:22
Wow pare funzionare :)

Ci potranno essere degli inconvenienti usandolo come modulo?

Dun
20-05-2003, 17:45
Ma cavolo..è un complotto...


In file included from poly_atan.c:19:
poly.h:78:17: missing terminating " character
In file included from poly_atan.c:19:
poly.h: In function `add_Xsig_Xsig':
poly.h:79: error: parse error before "movl"
poly.h:79: error: `addl' undeclared (first use in this function)
poly.h:79: error: (Each undeclared identifier is reported only once
poly.h:79: error: for each function it appears in.)
poly.h:79: error: parse error before '%' token
poly.h:80: error: `movl' undeclared (first use in this function)
poly.h:80: error: `adcl' undeclared (first use in this function)
poly.h:80: error: parse error before '%' token
poly.h:81: error: parse error before '%' token
poly.h:81:59: missing terminating " character
poly.h:93:17: missing terminating " character
poly.h: In function `add_two_Xsig':
poly.h:94: error: parse error before "movl"
poly.h:94: error: `addl' undeclared (first use in this function)
poly.h:94: error: parse error before '%' token
poly.h:95: error: `movl' undeclared (first use in this function)
poly.h:95: error: `adcl' undeclared (first use in this function)
poly.h:95: error: parse error before '%' token
poly.h:96: error: parse error before '%' token
poly.h:97:22: invalid suffix "f" on integer constant
poly.h:97: error: `jnc' undeclared (first use in this function)
poly.h:98: error: `rcrl' undeclared (first use in this function)
poly.h:98: error: `rcrl' used prior to declaration
poly.h:98: warning: implicit declaration of function `rcrl'
poly.h:98: error: parse error before '%' token
poly.h:99: warning: implicit declaration of function `incl'
poly.h:99: error: parse error before '%' token
poly.h:100:37: invalid suffix "f" on integer constant
poly.h:100: error: `jmp' undeclared (first use in this function)
poly.h:102:20: missing terminating " character
make[3]: *** [poly_atan.o] Error 1
make[3]: Leaving directory `/usr/src/kernel-source-2.4.20/arch/i386/math-emu'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.20/arch/i386/math-emu'
make[1]: *** [_dir_arch/i386/math-emu] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.20'
make: *** [stamp-build] Error 2

Dun
20-05-2003, 17:57
MM a quanto ho capito dipendeva dall'emulazione software del coprocessore...che adesso ho disabilitato...

Ma ste robe non potevano succedere sul mio PC principale così almeno non dovevo aspettare quei 15 min che ricompili il tutto? :D:D

Sperem :(

Dun
20-05-2003, 18:22
pfffff...2.5...arrivooooo


/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+0xf4b5): 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


Qua proprio non so che pesci pigliare...

Dun
20-05-2003, 18:24
mmm..niente...qt...questo dice xconfig...che giornata...

Dun
20-05-2003, 18:27
Mmmm..a sto punto...come faccio a tornare al gcc 3.2 dato che adesso ho il 3.3?

xfulviox
21-05-2003, 08:47
anche io ieri sera ho avuto un problema simile... ho ricompilato il kernel (stranamente avevo notato che apt mi aveva scaricato il kernel-source-2.4.20) aggiungendo solo il supporto per laptop toshiba (sperando di far andare gli tutti gli hotkey) ma la compilazione e' saltata... gia tempo fa compilai il kernel con quel modulo senza riscontrare problemi... il ùfile .config e' sempre lo stesso, non mi sono certo lanciato in configurazioni improbabili visto che tutto mi funziona pefettamente...

dona
09-06-2003, 22:01
ohhhhh..... :(
stessi problemi come risovlere?

ho gli stessi errori in compilazione elo stesso fatidico gcc 3.3 :eek:

help me !!!

malanaz
10-06-2003, 09:04
A me pure col gcc 3.3 non compilava, ma col 3.2 si.
in /usr/src/linux edita Makefile e alla voce
CC=($CROSSCOMPILE)gcc
sostituisci
CC=($CROSSCOMPILE)gcc-3.2
e vedrai che va...

Fradetti
10-06-2003, 09:55
io ieri l'ho compilato usando il 3.3 e la vecchia config (cambiandolo solo ad Athlon).... ora provo a eliminare un pò di roba e a vedere se va

p.s: su APT-GET è uscito il 2.4.20-8 (nuovissimo)... prendete quello :D

Hrc211v
10-06-2003, 18:20
Usate il gcc 3.2

dona
10-06-2003, 18:48
CC=($CROSSCOMPILE)gcc
sostituisci
CC=($CROSSCOMPILE)gcc-3.2

..alla grande

su APT-GET è uscito il 2.4.20-8 (nuovissimo)... prendete quello

bho... non l'ho trovato