Page 1 of 1

Kernel compile problems

Posted: Mon Sep 18, 2017 6:48 pm
by Doc
Hi folks,

I tried to compile the kernel tree and ran in some unexpected trouble.

(1) I took the openwrt - source from vocore.io (Version 15.05).

(2) When compiling on a debian host, I had to patch the file [build_dir/host/pkg-config-0.29/glib/glib/gdate.c] with:

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
#pragma GCC diagnostic pop

(3) The next error was a missing header [linux/compiler-gcc6.h].
This seems to be not a real dependency. Therefore it was sufficient to link [compiler-gcc6.h] to [compiler-gcc5.h] . Strange, but working.

(4) BUT - later on, the build process wants to download files from ftp.all.kernel.org . That location seems no longer to exists.
Did anyone manage to circumvent this problem?

Thanx for advice

Kay

Re: Kernel compile problems

Posted: Wed Sep 20, 2017 11:37 pm
by noblepepper