DKMS make.log for oem-realtek-bluetooth-1391408-2.11.20140423oem6 for kernel 3.19.0-21-generic (x86_64) Tue Jun 23 06:48:57 EDT 2015 make: Entering directory '/var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build' make -C /lib/modules/3.19.0-21-generic/build M=/var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build modules make[1]: Entering directory '/usr/src/linux-headers-3.19.0-21-generic' CC [M] /var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build/rtk_btusb.o /var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build/rtk_btusb.c: In function ‘btusb_intr_complete’: /var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build/rtk_btusb.c:143:3: error: implicit declaration of function ‘hci_recv_fragment’ [-Werror=implicit-function-declaration] if (hci_recv_fragment(hdev, HCI_EVENT_PKT, ^ /var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build/rtk_btusb.c: In function ‘rtk_parse_config_file’: /var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build/rtk_btusb.c:1680:89: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] RTKBT_ERR("config len(%x) is not right(%x)", config_len, *filelen-sizeof(struct rtk_bt_vendor_config)); ^ /var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build/rtk_btusb.c:43:76: note: in definition of macro ‘RTKBT_ERR’ #define RTKBT_ERR(fmt, arg...) printk(KERN_ERR "rtk_btusb: " fmt "\n" , ## arg) ^ /var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build/rtk_btusb.c: At top level: /var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build/rtk_btusb.c:2256:6: warning: ‘print_event’ defined but not used [-Wunused-function] void print_event(struct sk_buff *skb) ^ cc1: some warnings being treated as errors scripts/Makefile.build:263: recipe for target '/var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build/rtk_btusb.o' failed make[2]: *** [/var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build/rtk_btusb.o] Error 1 Makefile:1394: recipe for target '_module_/var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build' failed make[1]: *** [_module_/var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-21-generic' Makefile:11: recipe for target 'all' failed make: *** [all] Error 2 make: Leaving directory '/var/lib/dkms/oem-realtek-bluetooth-1391408/2.11.20140423oem6/build'