[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building a kernel (with Docker)



Hi Alex,

On Wed, Sep 12, 2018 at 9:00 AM ALeX Kazik <alex@kazik.de> wrote:
> until now I used a about 4 your old installation inside a VM to build
> my m68k kernel and it does work.
>
> Now I thought I can use Docker to make a few steps easier.
> Attached is my current workflow including my .config.
>
> The same kernel (4.18.6) that I did build in the VM (about 4 year old
> ubuntu, never updated) fails in the docker environment (current debian
> sid & tools) with:
>
> m68k-linux-gnu-ld: drivers/rtc/rtc-proc.o: in function `is_rtc_hctosys.isra.0':
> rtc-proc.c:(.text+0x378): undefined reference to `strcmp'
>
> If I disable "/proc/driver/rtc (procfs for rtcN)"
> (CONFIG_RTC_INTF_PROC ) then it works.
>
> (Installing libc6-dev-m68k-cross makes no difference.)
>
> Any suggestions?

Please check
https://lore.kernel.org/lkml/28ebe45d-3dbd-2a82-f537-b0725f7a2bcf@infradead.org/

Does that help? Thanks!

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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


Reply to: