Arm imx25故障的交叉编译fontconfig

Arm imx25故障的交叉编译fontconfig,arm,cross-compiling,fontconfig,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... **fa

交叉编译器: 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下可用,自动配置无法正确检测它

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


有什么线索可以说明可能的原因吗?

有一个“configure.log”,转到末尾,它会转储许多变量。您需要向上滚动(几页)并查找失败的命令。通过看这个,你可以知道它失败的原因。谢谢你提供的信息。由于缓存,配置混乱。