编译平台还是ubuntu 12.04,这个错误出现在生成rootfs的时候,输出内容如下:
(……太长了,以上略)
make[3]: Leaving directory `/home/hu/work/openwrt/package/uci'make[3]: Entering directory `/home/hu/work/openwrt/package/udevtrigger'IPKG_TMP=/home/hu/work/openwrt/tmp/ipkg IPKG_INSTROOT=/home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 IPKG_CONF_DIR=/home/hu/work/openwrt/staging_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/etc IPKG_OFFLINE_ROOT=/home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 /home/hu/work/openwrt/staging_dir/host/bin/opkg --offline-root /home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 --force-depends --force-overwrite --force-postinstall --force-maintainer --add-dest root:/ --add-arch all:100 --add-arch s5pv210:200 install /home/hu/work/openwrt/bin/s5pv210/packages/udevtrigger_106-1_s5pv210.ipkInstalling udevtrigger (106-1) to root...Configuring udevtrigger.make[3]: Leaving directory `/home/hu/work/openwrt/package/udevtrigger'make[3]: Entering directory `/home/hu/work/openwrt/package/util-linux-ng'IPKG_TMP=/home/hu/work/openwrt/tmp/ipkg IPKG_INSTROOT=/home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 IPKG_CONF_DIR=/home/hu/work/openwrt/staging_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/etc IPKG_OFFLINE_ROOT=/home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 /home/hu/work/openwrt/staging_dir/host/bin/opkg --offline-root /home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 --force-depends --force-overwrite --force-postinstall --force-maintainer --add-dest root:/ --add-arch all:100 --add-arch s5pv210:200 install /home/hu/work/openwrt/bin/s5pv210/packages/fdisk_2.13.0.1-4_s5pv210.ipkInstalling fdisk (2.13.0.1-4) to root...Configuring fdisk.IPKG_TMP=/home/hu/work/openwrt/tmp/ipkg IPKG_INSTROOT=/home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 IPKG_CONF_DIR=/home/hu/work/openwrt/staging_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/etc IPKG_OFFLINE_ROOT=/home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 /home/hu/work/openwrt/staging_dir/host/bin/opkg --offline-root /home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 --force-depends --force-overwrite --force-postinstall --force-maintainer --add-dest root:/ --add-arch all:100 --add-arch s5pv210:200 install /home/hu/work/openwrt/bin/s5pv210/packages/swap-utils_2.13.0.1-4_s5pv210.ipkInstalling swap-utils (2.13.0.1-4) to root...Configuring swap-utils.make[3]: Leaving directory `/home/hu/work/openwrt/package/util-linux-ng'make[3]: Entering directory `/home/hu/work/openwrt/package/wireless-tools'IPKG_TMP=/home/hu/work/openwrt/tmp/ipkg IPKG_INSTROOT=/home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 IPKG_CONF_DIR=/home/hu/work/openwrt/staging_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/etc IPKG_OFFLINE_ROOT=/home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 /home/hu/work/openwrt/staging_dir/host/bin/opkg --offline-root /home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 --force-depends --force-overwrite --force-postinstall --force-maintainer --add-dest root:/ --add-arch all:100 --add-arch s5pv210:200 install /home/hu/work/openwrt/bin/s5pv210/packages/wireless-tools_29-4_s5pv210.ipkInstalling wireless-tools (29-4) to root...Configuring wireless-tools.make[3]: Leaving directory `/home/hu/work/openwrt/package/wireless-tools'make[3]: Entering directory `/home/hu/work/openwrt/package/zlib'IPKG_TMP=/home/hu/work/openwrt/tmp/ipkg IPKG_INSTROOT=/home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 IPKG_CONF_DIR=/home/hu/work/openwrt/staging_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/etc IPKG_OFFLINE_ROOT=/home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 /home/hu/work/openwrt/staging_dir/host/bin/opkg --offline-root /home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210 --force-depends --force-overwrite --force-postinstall --force-maintainer --add-dest root:/ --add-arch all:100 --add-arch s5pv210:200 install /home/hu/work/openwrt/bin/s5pv210/packages/zlib_1.2.3-5_s5pv210.ipkInstalling zlib (1.2.3-5) to root...Configuring zlib.make[3]: Leaving directory `/home/hu/work/openwrt/package/zlib'make[2]: Leaving directory `/home/hu/work/openwrt'make[2]: Entering directory `/home/hu/work/openwrt'make[3]: Entering directory `/home/hu/work/openwrt'( \ echo "uci set 'network.lan.dns=192.168.1.1'"; \ echo "uci set 'network.lan.proto=static'"; \ echo "uci set 'network.lan.gateway=192.168.1.1'"; \ echo "uci set 'network.lan.netmask=255.255.255.0'"; \ echo "uci set 'network.lan.ipaddr=192.168.1.230'"; \ \ ) > /home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210/etc/uci-defaults/base-filesmake[3]: Leaving directory `/home/hu/work/openwrt'./etc/init.d/samba: line 4: /etc/functions.sh: No such file or directory./etc/init.d/vsftpd: line 3: /etc/functions.sh: No such file or directorymake[2]: Leaving directory `/home/hu/work/openwrt'make[2]: Entering directory `/home/hu/work/openwrt'make[3]: Entering directory `/home/hu/work/openwrt/target/linux'make[4]: Entering directory `/home/hu/work/openwrt/target/linux/s5pv210'/home/hu/work/openwrt/scripts/kconfig.pl + /home/hu/work/openwrt/target/linux/generic/config-2.6.35 /home/hu/work/openwrt/target/linux/s5pv210/tiny210/config-2.6.35 > /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config.targetawk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' /home/hu/work/openwrt/.config >> /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config.targetecho "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config.targetecho "# CONFIG_KALLSYMS_ALL is not set" >> /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config.targetecho "# CONFIG_KPROBES is not set" >> /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config.target/home/hu/work/openwrt/staging_dir/host/bin/sed -i -e 's,.*CONFIG_AEABI.*,CONFIG_AEABI=y,' /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config.targetecho '# CONFIG_OABI_COMPAT is not set' >> /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config.target/home/hu/work/openwrt/scripts/metadata.pl kconfig /home/hu/work/openwrt/tmp/.packageinfo /home/hu/work/openwrt/.config > /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config.override/home/hu/work/openwrt/scripts/kconfig.pl 'm+' '+' /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config.target /dev/null /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config.override > /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.configmv /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config.oldgrep -v INITRAMFS /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.config.old > /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.configecho 'CONFIG_INITRAMFS_SOURCE=""' >> /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.configexport MAKEFLAGS= ;make -C /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7 CROSS_COMPILE="arm-openwrt-linux-uclibcgnueabi-" ARCH="arm" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" CC="arm-openwrt-linux-uclibcgnueabi-gcc" oldconfig prepare scriptsmake[5]: Entering directory `/home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7'scripts/kconfig/conf -o arch/arm/Kconfig** Restart config...*** Miscellaneous devices*Miscellaneous devices (INPUT_MISC) [Y/n/?] y K3G driver for s5pc11x (GYRO_K3G) [N/m/y/?] (NEW) Analog Devices AD714x Capacitance Touch Sensor (INPUT_AD714X) [N/m/y/?] n ATI / X10 USB RF remote control (INPUT_ATI_REMOTE) [N/m/y/?] n ATI / Philips USB RF remote control (INPUT_ATI_REMOTE2) [N/m/y/?] n Key chord input driver support (INPUT_KEYCHORD) [N/m/y/?] (NEW) Keyspan DMR USB remote control (EXPERIMENTAL) (INPUT_KEYSPAN_REMOTE) [N/m/y/?] n Griffin PowerMate and Contour Jog support (INPUT_POWERMATE) [N/m/y/?] n Yealink usb-p1k voip phone (INPUT_YEALINK) [M/n/y/?] m C-Media CM109 USB I/O Controller (INPUT_CM109) [M/n/y/?] m User level driver support (INPUT_UINPUT) [N/m/y/?] n GPIO driver support (INPUT_GPIO) [N/m/y/?] n PCF8574 Keypad input device (INPUT_PCF8574) [N/m/y/?] n Rotary encoders connected to GPIO pins (INPUT_GPIO_ROTARY_ENCODER) [N/m/y/?] n Polled GPIO buttons interface (INPUT_GPIO_BUTTONS) [N/m/y/?] n GP2A ambient light and proximity input device (OPTICAL_GP2A) [N/m/y/?] (NEW) ## configuration written to .config#scripts/kconfig/conf -s arch/arm/Kconfig CHK include/linux/version.h CHK include/generated/utsrelease.hmake[7]: `include/generated/mach-types.h' is up to date. CALL scripts/checksyscalls.shmake[5]: Leaving directory `/home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7'rm -rf /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/modulestouch /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.configuredrm -f /home/hu/work/openwrt/build_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/root-s5pv210/initmake -C /home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7 CROSS_COMPILE="arm-openwrt-linux-uclibcgnueabi-" ARCH="arm" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" CC="arm-openwrt-linux-uclibcgnueabi-gcc" make[5]: Entering directory `/home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7' CHK include/linux/version.h CHK include/generated/utsrelease.hmake[6]: `include/generated/mach-types.h' is up to date. CALL scripts/checksyscalls.sh CHK include/generated/compile.h GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o LD vmlinuxarm-openwrt-linux-uclibcgnueabi-ld: Dwarf Error: mangled line number section.drivers/built-in.o: In function `s5p_nand_calculate_ecc_8bit':hiddev.c:(.text+0x87ad8): undefined reference to `__might_sleep'hiddev.c:(.text+0x87b50): undefined reference to `__might_sleep'drivers/built-in.o: In function `s5p_nand_correct_data_8bit':hiddev.c:(.text+0x87d80): undefined reference to `__might_sleep'make[5]: *** [vmlinux] Error 1make[5]: Leaving directory `/home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7'make[4]: *** [/home/hu/work/openwrt/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/.image] Error 2make[4]: Leaving directory `/home/hu/work/openwrt/target/linux/s5pv210'make[3]: *** [install] Error 2make[3]: Leaving directory `/home/hu/work/openwrt/target/linux'make[2]: *** [target/linux/install] Error 2make[2]: Leaving directory `/home/hu/work/openwrt'make[1]: *** [/home/hu/work/openwrt/staging_dir/target-arm_v7-a_uClibc-0.9.30.1_eabi/stamp/.target_install] Error 2make[1]: Leaving directory `/home/hu/work/openwrt'
我的defconfig是这样的:
tiny210-defconfig.tar.gz (20 K) 下载次数:4 等待解决……辛苦了~