2.4.5 and gcc v3 final

Kissandrakis S. George (kissand@phaistosnetworks.gr)
Wed, 20 Jun 2001 15:03:27 +0300


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/