Warning: adding UNDEFINED entry for af_ZA
GEN extra/locale/lt_defines.h
HOSTCC extra/locale/gen_wctype
extra/locale/gen_wctype.c: In function 'main':
extra/locale/gen_wctype.c:684:2: warning: #warning fix the upper bound on the upper/lower tables... save 200 bytes or so [-Wcpp]
#warning fix the upper bound on the upper/lower tables... save 200 bytes or so
^
GEN extra/locale/wctables.h
extra/locale/Makefile.in:179: recipe for target 'extra/locale/wctables.h' failed
make[1]: *** [extra/locale/wctables.h] Error 1
make[1]: Leaving directory '/work/openwrt/MTK_APSoC_SDK/source/uClibc-0.9.33.2'
Makefile:892: recipe for target 'uClibc-0.9.33.2_only' failed
make: *** [uClibc-0.9.33.2_only] Error 2
需要打补丁
http://ftp.osuosl.org/pub/manulix/scripts/build-scripts/PPFILES/ppfiles-uclibc/gen_wctype.patch
编译busybox出现的问题
Makefile:437: *** mixed implicit and normal rules: deprecated syntax
Makefile:1278: *** mixed implicit and normal rules: deprecated syntax
make: *** No rule to make target 'menuconfig'. Stop.
要么把config %config拆成2个规则,要么把其中一个目标去掉。
所以,
a.修改busybox-1.7.0 顶层Makefile 405行:
config%config: scripts_basic outputmakefile FORCE
改为:
%config:scripts_basic outputmakefile FORCE
b.修改busybox-1.7.0 顶层Makefile 1242行:
/%/: prepare scripts FORCE
改为:
%/:prepare scripts FORCE