Ads 468x60px

##EasyReadMore##

06 12月, 2017

bitbacke 上 rtlbtusb 錯誤 error: 'struct bt_skb_cb' has no member named 'opcode'

在 build rtlbtusb 會出現下列錯誤
之後從 linux 4.8 降級 到 4.1 就解決了
降級方法如下:
http://work.oknow.org/2017/12/bitbacke-linux-48-41.html

錯誤如下:
  /usr/libexec/bluetooth/bluetoothd

ERROR: rtlbtusb-1.0-r0 do_compile: oe_runmake failed
ERROR: rtlbtusb-1.0-r0 do_compile: Function failed: do_compile (log file is located at /home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/temp/log.do_compile.12630)
ERROR: Logfile of failure stored in: /home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/temp/log.do_compile.12630
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 KERNEL_SRC=/home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work-shared/intel-quark/kernel-source KDIR=/home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work-shared/intel-quark/kernel-source KERNEL_PATH=/home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work-shared/intel-quark/kernel-source KERNEL_VERSION=4.8.25-yocto-standard CC=i586-poky-linux-gcc  -fuse-ld=bfd LD=i586-poky-linux-ld.bfd  AR=i586-poky-linux-ar  O=/home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work-shared/intel-quark/kernel-build-artifacts KBUILD_EXTRA_SYMBOLS=
| ERROR: oe_runmake failed
| make -C /home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work-shared/intel-quark/kernel-source M=/home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/Linux_BT_USB_2.12.20140808_8723BE/blutooth_usb_driver modules -s
| /home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/Linux_BT_USB_2.12.20140808_8723BE/blutooth_usb_driver/rtk_coex.c: In function 'rtk_vendor_cmd_to_fw':
| /home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/Linux_BT_USB_2.12.20140808_8723BE/blutooth_usb_driver/rtk_coex.c:418:12: error: 'struct bt_skb_cb' has no member named 'opcode'
|   bt_cb(skb)->opcode = opcode;
|             ^~
| /home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/Linux_BT_USB_2.12.20140808_8723BE/blutooth_usb_driver/rtk_coex.c:429:12: error: 'struct bt_skb_cb' has no member named 'req'
|   bt_cb(skb)->req.start = true;
|             ^~
| /home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/Linux_BT_USB_2.12.20140808_8723BE/blutooth_usb_driver/rtk_coex.c: In function 'rtk_notify_info_to_wifi':
| /home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/Linux_BT_USB_2.12.20140808_8723BE/blutooth_usb_driver/rtk_coex.c:1208:21: warning: unused variable 'report' [-Wunused-variable]
|   struct rtl_btinfo *report = (struct rtl_btinfo *)report_info;
|                      ^~~~~~
| /home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/Linux_BT_USB_2.12.20140808_8723BE/blutooth_usb_driver/rtk_coex.c: In function 'rtk_notify_regester_to_wifi':
| /home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/Linux_BT_USB_2.12.20140808_8723BE/blutooth_usb_driver/rtk_coex.c:1245:24: warning: unused variable 'reg' [-Wunused-variable]
|   hci_mailbox_register *reg = (hci_mailbox_register *) reg_value;
|                         ^~~
| make[3]: *** [/home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/Linux_BT_USB_2.12.20140808_8723BE/blutooth_usb_driver/rtk_coex.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| make[2]: *** [_module_/home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/Linux_BT_USB_2.12.20140808_8723BE/blutooth_usb_driver] Error 2
| make[1]: *** [sub-make] Error 2
| make: *** [all] Error 2
| ERROR: Function failed: do_compile (log file is located at /home/ray/QX2_Yocto/ecs_combielayer/build/tmp/work/intel_quark-poky-linux/rtlbtusb/1.0-r0/temp/log.do_compile.12630)
ERROR: Task (/home/ray/QX2_Yocto/ecs_combielayer/meta-ecs-bsp/recipes-kernel/rtlbtusb/rtlbtusb.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3624 tasks of which 3616 didn't need to be rerun and 1 failed.

0 意見:

張貼留言

 
Blogger Templates