Newsgroup: it.comp.os.linux.iniziare
Titolo: ricompilazione e gcc

buondì a  tutti, 
ricompilando il kernel 2.4.8 ottengo un errore.
goggolando ho scoperto che probabilmente è collegato al gcc3-3 ma...come lo
risolvo? 
grazie. 
segue il messaggio d'errore.
(distro: mdk 9.2)
#make bzImage
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=i686   -c -o init/main.o
init/main.c
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:72:30: missing terminating " character
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:73: error: syntax error before "movl"
/usr/src/linux/include/asm/checksum.h:75:17: invalid suffix "f" on integer
constant
/usr/src/linux/include/asm/checksum.h:82:17: invalid suffix "b" on integer
constant
/usr/src/linux/include/asm/checksum.h:90:13: missing terminating " character
/usr/src/linux/include/asm/checksum.h:105:17: missing terminating "
character
/usr/src/linux/include/asm/checksum.h: In function `csum_fold':
/usr/src/linux/include/asm/checksum.h:106: error: syntax error before "addl"
/usr/src/linux/include/asm/checksum.h:108:17: missing terminating "
character
/usr/src/linux/include/asm/checksum.h:121:13: missing terminating "
character
/usr/src/linux/include/asm/checksum.h: In function `csum_tcpudp_nofold':
/usr/src/linux/include/asm/checksum.h:122: error: syntax error before "addl"
/usr/src/linux/include/asm/checksum.h:126:9: missing terminating " character
/usr/src/linux/include/asm/checksum.h:128: error: `__x' undeclared (first
use in this function)
/usr/src/linux/include/asm/checksum.h:128: error: (Each undeclared
identifier is reported only once
/usr/src/linux/include/asm/checksum.h:128: error: for each function it
appears in.)
/usr/src/linux/include/asm/checksum.h: At top level:
/usr/src/linux/include/asm/checksum.h:128: error: syntax error before ')'
token
/usr/src/linux/include/asm/checksum.h:161:17: missing terminating "
character
/usr/src/linux/include/asm/checksum.h: In function `csum_ipv6_magic':
/usr/src/linux/include/asm/checksum.h:162: error: syntax error before "addl"
/usr/src/linux/include/asm/checksum.h:173:17: missing terminating "
character
/usr/src/linux/include/asm/checksum.h:176: error: `__x' undeclared (first
use in this function)
/usr/src/linux/include/asm/checksum.h:176: warning: no return statement in
function returning non-void
/usr/src/linux/include/asm/checksum.h: At top level:
/usr/src/linux/include/asm/checksum.h:176: error: syntax error before ')'
token
/usr/src/linux/include/asm/checksum.h:176: error: syntax error before
"__u32"
make: *** [init/main.o] Error 1
rigrazie :-)
CD 1/3
-- 
...uno di tre e tre in uno...

 (distro: mdk 9.2)
Perché usi il vecchio (e bacato..) 2.4.8 ?
Ciao.
-- 
*** Linux user # 198661 --- ICQ 33500725 ***
***  Home  
http://web.tiscali.it/kailed
  ***
       ***  Powered by SuSeLinux  ***

 (distro: mdk 9.2)
[cut]
Vero, gcc 3-3 ha qualche problemino....ma perchè non ti scarichi un
kernel più recente e magari già compilato ? L'attuale kernel è il
2.4.33.

 
2.4.23 :)
saluti
Marco
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com
 - The #1 Newsgroup Service in the World!
-----==  Over 100,000 Newsgroups - 19 Different Servers! =-----

 2.4.33.
McFly...torna indietro ^_^

 Perché usi il vecchio (e bacato..) 2.4.8 ?
by jove, è vero. 
non mi sono accorto che 2.4.8 vuol dire 2.4.8, non  2.4.80..... 
0:-)
grazie a tutti quelli che hanno risposto!
cd 1/3


 cd 1/3
Oops si 2.4.23 sorry :) cmq se hai problemi con gcc 3.3 puoi sempre levare
via la versione 3.3 e installare la 3.2 le trovi su 
rpmfind.net
 :)