ROC-RK3308-CC编译失败问题
murphy@ubuntu:~/work$ lsb_release -aNo LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
murphy@ubuntu:~/work/buildroot/output/firefly_rk3308_release$ make
umask 0022 && make -C /home/murphy/work/buildroot O=/home/murphy/work/buildroot/output/firefly_rk3308_release/.
>>> rkwifibt 1.0.0 Building
/home/murphy/work/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gcc -o /home/murphy/work/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/b
/home/murphy/work/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/brcm_tools/brcm_patchram_plus1.c:182:3: warning: initialization discards ‘const’ qualifier from pointe
{(const char *) NULL, NULL}
^
/home/murphy/work/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/brcm_tools/brcm_patchram_plus1.c: In function ‘proc_read_local_name’:
/home/murphy/work/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/brcm_tools/brcm_patchram_plus1.c:778:17: warning: implicit declaration of function ‘toupper’ [-Wimplic
*(p_name+i) = toupper(*(p_name+i));
^~~~~~~
/home/murphy/work/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/brcm_tools/brcm_patchram_plus1.c: In function ‘proc_open_patchram’:
/home/murphy/work/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/brcm_tools/brcm_patchram_plus1.c:807:13: warning: implicit declaration of function ‘tolower’ [-Wimplic
*(p+i) = tolower(*(p+i));
^~~~~~~
/home/murphy/work/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gcc -o /home/murphy/work/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/b
/home/murphy/work/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/brcm_tools/dhd_priv.c: In function ‘main’:
/home/murphy/work/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/brcm_tools/dhd_priv.c:81:15: warning: assignment from incompatible pointer type [-Wincompatible-pointe
ifr.ifr_data = &priv_cmd;
^
/home/murphy/work/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/brcm_tools/dhd_priv.c:89:2: warning: implicit declaration of function ‘close’ [-Wimplicit-function-dec
close(ioctl_sock);
^~~~~
mkdir -p /home/murphy/work/buildroot/output/firefly_rk3308_release/target/system/lib/modules/
/home/murphy/work/buildroot/../build.sh modules
============Start build kernel modules============
TARGET_ARCH =arm64
TARGET_KERNEL_CONFIG =firefly-rk3308b_linux_defconfig
==================================================
#
# configuration written to .config
#
scripts/kconfig/conf--silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
make: 'include/generated/vdso-offsets.h' is up to date.
Building modules, stage 2.
MODPOST 2 modules
ERROR: "nf_hooks_needed" undefined!
ERROR: "nf_hook_slow" undefined!
ERROR: "br_dev_queue_push_xmit" undefined!
ERROR: "nf_unregister_hooks" undefined!
ERROR: "br_forward_finish" undefined!
ERROR: "nf_ipv6_ops" undefined!
ERROR: "nf_br_ops" undefined!
ERROR: "nf_register_hooks" undefined!
ERROR: "br_handle_frame_finish" undefined!
ERROR: "v4l2_event_unsubscribe" undefined!
ERROR: "video_device_release_empty" undefined!
ERROR: "v4l2_device_unregister" undefined!
ERROR: "v4l2_ctrl_handler_free" undefined!
ERROR: "v4l2_ctrl_g_ctrl" undefined!
ERROR: "__video_register_device" undefined!
ERROR: "v4l2_device_register" undefined!
ERROR: "v4l2_device_disconnect" undefined!
ERROR: "video_unregister_device" undefined!
ERROR: "v4l2_ctrl_subscribe_event" undefined!
ERROR: "v4l2_fh_release" undefined!
ERROR: "__v4l2_ctrl_s_ctrl" undefined!
ERROR: "video_devdata" undefined!
ERROR: "v4l2_ctrl_handler_setup" undefined!
ERROR: "v4l2_fh_open" undefined!
ERROR: "v4l2_device_put" undefined!
ERROR: "v4l2_get_timestamp" undefined!
ERROR: "video_ioctl2" undefined!
ERROR: "v4l2_ctrl_poll" undefined!
scripts/Makefile.modpost:91: recipe for target '__modpost' failed
make: *** Error 1
Makefile:1185: recipe for target 'modules' failed
make: *** Error 2
====Build kernel failed!====
package/pkg-generic.mk:247: recipe for target '/home/murphy/work/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/.stamp_built' failed
make: *** Error 1
Makefile:16: recipe for target '_all' failed
make: *** Error 2
murphy@ubuntu:~/work/buildroot/output/firefly_rk3308_release$ make menuconfig
umask 0022 && make -C /home/murphy/work/buildroot O=/home/murphy/work/buildroot/output/firefly_rk3308_release/. menuconfig
GEN /home/murphy/work/buildroot/output/firefly_rk3308_release/Makefile
页:
[1]