Opensource release V1.0.2.12 seems to require GCC 4.5.2. I'm trying to use a newer (not 6 year old) GCC release, and very soon into the build I get-
make[2]: Entering directory '/home/rektide/src/R7800/scripts/config'In file included from zconf.tab.c:157:0:zconf.hash.c:159:43: warning: 'kconf_id_strings_contents' is static but used in inline function 'kconf_id_lookup' which is not static#define kconf_id_strings ((const char *) &kconf_id_strings_contents)^zconf.hash.c:226:44: note: in expansion of macro 'kconf_id_strings'register const char *s = o + kconf_id_strings;^~~~~~~~~~~~~~~~zconf.hash.c:219:26: warning: 'kconf_id_hash' is static but used in inline function 'kconf_id_lookup' which is not staticregister int key = kconf_id_hash (str, len);^~~~~~~~~~~~~zconf.hash.c:175:26: warning: 'wordlist' is static but declared in inline function 'kconf_id_lookup' which is not staticstatic struct kconf_id wordlist[] =^~~~~~~~zconf.tab.o: In function `zconflex':zconf.tab.c:(.text+0x21b9): undefined reference to `kconf_id_lookup'zconf.tab.c:(.text+0x230b): undefined reference to `kconf_id_lookup'collect2: error: ld returned 1 exit status<builtin>: recipe for target 'conf' failedmake[2]: *** [conf] Error 1make[2]: Leaving directory '/home/rektide/src/R7800/scripts/config'
rektide:
Original stock 1.0.2.12 uses GCC-linaro v 4.6. You can take missing toolchain for 1.0.2.12 GPL from e.g. firmware for R7500v2. There is no toolchain included into GPL.
Voxel.
Tested compile works under Ubuntu 12.04 LTS installing GCC/G++ 4.5.2 and all needed dependencies (you can try make and then install what's missing..) from non ROOT user.
Regards
Tested compile works also under Ubuntu 14.04 with GCC 4.8.4 (thx to Voxel for direction...)
Hey positive note- the v1.0.2.28 firmware has a toolchain.tar.bz2 file! That's a big help (vs Voxel's suggestion of borrowing a toolchain from R7500), thanks Netgear developers!