mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PROBLEM: compiling with gcc 3.0
@ 2001-06-19 15:02 Simone Piunno
  2001-06-19 15:07 ` Alan Cox
  2001-06-19 15:23 ` Chris Meadors
  0 siblings, 2 replies; 4+ messages in thread
From: Simone Piunno @ 2001-06-19 15:02 UTC (permalink / raw)
  To: linux-kernel


Hi,

I was trying to compile 2.4.5 with gcc 3.0 but there is a problem
(conflicting type) between kernel/timer.c and include/linux/sched.h
Apparently the problem solves with this oneline workarond:

--- linux/include/linux/sched.h Tue Jun 19 17:00:03 2001
+++ linux/include/linux/sched.h.orig    Tue Jun 19 17:00:13 2001
@@ -537,7 +537,7 @@
 extern unsigned long volatile jiffies;
 extern unsigned long itimer_ticks;
 extern unsigned long itimer_next;
-extern volatile struct timeval xtime __attribute__ ((aligned (16)));
+extern struct timeval xtime;
 
 extern void do_timer(struct pt_regs *)

don't know if this is the right approach but works for me.

-- 
.-----------------------------------------------------------------.
| Simone Piunno             Wireless Solutions srl - DADA group   |
| software architect        Europe HQ, via Castiglione 25 Bologna |
| http://www.wseurope.com   Tel: +390512966823 Fax: +390512966800 |
| http://www.waptopic.com   God is real, unless declared integer. |
'-----------------------------------------------------------------'

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

end of thread, other threads:[~2001-06-19 18:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-19 15:02 PROBLEM: compiling with gcc 3.0 Simone Piunno
2001-06-19 15:07 ` Alan Cox
2001-06-19 17:59   ` mirabilos {Thorsten Glaser}
2001-06-19 15:23 ` Chris Meadors

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®