From: Simone Piunno <simonep@wseurope.com>
To: linux-kernel@vger.kernel.org
Subject: PROBLEM: compiling with gcc 3.0
Date: Tue, 19 Jun 2001 17:02:35 +0200 [thread overview]
Message-ID: <20010619170235.C2593@pioppo.wired> (raw)
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. |
'-----------------------------------------------------------------'
next reply other threads:[~2001-06-19 15:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-19 15:02 Simone Piunno [this message]
2001-06-19 15:07 ` Alan Cox
2001-06-19 17:59 ` mirabilos {Thorsten Glaser}
2001-06-19 15:23 ` Chris Meadors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010619170235.C2593@pioppo.wired \
--to=simonep@wseurope.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®