目前我安装wiki上的说明编译imx-test,不过在编译glibc的时候出错了:
Task 40 (/home/myzr/yocto/imx-3.14.52-1.1.0_ga/sources/poky/meta/recipes-core/glibc/glibc_2.21.bb, do_compile) failed with exit code '1'
编译的时候报了很多下面的错误:
./8bit-gap.c:54:19: error: 'to_ucs4' undeclared (first use in this function)
| uint32_t ch = to_ucs4[*inptr]; \
| ^
| ../iconv/loop.c:325:7: note: in expansion of macro 'BODY'
| BODY
| ^
| ./8bit-gap.c:54:19: note: each undeclared identifier is reported only once for each function it appears in
| uint32_t ch = to_ucs4[*inptr]; \
| ^
| ../iconv/loop.c:325:7: note: in expansion of macro 'BODY'
| BODY
| ^
| ../iconv/loop.c: In function 'gconv_btowc':
| In file included from ibm874.c:28:0:
| ../iconv/loop.c: In function 'from_gap':
| ./8bit-gap.c:54:19: error: 'to_ucs4' undeclared (first use in this function)
| uint32_t ch = to_ucs4[*inptr]; \
| ^
| ../iconv/loop.c:325:7: note: in expansion of macro 'BODY'
| BODY
| ^
| ./8bit-gap.c:54:19: note: each undeclared identifier is reported only once for each function it appears in
| uint32_t ch = to_ucs4[*inptr]; \
| ^
| ../iconv/loop.c:325:7: note: in expansion of macro 'BODY'