Hi Michael, On Wed, Nov 10, 2010 at 08:08, Michael Schmitz <schmitzmic@xxxxxxxxxxxxxx> wrote:
seen this before?
Not this particular one...
ÂLD Â Â Â.tmp_vmlinux1 fs/built-in.o: In function `alignfile': binfmt_elf.c:(.text+0x307bc): undefined reference to `__divdi3' fs/built-in.o: In function `elf_core_dump': binfmt_elf.c:(.text+0x3139c): undefined reference to `__divdi3' make: *** [.tmp_vmlinux1] Error 1 Apparently caused by the roundup macro in include/linux/kernel.h: #define roundup(x, y) ( Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â \ { Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â \ Â Â Â Âtypeof(y) __y = y; Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â\ Â Â Â Â(((x) + (__y - 1)) / __y) * __y; Â Â Â Â Â Â Â Â\ } Toolchain issue?
... but depending on the version of gcc, we sometimes need things like this, cfr. arch/m68k/lib/. The fix is to add a __divdi3 there. Which version are you using?
ÂMIchael (who just wanted to try out the genrtc driver on Atari :-( ...)
Genrtc (which is obsolete) or rtc-generic (to be obsoleted by rtc-cmos on Atari ;-)? Gr{oetje,eeting}s, Â Â Â Â Â Â Â Â Â Â Â Â Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. Â Â Â Â Â Â Â Â Â Â Â Â Â ÂÂ ÂÂ -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html