为imx25失败交叉编译fontconfig

时间:2020-08-29 09:20:42

标签: arm cross-compiling fontconfig

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

在以下情况下,使用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是唯一失败的模块。

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

0 个答案:

没有答案