Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Fail #17

Closed
tanalam opened this issue Jun 7, 2020 · 1 comment
Closed

Build Fail #17

tanalam opened this issue Jun 7, 2020 · 1 comment

Comments

@tanalam
Copy link

tanalam commented Jun 7, 2020

Build failed with following configuration

uname -a
Linux kali 5.4.0-kali3-amd64 #1 SMP Debian 5.4.13-1kali1 (2020-01-20) x86_64 GNU/Linux


CC [M] /media/sf_KaliShare/RTL8192EU-master/core/rtw_debug.o
/media/sf_KaliShare/RTL8192EU-master/core/rtw_debug.c: In function ‘dump_drv_version’:
/media/sf_KaliShare/RTL8192EU-master/core/rtw_debug.c:45:62: error: macro "DATE" might prevent reproducible builds [-Werror=date-time]
45 | RTW_PRINT_SEL(sel, "build time: %s %s\n", DATE, TIME);
| ^
In file included from /media/sf_KaliShare/RTL8192EU-master/include/drv_types.h:60,
from /media/sf_KaliShare/RTL8192EU-master/core/rtw_debug.c:17:
/media/sf_KaliShare/RTL8192EU-master/core/rtw_debug.c:45:44: error: macro "TIME" might prevent reproducible builds [-Werror=date-time]
45 | RTW_PRINT_SEL(sel, "build time: %s %s\n", DATE, TIME);
| ^~~~~~~~
/media/sf_KaliShare/RTL8192EU-master/include/rtw_debug.h:107:34: note: in definition of macro ‘RTW_PRINT’
107 | _dbgdump(DRIVER_PREFIX fmt, ##arg);
| ^~~
/media/sf_KaliShare/RTL8192EU-master/core/rtw_debug.c:45:2: note: in expansion of macro ‘RTW_PRINT_SEL’
45 | RTW_PRINT_SEL(sel, "build time: %s %s\n", DATE, TIME);
| ^~~~~~~~~~~~~
/media/sf_KaliShare/RTL8192EU-master/core/rtw_debug.c:45:54: error: macro "DATE" might prevent reproducible builds [-Werror=date-time]
45 | RTW_PRINT_SEL(sel, "build time: %s %s\n", DATE, TIME);
| ^~~~~~~~
/media/sf_KaliShare/RTL8192EU-master/include/rtw_debug.h:107:34: note: in definition of macro ‘RTW_PRINT’
107 | _dbgdump(DRIVER_PREFIX fmt, ##arg);
| ^~~
/media/sf_KaliShare/RTL8192EU-master/core/rtw_debug.c:45:2: note: in expansion of macro ‘RTW_PRINT_SEL’
45 | RTW_PRINT_SEL(sel, "build time: %s %s\n", DATE, TIME);
| ^~~~~~~~~~~~~
/media/sf_KaliShare/RTL8192EU-master/core/rtw_debug.c:45:44: error: macro "TIME" might prevent reproducible builds [-Werror=date-time]
45 | RTW_PRINT_SEL(sel, "build time: %s %s\n", DATE, TIME);
| ^~~~~~~~
/media/sf_KaliShare/RTL8192EU-master/include/rtw_debug.h:285:25: note: in definition of macro ‘RTW_PRINT_SEL’
285 | _seqdump(sel, fmt, ##arg) /rtw_warn_on(1)/;
| ^~~
cc1: some warnings being treated as errors

@tanalam
Copy link
Author

tanalam commented Jun 7, 2020

THe issue was fixed.
Root cause:
bc was not installed in the system so this check was failing

20-ifeq ($(GCC_VER_49),1)
21-EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later
22-endif

It is resolved now.
THanks

@tanalam tanalam closed this as completed Jun 7, 2020
codedwrench pushed a commit to codedwrench/rtl8192eu that referenced this issue Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant