Firefly开源社区

打印 上一主题 下一主题

[技术讨论] ROC-RK3308-CC编译失败问题

8

积分

0

威望

0

贡献

吃瓜的群众

积分
8

ROC-RK3308-CC编译失败问题

发表于 2024-8-2 17:51:53      浏览:753 | 回复:0        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 自行编译的固件
  • SDK包名称: Firefly-RK3308_Linux_SDK_git_20190924.7z
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容: 无如何修改
  • Log日志: log_error.txt
问题描述及复现步骤:
murphy@ubuntu:~/work$ lsb_release -a
No 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[3]: 'include/generated/vdso-offsets.h' is up to date.
  Building modules, stage 2.
  MODPOST 2 modules
ERROR: "nf_hooks_needed" [net/bridge/br_netfilter.ko] undefined!
ERROR: "nf_hook_slow" [net/bridge/br_netfilter.ko] undefined!
ERROR: "br_dev_queue_push_xmit" [net/bridge/br_netfilter.ko] undefined!
ERROR: "nf_unregister_hooks" [net/bridge/br_netfilter.ko] undefined!
ERROR: "br_forward_finish" [net/bridge/br_netfilter.ko] undefined!
ERROR: "nf_ipv6_ops" [net/bridge/br_netfilter.ko] undefined!
ERROR: "nf_br_ops" [net/bridge/br_netfilter.ko] undefined!
ERROR: "nf_register_hooks" [net/bridge/br_netfilter.ko] undefined!
ERROR: "br_handle_frame_finish" [net/bridge/br_netfilter.ko] undefined!
ERROR: "v4l2_event_unsubscribe" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "video_device_release_empty" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "v4l2_device_unregister" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "v4l2_ctrl_handler_free" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "v4l2_ctrl_g_ctrl" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "__video_register_device" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "v4l2_device_register" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "v4l2_device_disconnect" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "video_unregister_device" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "v4l2_ctrl_subscribe_event" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "v4l2_fh_release" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "__v4l2_ctrl_s_ctrl" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "video_devdata" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "v4l2_ctrl_handler_setup" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "v4l2_fh_open" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "v4l2_device_put" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "v4l2_get_timestamp" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "video_ioctl2" [drivers/media/usb/gspca/gspca_main.ko] undefined!
ERROR: "v4l2_ctrl_poll" [drivers/media/usb/gspca/gspca_main.ko] undefined!
scripts/Makefile.modpost:91: recipe for target '__modpost' failed
make[3]: *** [__modpost] Error 1
Makefile:1185: recipe for target 'modules' failed
make[2]: *** [modules] 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[1]: *** [/home/murphy/work/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/.stamp_built] Error 1
Makefile:16: recipe for target '_all' failed
make: *** [_all] 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

error.png (135.6 KB, 下载次数: 228)

error.png

log_error.txt

18.9 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表