Cross compiling 使用glib2.28.7进行libnice-0.13.0交叉编译

Cross compiling 使用glib2.28.7进行libnice-0.13.0交叉编译,cross-compiling,glib,libnice,Cross Compiling,Glib,Libnice,我正在ubuntu 14.04上为arc linux uclibc主机交叉编译libnice-0.13.0。但是它失败了,并且有这个错误跟踪 制作全套插座 make[2]: Entering directory `/home/tars/libnice-0.1.13/socket' CC socket.lo In file included from ../agent/stream.h:47:0, from ../agent/agent-priv.

我正在ubuntu 14.04上为arc linux uclibc主机交叉编译libnice-0.13.0。但是它失败了,并且有这个错误跟踪

制作全套插座

make[2]: Entering directory `/home/tars/libnice-0.1.13/socket'
  CC       socket.lo
In file included from ../agent/stream.h:47:0,
                 from ../agent/agent-priv.h:92,
                 from socket.c:45:
../agent/component.h:163:8: error: field 'io_mutex' has incomplete type
 GMutex io_mutex;

我目前有glib2.28.7交叉编译库,其中定义了GMutex类型。如何实现它?

您需要GLib 2.32或更新版本来支持静态定义的
GMutex
es。libnice 0.1.13需要GLib 2.30(这是一个错误:它应该需要2.32),因此您应该已经从libnice那里得到了一个
configure
失败


Glib2.28非常陈旧(它于2011年发布)。您应该升级。

是的,它升级了。我尝试交叉编译glib版本>=2.32.0。但我做不到。