arm - 交叉编译字体配置以解决 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 是迄今为止唯一失败的模块。
任何线索可能是什么原因?
解决方案
推荐阅读
- php - Laravel 5.6 Eager Loading 特定列不返回任何内容
- dax - 两个日期之间出现 DAX
- c# - 从索引数组动态填充 mvvm 模型
- scala - 如何在火花上对数据帧上的数据进行非规范化
- r - Group/Mutate 仅返回 NA 而不是平均值
- c# - 如何使用 FastMember 创建具有子对象的对象的读取器
- bash - 用于修改和压缩文件的 Bash 脚本
- sublimetext3 - Sublime Text - 如何为每个项目启用 linter
- keycloak - Keycloak .well-known/openid-configuration 没有响应端点的“https”协议
- swift - GoogleSignIn 不适用于 YouTube API (Swift)