- 积分
- 24
贡献179
飞刀62 FD
注册时间2017-11-1
在线时间4 小时
扫一扫,手机访问本帖
|
我在执行build.sh脚本后,出现了如下ERROR,请问如何解决?谢谢!- root@t3-vm:~/workspace/allwinner/A40i/bsp/lichee# ./build.sh
- build buidroot-201611...
- xgnueabihf
- sun8iw11p1_hf_defconfig
- INFO: ----------------------------------------
- INFO: build lichee ...
- INFO: chip: sun8iw11p1
- INFO: platform: linux
- INFO: kernel: linux-3.10
- INFO: board: OKT3_C
- INFO: output: out/sun8iw11p1/linux/OKT3_C
- INFO: ----------------------------------------
- INFO: build buildroot ...
- make: Entering directory `/root/workspace/allwinner/A40i/bsp/lichee/buildroot-201611'
- >>> Finalizing target directory
- rm -f /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/glib-2.0/schemas/*.xml /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/glib-2.0/schemas/*.dtd
- /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/host/usr/bin/glib-compile-schemas /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/share/glib-2.0/schemas --targetdir=/root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/glib-2.0/schemas
- PYTHONPATH="/root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/lib/python2.7/sysconfigdata/:/root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/lib/python2.7/site-packages/" /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/host/usr/bin/python2.7 support/scripts/pycompile.py /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/lib/python2.7
- find /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/lib/python2.7 -name '*.py' -print0 | xargs -0 --no-run-if-empty rm -f
- find /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/lib/python2.7 -name '*.pyo' -print0 | xargs -0 --no-run-if-empty rm -f
- mkdir -p /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc
- echo "A40i" > /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc/hostname
- /bin/sed -i -e '$a \127.0.1.1\tA40i' -e '/^127.0.1.1/d' /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc/hosts
- mkdir -p /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc
- echo "Welcome to Allwinner A40i Linux Platform V1.3" > /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc/issue
- mkdir -p /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc/network/
- ( echo "# inte**ce file auto-generated by buildroot"; echo ; echo "auto lo"; echo "iface lo inet loopback"; echo ; echo "allow-hotplug eth0"; echo "iface eth0 inet dhcp"; ) > /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc/network/inte**ces
- /bin/sed -i -e s,^root:[^:]*:,root::, /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc/shadow
- ln -sf bash /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/bin/sh
- /bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 #~' /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc/inittab
- /bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc/inittab
- rm -f /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/build/locales.nopurge
- for i in C en_US locale-archive; do echo $i >> /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/build/locales.nopurge; done
- for dir in /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/locale; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/build/locales.nopurge || rm -rf $langdir; fi done; done
- if [ -d /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/X11/locale/locale.dir; fi
- rm -rf /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/include /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/aclocal \
- /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/lib/pkgconfig /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/pkgconfig \
- /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/lib/cmake /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/cmake
- find /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f
- find /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/lib/ /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/lib/ /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/libexec/ \
- \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
- rm -rf /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/zsh
- rm -rf /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/man /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/man
- rm -rf /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/info /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/info
- rm -rf /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/doc /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/doc
- rm -rf /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share/gtk-doc
- rmdir /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/share 2>/dev/null
- make: [target-finalize] Error 1 (ignored)
- find /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/host/usr/bin/arm-linux-gnueabihf-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true
- find /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/lib/ -type f -name 'libpthread*.so*' | \
- xargs -r /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/host/usr/bin/arm-linux-gnueabihf-strip --remove-section=.comment --remove-section=.note --strip-debug
- find /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/lib/ -type f -name 'ld-*.so*' | \
- xargs -r /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/host/usr/bin/arm-linux-gnueabihf-strip --remove-section=.comment --remove-section=.note --strip-debug
- test -f /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc/ld.so.conf && \
- { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true
- test -d /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc/ld.so.conf.d && \
- { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true
- mkdir -p /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc
- ( \
- echo "NAME=Buildroot"; \
- echo "VERSION=2016.11"; \
- echo "ID=buildroot"; \
- echo "VERSION_ID=2016.11"; \
- echo "PRETTY_NAME="Buildroot 2016.11"" \
- ) > /root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/etc/os-release
- >>> Executing post-build script target/user_rootfs_build.sh
- run user rootfs build script------------genrootfs =
- not genrootfs DO NOT compile sdk lib
- make: Leaving directory `/root/workspace/allwinner/A40i/bsp/lichee/buildroot-201611'
- INFO: build buildroot OK.
- INFO: build kernel ...
- INFO: prepare toolchain of sun8iw11p1...
- error format,file shoule end with gz or xz or none
- Building kernel
- /root/workspace/allwinner/A40i/bsp/lichee/linux-3.10/output/lib/modules/3.10.65
- Copy rootfs for arm
- rootfs_32bit.cpio_buildroot_201611.gz
- CHK include/generated/uapi/linux/version.h
- CHK include/generated/utsrelease.h
- make[1]: `include/generated/mach-types.h' is up to date.
- CC scripts/mod/devicetable-offsets.s
- CALL scripts/checksyscalls.sh
- GEN scripts/mod/devicetable-offsets.h
- HOSTCC scripts/mod/file2alias.o
- HOSTLD scripts/mod/modpost
- CHK include/generated/compile.h
- SKIPPED include/generated/compile.h
- CHK kernel/config_data.h
- CC drivers/soc/allwinner/pm/standby/common.o
- CC drivers/soc/allwinner/pm/standby/standby_twi.o
- CC drivers/soc/allwinner/pm/standby/power/axp_power.o
- CC drivers/soc/allwinner/pm/standby/power/axp15_power.o
- CC drivers/soc/allwinner/pm/standby/power/axp22_power.o
- CC drivers/soc/allwinner/pm/standby/power/axp20_power.o
- CC drivers/soc/allwinner/pm/standby/power/standby_power.o
- drivers/soc/allwinner/pm/standby/power/standby_power.c: In function 'pmu_get_voltage':
- drivers/soc/allwinner/pm/standby/power/standby_power.c:41:9: warning: implicit declaration of function 'axp20_get_volt' [-Wimplicit-function-declaration]
- ret = axp20_get_volt(tree);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c:44:9: warning: implicit declaration of function 'axp22_get_volt' [-Wimplicit-function-declaration]
- ret = axp22_get_volt(tree);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c:57:9: warning: implicit declaration of function 'axp15_get_volt' [-Wimplicit-function-declaration]
- ret = axp15_get_volt(tree);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c: In function 'pmu_set_voltage':
- drivers/soc/allwinner/pm/standby/power/standby_power.c:82:9: warning: implicit declaration of function 'axp20_set_volt' [-Wimplicit-function-declaration]
- ret = axp20_set_volt(tree, voltage);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c:85:9: warning: implicit declaration of function 'axp22_set_volt' [-Wimplicit-function-declaration]
- ret = axp22_set_volt(tree, voltage);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c:98:9: warning: implicit declaration of function 'axp15_set_volt' [-Wimplicit-function-declaration]
- ret = axp15_set_volt(tree, voltage);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c: In function 'pmu_get_state':
- drivers/soc/allwinner/pm/standby/power/standby_power.c:126:9: warning: implicit declaration of function 'axp20_get_state' [-Wimplicit-function-declaration]
- ret = axp20_get_state(tree);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c:129:9: warning: implicit declaration of function 'axp22_get_state' [-Wimplicit-function-declaration]
- ret = axp22_get_state(tree);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c:142:9: warning: implicit declaration of function 'axp15_get_state' [-Wimplicit-function-declaration]
- ret = axp15_get_state(tree);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c: In function 'pmu_set_state':
- drivers/soc/allwinner/pm/standby/power/standby_power.c:170:9: warning: implicit declaration of function 'axp20_set_state' [-Wimplicit-function-declaration]
- ret = axp20_set_state(tree, state);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c:173:9: warning: implicit declaration of function 'axp22_set_state' [-Wimplicit-function-declaration]
- ret = axp22_set_state(tree, state);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c:186:9: warning: implicit declaration of function 'axp15_set_state' [-Wimplicit-function-declaration]
- ret = axp15_set_state(tree, state);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c: In function 'pmu_suspend_calc':
- drivers/soc/allwinner/pm/standby/power/standby_power.c:215:9: warning: implicit declaration of function 'axp20_suspend_calc' [-Wimplicit-function-declaration]
- ret = axp20_suspend_calc(mask, func);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c:219:9: warning: implicit declaration of function 'axp22_suspend_calc' [-Wimplicit-function-declaration]
- ret = axp22_suspend_calc(mask, func);
- ^
- drivers/soc/allwinner/pm/standby/power/standby_power.c:232:9: warning: implicit declaration of function 'axp15_suspend_calc' [-Wimplicit-function-declaration]
- ret = axp15_suspend_calc(mask, func);
- ^
- CC drivers/soc/allwinner/pm/standby/standby_clock.o
- CC drivers/soc/allwinner/pm/standby/standby_debug.o
- AS drivers/soc/allwinner/pm/standby/standby_divlib.o
- CC drivers/soc/allwinner/pm/standby/standby_dram.o
- LD drivers/video/sunxi/disp2/hdmi/hdmi.o
- LD drivers/video/sunxi/disp2/hdmi/built-in.o
- AS drivers/soc/allwinner/pm/standby/./../mem_mmu_pc_asm.o
- LD drivers/video/sunxi/built-in.o
- CC drivers/soc/allwinner/pm/standby/./../mem_divlibc.o
- LD drivers/video/built-in.o
- CC drivers/soc/allwinner/pm/standby/./../mem_clk.o
- CC drivers/soc/allwinner/pm/pm_debug.o
- CC drivers/soc/allwinner/pm/standby/./../mem_timing.o
- CC drivers/soc/allwinner/pm/standby/./../mem_serial.o
- CC drivers/soc/allwinner/pm/standby/./../mem_printk.o
- CC drivers/soc/allwinner/pm/standby/./../pm_debug.o
- CC drivers/soc/allwinner/pm/standby/main.o
- drivers/soc/allwinner/pm/standby/main.c: In function 'standby_main':
- drivers/soc/allwinner/pm/standby/main.c:135:3: warning: implicit declaration of function 'power_enter_super_calc' [-Wimplicit-function-declaration]
- power_enter_super_calc(&pm_info, &extended_standby_para_info,
- ^
- drivers/soc/allwinner/pm/standby/main.c:144:3: warning: implicit declaration of function 'standby_twi_init_losc' [-Wimplicit-function-declaration]
- standby_twi_init_losc(pm_info.pmu_arg.twi_port);
- ^
- drivers/soc/allwinner/pm/standby/main.c: In function 'bus_enter_lowfreq':
- drivers/soc/allwinner/pm/standby/main.c:332:3: warning: implicit declaration of function 'standby_clk_ldodisable' [-Wimplicit-function-declaration]
- standby_clk_ldodisable();
- ^
- drivers/soc/allwinner/pm/standby/main.c: In function 'bus_freq_resume':
- drivers/soc/allwinner/pm/standby/main.c:342:3: warning: implicit declaration of function 'standby_clk_ldoenable' [-Wimplicit-function-declaration]
- standby_clk_ldoenable();
- ^
- CC drivers/soc/allwinner/pm/standby/dram/sun8iw11p1/mctl_standby-sun8iw11.o
- drivers/soc/allwinner/pm/standby/dram/sun8iw11p1/mctl_standby-sun8iw11.c: In function 'dram_udelay':
- drivers/soc/allwinner/pm/standby/dram/sun8iw11p1/mctl_standby-sun8iw11.c:30:2: warning: implicit declaration of function 'change_runtime_env' [-Wimplicit-function-declaration]
- change_runtime_env();
- ^
- drivers/soc/allwinner/pm/standby/dram/sun8iw11p1/mctl_standby-sun8iw11.c:31:2: warning: implicit declaration of function 'delay_us' [-Wimplicit-function-declaration]
- delay_us(n);
- ^
- In file included from drivers/soc/allwinner/pm/standby/dram/sun8iw11p1/mctl_standby-sun8iw11.c:18:0:
- drivers/soc/allwinner/pm/standby/dram/sun8iw11p1/mctl_standby-sun8iw11.c: In function 'mctl_channel_init_standby':
- drivers/soc/allwinner/pm/standby/dram/sun8iw11p1/mctl_hal-sun8iw11.h:77:35: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
- #define dram_dbg_0(fmt, args...) printk(fmt, ##args)
- ^
- drivers/soc/allwinner/pm/standby/dram/sun8iw11p1/mctl_standby-sun8iw11.c:713:2: note: in expansion of macro 'dram_dbg_0'
- dram_dbg_0("mctl_channel_init_standby\n");
- ^
- AS drivers/soc/allwinner/pm/mem_mmu_pc_asm.o
- rm -rf *.o drivers/soc/allwinner/pm/standby/./*.o
- CC drivers/soc/allwinner/pm/mem_int.o
- CC drivers/soc/allwinner/pm/mem_divlibc.o
- CC drivers/soc/allwinner/pm/mem_clk.o
- CC drivers/soc/allwinner/pm/mem_gpio.o
- CC drivers/soc/allwinner/pm/mem_timing.o
- CC drivers/soc/allwinner/pm/mem_serial.o
- AS drivers/soc/allwinner/pm/standby.o
- LD drivers/soc/allwinner/pm/pm_tmp.o
- arm-linux-gnueabihf-ld: error: drivers/soc/allwinner/pm/pm_debug.o uses VFP register arguments, drivers/soc/allwinner/pm/pm_tmp.o does not
- arm-linux-gnueabihf-ld: failed to merge target specific data of file drivers/soc/allwinner/pm/pm_debug.o
- make[4]: *** [drivers/soc/allwinner/pm/pm_tmp.o] Error 1
- make[3]: *** [drivers/soc/allwinner/pm] Error 2
- make[2]: *** [drivers/soc/allwinner] Error 2
- make[1]: *** [drivers/soc] Error 2
- make: *** [drivers] Error 2
- ERROR: build kernel Failed
复制代码
|
|