我正在尝试安装一个包含联发科蓝牙驱动程序的 tar.bz2 包。
可以从此处下载该软件包http://www.mediatek.com/AmazonS3/Downloads/linux/MT7612U_DPO_LinuxSTA_3.0.0.1_20140718.tar.bz2
我遇到了一些错误,请帮忙。
shirshendu@WORKSTATION-7A:~/Downloads/DPO$ sudo make
make -C tools
make[1]: Entering directory '/home/shirshendu/Downloads/DPO/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/shirshendu/Downloads/DPO/tools'
/home/shirshendu/Downloads/DPO/tools/bin2h
chipset = mt7662u
chipset = mt7632u
chipset = mt7612u
cp -f os/linux/Makefile.6 /home/shirshendu/Downloads/DPO/os/linux/Makefile
make -C /lib/modules/4.2.0-18-generic/build SUBDIRS=/home/shirshendu/Downloads/DPO/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.2.0-18-generic'
CC [M] /home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.o
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c: In function ‘RTMPSetInformation’:
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c:2207:21: warning: unused variable ‘Value’ [-Wunused-variable]
UINT32 Value;
^
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c: In function ‘RTMPQueryInformation’:
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c:3881:45: warning: passing argument 7 of ‘RtmpDrvRateGet’ from incompatible pointer type [-Wincompatible-pointer-types]
newRateGetAntenna(HTPhyMode.field.MCS),&RateValue);
^
In file included from /home/shirshendu/Downloads/DPO/include/rt_config.h:62:0,
from /home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c:29:
/home/shirshendu/Downloads/DPO/include/rt_os_util.h:510:6: note: expected ‘UINT32 * {aka unsigned int *}’ but argument is of type ‘ULONG * {aka long unsigned int *}’
VOID RtmpDrvRateGet(
^
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c:3895:45: warning: passing argument 7 of ‘RtmpDrvRateGet’ from incompatible pointer type [-Wincompatible-pointer-types]
newRateGetAntenna(HTPhyMode.field.MCS),&RateValue);
^
In file included from /home/shirshendu/Downloads/DPO/include/rt_config.h:62:0,
from /home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c:29:
/home/shirshendu/Downloads/DPO/include/rt_os_util.h:510:6: note: expected ‘UINT32 * {aka unsigned int *}’ but argument is of type ‘ULONG * {aka long unsigned int *}’
VOID RtmpDrvRateGet(
^
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlRF_mt’:
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c:4896:11: warning: unused variable ‘value’ [-Wunused-variable]
CHAR *value;
^
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c:5492:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
intf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, _
^
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c:5492:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_giwrate’:
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c:7534:25: warning: unused variable ‘rate_count’ [-Wunused-variable]
int rate_index = 0, rate_count = 0;
^
/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.c:7534:9: warning: unused variable ‘rate_index’ [-Wunused-variable]
int rate_index = 0, rate_count = 0;
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.o' failed
make[2]: *** [/home/shirshendu/Downloads/DPO/os/linux/../../sta/sta_cfg.o] Error 1
Makefile:1398: recipe for target '_module_/home/shirshendu/Downloads/DPO/os/linux' failed
make[1]: *** [_module_/home/shirshendu/Downloads/DPO/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-18-generic'
Makefile:390: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
按照你的指示并重新编译后,我得到了这个 http://paste.ubuntu.com/13596239/
您请求的系统详细信息: http://paste.ubuntu.com/13596284/