public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.5 and gcc v3 final
@ 2001-06-20 12:03 Kissandrakis S. George
  2001-06-20 12:24 ` Anatoly Ivanov
  0 siblings, 1 reply; 11+ messages in thread
From: Kissandrakis S. George @ 2001-06-20 12:03 UTC (permalink / raw)
  To: linux-kernel

Hello
I suppose that you allready know it
I have installed gcc v3 released Jun 18 and i tried to compile the
kernel and i got
these errors

in make dep i got several warnings that look like this

/usr/src/linux-2.4.5/include/asm/checksum.h:161:17: warning: multi-line
string literals are deprecated

but finally passed..

in make bzImage i got

timer.c:35: conflicting types for `xtime'
/usr/src/linux-2.4.5/include/linux/sched.h:540: previous declaration of
`xtime'

and compilation stops
if i remove the decleration of xtime in sched.h (remove the 540 line)
the compile
will go on and some compiles after...

time.c: In function `do_normal_gettime':
time.c:41: `xtime' undeclared (first use in this function)

and some other errors
if in time.c include the line 540 from sched.h (the xtime) the
compilation will go on
until the same error on another file
i include again the line 540 from sched.h the compilation goes on etc
etc and after lots
of errors finally i got bzImage

I didnt test bzImage if it boots 

with gcc v2.x the same kernel and kernel config it compiles,Is it a
kernel bug, a gcc
bug or something else (bad installation of gcc, my mistake etc etc)? 

Best Regards


--- 
Kissandrakis S. George                 [kissand@phaistosnetworks.gr]
Network and System Administrator       [http://www.phaistosnetworks.gr/]
Tel:(+30 81) 391882/Fax:(+30 892) 23206
Phaistos Networks S.A. - A DOL Digital Company

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-06-26 15:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-20 12:03 2.4.5 and gcc v3 final Kissandrakis S. George
2001-06-20 12:24 ` Anatoly Ivanov
2001-06-22  1:47   ` Fabian Arias
2001-06-22  6:29     ` Anatoly Ivanov
2001-06-24  3:52       ` Anuradha Ratnaweera
2001-06-24 16:33         ` Fabian Arias
2001-06-24 17:33           ` Horst von Brand
2001-06-25 16:58             ` Anuradha Ratnaweera
2001-06-25 18:59             ` [PATCH] GCC v3 warning fixes #1 (Was: Re: 2.4.5 and gcc v3 final) Anuradha Ratnaweera
2001-06-25 22:41             ` 2.4.5 and gcc v3 final Andreas Bombe
2001-06-26 15:04               ` Anuradha Ratnaweera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox