我正在尝试创建自定义的OpenWRT图像,但我不断获得recipe for target 'image' failed
以下完整日志:
[root@localhost wrt]# make info
Current Target: "ramips (MT7628 based boards)"
Default Packages: base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools kmod-leds-gpio kmod-gpio-button-hotplug wpad-mini swconfig dnsmasq iptables ip6tables ppp ppp-mod-pppoe kmod-nf-nathelper firewall odhcpd odhcp6c
Available Profiles:
Default:
Default Profile
Packages: kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
[root@localhost wrt]# make image
make[1]: Entering directory '/home/acarini/wrt'
echo 'Building images for ramips - Default Profile'
Building images for ramips - Default Profile
echo 'Packages: base-files busybox dnsmasq dropbear firewall fstools ip6tables iptables kernel kmod-gpio-button-hotplug kmod-leds-gpio kmod-ledtrig-usbdev kmod-nf-nathelper kmod-usb-core kmod-usb-ohci kmod-usb2 libc libgcc mtd netifd odhcp6c odhcpd opkg ppp ppp-mod-pppoe swconfig uci wpad-mini'
Packages: base-files busybox dnsmasq dropbear firewall fstools ip6tables iptables kernel kmod-gpio-button-hotplug kmod-leds-gpio kmod-ledtrig-usbdev kmod-nf-nathelper kmod-usb-core kmod-usb-ohci kmod-usb2 libc libgcc mtd netifd odhcp6c odhcpd opkg ppp ppp-mod-pppoe swconfig uci wpad-mini
echo
rm -rf /home/acarini/wrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips
mkdir -p /home/acarini/wrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips /home/acarini/wrt/bin/ramips /home/acarini/wrt/tmp /home/acarini/wrt/dl
if [ ! -f "/home/acarini/wrt/packages/Packages" ] || [ ! -f "/home/acarini/wrt/packages/Packages.gz" ] || [ "`find /home/acarini/wrt/packages -cnewer /home/acarini/wrt/packages/Packages.gz`" ]; then \
echo "Package list missing or not up-to-date, generating it.";\
make package_index; \
else \
mkdir -p /home/acarini/wrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/tmp; \
IPKG_NO_SCRIPT=1 IPKG_TMP="/home/acarini/wrt/tmp/ipkgtmp" IPKG_INSTROOT="/home/acarini/wrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips" IPKG_CONF_DIR="/home/acarini/wrt/tmp" IPKG_OFFLINE_ROOT="/home/acarini/wrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips" /home/acarini/wrt/staging_dir/host/bin/opkg -f /home/acarini/wrt/repositories.conf --force-depends --force-overwrite --force-postinstall --cache /home/acarini/wrt/dl --offline-root /home/acarini/wrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips --add-dest root:/ --add-arch all:100 --add-arch ramips_24kec:200 update || true; \
fi
Package list missing or not up-to-date, generating it.
make[2]: Entering directory '/home/acarini/wrt'
Building package index...
(cd /home/acarini/wrt/packages; /home/acarini/wrt/scripts/ipkg-make-index.sh . > Packages && \
gzip -9c Packages > Packages.gz \
) >/dev/null 2>/dev/null
Makefile:120: recipe for target 'package_index' failed
make[2]: *** [package_index] Error 126
make[2]: Leaving directory '/home/acarini/wrt'
Makefile:100: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
make[1]: Leaving directory '/home/acarini/wrt'
Makefile:178: recipe for target 'image' failed
make: *** [image] Error 2
我已经尝试在Windows 7 x64下安装Cygwin(安装了所有必需的软件包)和在VMware Workstation 12 Player(Win 7 x64主机)上的虚拟化Fedora x64下构建二进制文件,我得到完全相同的错误。发生了什么事?