#22193: libglib fails to compile -----------------------+--------------------------------------- Reporter: Mangix | Owner: developers Type: defect | Status: new Priority: normal | Milestone: Designated Driver (Trunk) Component: packages | Version: Trunk Resolution: | Keywords: -----------------------+---------------------------------------
Comment (by kofec): Other fixes which have to be applied: linux/compiler-gcc6.h: No such file or directory openwrt compiler-gcc6.h uboot [https://patchwork.ozlabs.org/patch/577912/] and cfns.gperf:101:1: error: from [https://drive.google.com/file/d/0BwWNLQDwiOxtYnJSRm1Dam9XTU0/view?usp=sharing] {{{ --- gcc/cp/cfns.h.orig 2015-02-13 08:27:46.000000000 +0200 +++ gcc/cp/cfns.h 2015-02-13 10:23:53.000000000 +0200 @@ -53,6 +53,9 @@ static unsigned int hash (const char *, unsigned int); #ifdef __GNUC__ __inline +#ifdef __GNUC_STDC_INLINE__ +__attribute__ ((__gnu_inline__)) +#endif #endif const char * libc_name_p (const char *, unsigned int); /* maximum key range = 391, duplicates = 0 */ @@ -96,7 +99,7 @@ 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, 400 }; - register int hval = len; + register int hval = (int)len; switch (hval) { }}} -- Ticket URL: <https://dev.openwrt.org/ticket/22193#comment:3> OpenWrt <http://openwrt.org> Opensource Wireless Router Technology _______________________________________________ openwrt-tickets mailing list openwrt-tickets@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets