在 Ubuntu 15.04 上安装无线适配器 D-Link DWA-131 版本:E1

在 Ubuntu 15.04 上安装无线适配器 D-Link DWA-131 版本:E1

我按照如何安装无线适配器 D-Link DWA-131?进行安装但是输入 make 命令后出现以下错误:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.19.0-30-generic/build M=/media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320  modules

make[1]: Entering directory '/usr/src/linux-headers-3.19.0-30-generic'

  CC [M]  /media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320/core/rtw_cmd.o

  CC [M]  /media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320/core/rtw_security.o

  CC [M]  /media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320/core/rtw_debug.o

/media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320/core/rtw_debug.c: In function ‘dump_drv_version’:

/media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320/core/rtw_debug.c:66:64: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]

  DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
                                                                ^
/media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320/core/rtw_debug.c:66:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]

  DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
 ^

/media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320/core/rtw_debug.c:66:1: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]

/media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320/core/rtw_debug.c:66:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]

/media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320/core/rtw_debug.c:66:1: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]

/media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320/core/rtw_debug.c:66:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]

cc1: some warnings being treated as errors

scripts/Makefile.build:257: recipe for target '/media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320/core/rtw_debug.o' failed

make[2]: *** [/media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320/core/rtw_debug.o] Error 1

Makefile:1395: recipe for target '_module_/media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320' failed

make[1]: *** [_module_/media/sachin/SACHIN/DWA-131_Linux_driver_v4.3.1.1/20140812_rtl8192EU_linux_v4.3.1.1_11320] Error 2

make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-30-generic'

Makefile:1323: recipe for target 'modules' failed

make: *** [modules] Error 2

相关内容