编译NETCONF for beaglebone(ARM)

时间:2015-11-26 12:10:01

标签: arm pthreads ietf-netconf

我需要从https://github.com/CESNET/libnetconf为beaglebone编译libnetconf。但配置脚本会出错并退出。 日志的最后一部分是

checking for xmlDOMWrapReconcileNamespaces in -lxml2... no
checking for xslt-config... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... no
checking whether pthreads work with -mthreads... no
checking for the pthreads library -lpthread... no
checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
checking for pthread-config... no
configure: error: Missing POSIX threads support.

configure运行如下

./configure --build=x86_64-linux   --host=arm-linux-gnueabi   --target=arm-linux-gnueabi   --prefix=/usr   --exec_prefix=/usr   --bindir=/usr/bin   --sbindir=/usr/sbin   --libexecdir=/usr/lib/libnetconf   --datadir=/usr/share   --sysconfdir=/etc   --sharedstatedir=/com   --localstatedir=/var   --libdir=/usr/lib   --includedir=/usr/include   --oldincludedir=/usr/include   --infodir=/usr/share/info   --mandir=/usr/share/man  --disable-libssh

libpthreads存在。我错过了什么?

0 个答案:

没有答案