mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.10-ac1 with gcc-3.0.1 compile error!
@ 2001-10-01  6:43 Steve Kieu
  2001-10-01  7:36 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Kieu @ 2001-10-01  6:43 UTC (permalink / raw)
  To: kernel


Hi,

I compile with 2.95.3 is ok ; if I use gcc-3.0.1 I got

gcc -D__KERNEL__ -I/home/sk/src/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common
-mcpu=i686 -march=i686 -fno-strength-reduce -pipe
-mpreferred-stack-boundary=2 -march=i686    -c -o
timer.o timer.c
timer.c:35: conflicting types for `xtime'
/home/sk/src/linux/include/linux/sched.h:573: previous
declaration of `xtime'
make[2]: *** [timer.o] Error 1
make[2]: Leaving directory `/home/sk/src/linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/home/sk/src/linux/kernel'
make: *** [_dir_kernel] Error 2

How can I use gcc-3.0.1? pls help.

PS this is 2.4.10-ac1 with preempt patch if it is
useful for tracking the problem.




=====
S.KIEU

http://travel.yahoo.com.au - Yahoo! Travel
- Got Itchy feet? Get inspired!

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

* Re: 2.4.10-ac1 with gcc-3.0.1 compile error!
  2001-10-01  6:43 2.4.10-ac1 with gcc-3.0.1 compile error! Steve Kieu
@ 2001-10-01  7:36 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2001-10-01  7:36 UTC (permalink / raw)
  To: Steve Kieu; +Cc: kernel

> -mpreferred-stack-boundary=2 -march=i686    -c -o
> timer.o timer.c
> timer.c:35: conflicting types for `xtime'
> /home/sk/src/linux/include/linux/sched.h:573: previous

Thanks. I forgot to remote the volatile from the sched.h case now that
Linus tree seems to have proved its not needed

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

end of thread, other threads:[~2001-10-01  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-01  6:43 2.4.10-ac1 with gcc-3.0.1 compile error! Steve Kieu
2001-10-01  7:36 ` Alan Cox

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

all inboxes | Powered by JetHome®