Newsgroup: it.comp.os.linux.sys
Titolo: [kernel] Problemi di compilazione di vecchi kernel con Suse 7

Ho scaricato il sorgente linux-2.0.34 e seguito quanto prescritto dal readme, 
ma quando do il comando make bzImage, mi compare quanto segue:
-----------------INIZIO----------------
In file included from /usr/src/linux/include/linux/string.h:39,
                  from /usr/src/linux/include/asm/termios.h:58,
                  from /usr/src/linux/include/linux/termios.h:5,
                  from /usr/src/linux/include/linux/tty.h:20,
                  from /usr/src/linux/include/linux/sched.h:26,
                  from init/main.c:20:
/usr/src/linux/include/asm/string.h: In function `__constant_memcpy':
/usr/src/linux/include/asm/string.h:443: warning: control reaches end 
of non-void function
/usr/src/linux/include/asm/string.h: In function 
`__constant_c_and_count_memset':
/usr/src/linux/include/asm/string.h:594: warning: control reaches end 
of non-void function
init/main.c: In function `get_options':
init/main.c:237: warning: subscript has type `char'
/usr/src/linux/include/asm/string.h:159: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:159: fixed or forbidden register 
4 (si) was spilled for class SIREG.
init/main.c: In function `checksetup':
/usr/src/linux/include/asm/string.h:140: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:140: fixed or forbidden register 
2 (cx) was spilled for class CREG.
/usr/src/linux/include/asm/string.h:140: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:140: fixed or forbidden register 
2 (cx) was spilled for class CREG.
/usr/src/linux/include/asm/string.h:140: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:140: fixed or forbidden register 
2 (cx) was spilled for class CREG.
init/main.c: In function `calibrate_delay':
/usr/src/linux/include/asm/delay.h:24: Invalid `asm' statement:
/usr/src/linux/include/asm/delay.h:24: fixed or forbidden register 0 
(ax) was spilled for class AREG.
/usr/src/linux/include/asm/delay.h:24: Invalid `asm' statement:
/usr/src/linux/include/asm/delay.h:24: fixed or forbidden register 0 
(ax) was spilled for class AREG.
init/main.c: In function `parse_root_dev':
/usr/src/linux/include/asm/string.h:140: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:140: fixed or forbidden register 
2 (cx) was spilled for class CREG.
/usr/src/linux/include/asm/string.h:140: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:140: fixed or forbidden register 
2 (cx) was spilled for class CREG.
init/main.c: In function `parse_options':
/usr/src/linux/include/asm/string.h:159: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:159: fixed or forbidden register 
4 (si) was spilled for class SIREG.
/usr/src/linux/include/asm/string.h:140: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:140: fixed or forbidden register 
2 (cx) was spilled for class CREG.
/usr/src/linux/include/asm/string.h:118: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:118: fixed or forbidden register 
4 (si) was spilled for class SIREG.
/usr/src/linux/include/asm/string.h:118: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:118: fixed or forbidden register 
4 (si) was spilled for class SIREG.
/usr/src/linux/include/asm/string.h:118: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:118: fixed or forbidden register 
4 (si) was spilled for class SIREG.
/usr/src/linux/include/asm/string.h:140: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:140: fixed or forbidden register 
2 (cx) was spilled for class CREG.
/usr/src/linux/include/asm/string.h:159: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:159: fixed or forbidden register 
4 (si) was spilled for class SIREG.
init/main.c: In function `start_kernel':
/usr/src/linux/include/asm/string.h:530: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:530: fixed or forbidden register 
2 (cx) was spilled for class CREG.
make: *** [init/main.o] Error 1
--------------------FINE--------------
Sarei grato se qualcuno mi spiegasse dove ho mancato e come posso 
fare a compilare tale kernel con la suse 7.
Grazie
Aldo

 fare a compilare tale kernel con la suse 7.
sembrerebbe un problema nel codice in assembly...
probabilmente e` un'incompatibilita` fra la suse 7 (distro recente) ed
il kernel 2.0.34 (*molto* vecchio)
ti e` proprio indispensabile quella versione?
in questo caso potresti considerare il downgrade della distro (tipo una
Slack 3.4)
ciao
Kronos
-- 
Home: 
http://kronoz.tsx.org
Sono un mirabile incrocio tra Tarzan e Giacomo Leopardi.
In me convivono tutte le doti intelluttuali di Tarzan e
tutta la prestanza fisica di Giacomo Leopardi.
A. Borsani

 
Non e' da molto che uso linux, ancora ho bisogno di fare pratica 
(distro=distribuzione?). Ho pensato di riprovare installando la Suse 5.3, 
altrimenti dovro' cercare una vecchia distribuzione... Chissa' cosa succede 
disinstallando il gcc per sostituirlo con qualche vecchia versione.
ad ogni modo, faro' tesoro di ogni consiglio.
Ciao
Aldo 

486SX 200Mb HD e 20Mb RAM.
Consiglio di parte; il mio webserver locale e db locale (intranet) ha le
caratteristiche della tua macchina e fa girare senza problemi slack 7.1
-- 
As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
		-- Albert Einstein
Maurizio - Tannoiser
Founder Member of ERLUG (Emilia Romagna Linux User Group)
http://erlug.linux.it