Hi Paul, the trick is to add the OpenWrt source as package feed, this way you gain access to libffi and any other core packages:
$ wget https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2 [...] $ tar -xjf OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2 $ cd OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/ $ echo "src-git base git://git.openwrt.org/14.07/openwrt.git" >> feeds.conf.default $ ./scripts/feeds update [...] $ ./scripts/feeds install -d m libffi [...] $ make package/libffi/compile $ ls -l bin/ar71xx/packages/*/ bin/ar71xx/packages/base/: total 568 -rw-r--r-- 1 jow jow 9340 Oct 7 10:49 ldconfig_0.9.33.2-1_ar71xx.ipk -rw-r--r-- 1 jow jow 5375 Oct 7 10:49 ldd_0.9.33.2-1_ar71xx.ipk -rw-r--r-- 1 jow jow 224825 Oct 7 10:49 libc_0.9.33.2-1_ar71xx.ipk -rw-r--r-- 1 jow jow 32424 Oct 7 10:49 libgcc_4.8-linaro-1_ar71xx.ipk -rw-r--r-- 1 jow jow 31823 Oct 7 10:49 libpthread_0.9.33.2-1_ar71xx.ipk -rw-r--r-- 1 jow jow 5578 Oct 7 10:49 librt_0.9.33.2-1_ar71xx.ipk -rw-r--r-- 1 jow jow 256572 Oct 7 10:49 libstdcpp_4.8-linaro-1_ar71xx.ipk -rw-r--r-- 1 jow jow 755 Oct 7 10:49 libthread-db_0.9.33.2-1_ar71xx.ipk bin/ar71xx/packages/packages/: total 8 -rw-r--r-- 1 jow jow 6161 Oct 7 10:49 libffi_3.0.13-1_ar71xx.ipk ~ Jow _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel