I'm working on updating bluez to a more recent version. The newer
bluez needs a newer glib.  I updated the version of glib. Updating
glib triggers a dependency on libffi.

Who is looking in the wrong place? glib or libffi?

OpenWrt-libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I..
-DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I../glib -I..
-DG_DISABLE_CAST_CHECKS -DGOBJECT_COMPILATION
-I/home/apps/openwrt/staging_dir/host/include -pthread
-I/home/apps/openwrt/staging_dir/host/include -O2
-I/home/apps/openwrt/staging_dir/host/include -Wall -MT
libgobject_2_0_la-gclosure.lo -MD -MP -MF
.deps/libgobject_2_0_la-gclosure.Tpo -c gclosure.c  -fPIC -DPIC -o
.libs/libgobject_2_0_la-gclosure.o
gclosure.c:29:17: fatal error: ffi.h: No such file or directory

jonsmirl@terra:/home/apps/openwrt$ find | grep ffi.h
./staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include/ffi.h
./staging_dir/host/lib/libffi-3.0.10/include/ffi.h
./build_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/gcc-linaro-4.6-2012.02/libffi/include/ffi.h.in
jonsmirl@terra:/home/apps/openwrt$


jonsmirl@terra:/home/apps/openwrt/feeds/packages$ svn diff
Index: libs/glib2/Makefile
===================================================================
--- libs/glib2/Makefile (revision 33716)
+++ libs/glib2/Makefile (working copy)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk

 PKG_NAME:=glib2
-PKG_VERSION:=2.26.1
-PKG_RELEASE:=3
+PKG_VERSION:=2.32.4
+PKG_RELEASE:=4

-PKG_SOURCE:=glib-$(PKG_VERSION).tar.bz2
+PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz
 PKG_BUILD_DIR:=$(BUILD_DIR)/glib-$(PKG_VERSION)
-PKG_SOURCE_URL:=@GNOME/glib/2.26
-PKG_MD5SUM:=17535accceef55bcb17a74d73f9c2aef
+PKG_SOURCE_URL:=@GNOME/glib/2.32
+PKG_MD5SUM:=bf84fefd9c1a5b5a7a38736f4ddd674a

 PKG_FIXUP:=autoreconf
 PKG_BUILD_DEPENDS:=glib2/host libpthread zlib libintl libffi
@@ -30,7 +30,7 @@
 define Package/glib2
   SECTION:=libs
   CATEGORY:=Libraries
-  DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +zlib +libpthread
+  DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +zlib +libpthread +libffi
   TITLE:=glib 2.0
   URL:=http://www.gtk.org/
 endef
jonsmirl@terra:/home/apps/openwrt/feeds/packages$


-- 
Jon Smirl
[email protected]
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to