mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Compiling with gcc-3.0
@ 2001-06-27  3:45 Steve Youngs
  2001-06-27  4:04 ` Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Youngs @ 2001-06-27  3:45 UTC (permalink / raw)
  To: linux-kernel

I'm not on this list, followups set to my email address.

Trying to compile 2.4.5 with gcc-3.0 gives me this:

,----
| gcc -D__KERNEL__ -I/usr/src/linux-2.4.5/include -Wall \
|   -Wstrict-prototypes -O2 -fomit-frame-pointer \
|   -fno-strict-aliasing -pipe \
|   -mpreferred-stack-boundary=2 -march=athlon \
|   -c -o timer.o timer.c
| 
| timer.c:35: conflicting types for `xtime'
| 
| /usr/src/linux-2.4.5/include/linux/sched.h:540: \
|   previous declaration of `xtime'
| 
| make[2]: *** [timer.o] Error 1
| make[2]: Leaving directory `/usr/src/linux-2.4.5/kernel'
| make[1]: *** [first_rule] Error 2
| make[1]: Leaving directory `/usr/src/linux-2.4.5/kernel'
| make: *** [_dir_kernel] Error 2
`----

Has anyone else seen this?  Is it a problem with the kernel or gcc?
Have I just stuffed up the gcc installation?

I don't see this with gcc-2.95.2

Thanks very much for any light you can shed of this for me.

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: 787C1157>---|
|              Ashes to ashes, dust to dust.               |
|      The proof of the pudding, is under the crust.       |
|-----------------------------<syoungs@dingoblue.net.au>---|

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

* Re: Compiling with gcc-3.0
  2001-06-27  3:45 Compiling with gcc-3.0 Steve Youngs
@ 2001-06-27  4:04 ` Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2001-06-27  4:04 UTC (permalink / raw)
  To: Steve Youngs; +Cc: linux-kernel

On 27 Jun 2001 13:45:20 +1000, 
Steve Youngs <syoungs@dingoblue.net.au> wrote:
>I'm not on this list, followups set to my email address.

So you should search the archives before mailing to the list.  This gcc
3.0 problem has been logged several times, together with the fix.  If
you searched the archives, you would have found it.


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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-27  3:45 Compiling with gcc-3.0 Steve Youngs
2001-06-27  4:04 ` Keith Owens

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®