On Tuesday 17 January 2006 5:14 pm, Ralf Baechle wrote: > On Tue, Jan 17, 2006 at 04:17:14PM +0200, P. Christeas wrote: > > 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 > > No such files in arch/ppc/lib? Oh well, doesn't matter. It was from m68k :S > > > The patch for 2.6 is: > > struct DIstruct seems broken for little endian. What consequences does that have? > > Ralf