首页 > 解决方案 > 交叉编译字体配置以解决 imx25 故障

问题描述

交叉编译器:Sourcery_G++_Lite/bin/arm-none-linux-gnueabi

Autoconfig 在使用 arm-none-linux-gnueabi-nm 检查“获取原始符号名称”时失败。

checking command to parse /opt/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-nm -B output from arm-none-linux-gnueabi-gcc object... **failed**

最终,这导致所有符号检查失败。

checking for struct dirent.d_type... yes
checking The type of len parameter of gperf hash/lookup function... size_t
checking for FREETYPE... yes
checking for FT_Get_BDF_Property... no
checking for FT_Get_PS_Font_Info... no
checking for FT_Has_PS_Glyph_Names... no
checking for FT_Get_X11_Font_Format... no
checking for FT_Done_MM_Var... no
checking for EXPAT... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_SetDoctypeDeclHandler... no
configure: error: 
*** expat is required. or try to use --enable-libxml2
FAILED

libexpat 已经过交叉编译并且在 root/usr/lib 下可用,autoconfig 无法正确检测到它。

我相信交叉编译器工具链运行良好,因为它构建了所有其他模块,如 Freetype、jpeg 或 png 库。fontconfig 是迄今为止唯一失败的模块。

任何线索可能是什么原因?

标签: armcross-compilingfontconfig

解决方案


推荐阅读