【发布时间】:2016-04-15 16:47:56
【问题描述】:
我的ptxdist 项目中有一个依赖于libxml2 的包。
根据此错误消息,它尝试链接 sysroot-host 中的 libxml2.so,我认为应该是 sysroot-target:
/home/wago/WAGO-PFC/ptxproj-2.4.22/platform-wago-pfcXXX/sysroot-host/lib/libxml2.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
我可以的
ptxdist compile libxml2
它做得很好。该文件存在并且是正确的架构:
platform-wago-pfcXXX/sysroot-target/usr/lib/libxml2.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, not stripped
所有其他依赖项似乎都是从正确的位置提取的。我能做些什么?我可以在 .rules 文件中设置一个选项吗? 这是它的 autoconf 特定部分:
OPENCONNECT_CONF_TOOL := autoconf
OPENCONNECT_CONF_OPT := $(CROSS_AUTOCONF_USR)
$(STATEDIR)/openconnect.prepare:
@$(call targetinfo)
@$(call clean, $(OPENCONNECT_DIR)/config.cache)
cd $(OPENCONNECT_DIR) && \
$(OPENCONNECT_PATH) $(OPENCONNECT_ENV) \
./configure $(OPENCONNECT_CONF_OPT) --with-vpnc-script=/etc/vpnc/vpnc-script
@$(call touch)
【问题讨论】: