| To: | Martin Michlmayr <tbm@cyrius.com> |
|---|---|
| Subject: | Re: undefined reference to `__lshrdi3' error with GCC 4.0 |
| From: | "P. Christeas" <p_christ@hol.gr> |
| Date: | Tue, 17 Jan 2006 16:17:14 +0200 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20060117134838.GJ27047@deprecation.cyrius.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20060117134838.GJ27047@deprecation.cyrius.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | KMail/1.9 |
On Tuesday 17 January 2006 3:48 pm, Martin Michlmayr wrote: > Has anyone else seen the following error when compiling a kernel with GCC > 4.0 (GCC 3.3 works) and knows what to do about it? > > arch/mips/kernel/built-in.o: In function `time_init': > : undefined reference to `__lshrdi3' I think I've solved it by copying the files ashldi3.c ashrdi3.c lshrdi3.c from arch/ppc/lib to arch/mips/lib The patch for 2.6 is:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Timer Interrupt, Bharathi Subramanian |
|---|---|
| Next by Date: | Re: [PATCH Cobalt 1/1] 64-bit fix, Atsushi Nemoto |
| Previous by Thread: | undefined reference to `__lshrdi3' error with GCC 4.0, Martin Michlmayr |
| Next by Thread: | Re: undefined reference to `__lshrdi3' error with GCC 4.0, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |