lwfinger / rtl8723du

89 stars 43 forks source link

building failure on EndeavourOS #10

Closed Hume2 closed 2 years ago

Hume2 commented 2 years ago

When I typed make, it threw this error:

/bin/sh: řádek 1: bc: příkaz nenalezen
/bin/sh: řádek 1: bc: příkaz nenalezen
/home/ok1asw/Stažené/rtl8723du/core/rtw_debug.c: In function ‘dump_drv_version’:
/home/ok1asw/Stažené/rtl8723du/core/rtw_debug.c:28:69: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
   28 |         RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
      |                                                                     ^
In file included from /home/ok1asw/Stažené/rtl8723du/include/drv_types.h:40,
                 from /home/ok1asw/Stažené/rtl8723du/core/rtw_debug.c:6:
/home/ok1asw/Stažené/rtl8723du/core/rtw_debug.c:28:51: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
   28 |         RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
      |                                                   ^~~~~~~~
/home/ok1asw/Stažené/rtl8723du/include/rtw_debug.h:68:55: note: in definition of macro ‘RTW_PRINT’
   68 |                         _dbgdump(DRIVER_PREFIX fmt, ##arg);\
      |                                                       ^~~
/home/ok1asw/Stažené/rtl8723du/core/rtw_debug.c:28:9: note: in expansion of macro ‘RTW_PRINT_SEL’
   28 |         RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
      |         ^~~~~~~~~~~~~
/home/ok1asw/Stažené/rtl8723du/core/rtw_debug.c:28:61: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
   28 |         RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
      |                                                             ^~~~~~~~
/home/ok1asw/Stažené/rtl8723du/include/rtw_debug.h:68:55: note: in definition of macro ‘RTW_PRINT’
   68 |                         _dbgdump(DRIVER_PREFIX fmt, ##arg);\
      |                                                       ^~~
/home/ok1asw/Stažené/rtl8723du/core/rtw_debug.c:28:9: note: in expansion of macro ‘RTW_PRINT_SEL’
   28 |         RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
      |         ^~~~~~~~~~~~~
/home/ok1asw/Stažené/rtl8723du/core/rtw_debug.c:28:51: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
   28 |         RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
      |                                                   ^~~~~~~~
/home/ok1asw/Stažené/rtl8723du/include/rtw_debug.h:178:46: note: in definition of macro ‘RTW_PRINT_SEL’
  178 |                         _seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
      |                                              ^~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:271: /home/ok1asw/Stažené/rtl8723du/core/rtw_debug.o] Chyba 1
make[1]: *** [Makefile:1851: /home/ok1asw/Stažené/rtl8723du] Chyba 2
make: *** [Makefile:195: modules] Chyba 2

specs: specs


I'm trying to make my wifi card work. lsusb says this about the wifi card: Bus 001 Device 007: ID 0bda:d723 Realtek Semiconductor Corp. 802.11n WLAN Adapter. From this site I concluded that I need the driver RTL8723DU. I do this for the first time so please tell me if I do anything wrong. I already tried 3 other drivers without success.

lwfinger commented 2 years ago

The erroring statement is useless. I just deleted it and pushed the changes. Do a 'git pull' and it should build.

Hume2 commented 2 years ago

It doesn't show anymore, thanks!