How to fix a compile error error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]?

Ubuntu 16.04 lts
gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1)

Make instructions for compiling the driver for the sound card:
/configure --with-cards=had-intel
make

When you run the make the error
The error itself:
/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/info.c:1065:22: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
 "Compiled on" __DATE__ "for kernel %s"
^
cc1: some warnings being treated as errors


Googled that it is necessary to specify the rename environment CFLAGS asked so
export CFLAGS =-Wno-error=date-time

Everything is exactly the same as it was.
July 8th 19 at 12:25
2 answers
July 8th 19 at 12:27
In fact, the user /configure --with-cards=hda-intel but it is certainly not that.
I don't know what keys to explain to him that the warnings need not be interpreted as errors.
But you also have the file and line where the problem is. Replace the text "today Compiled for kernel %s" for example, the warning disappears...
read may create additional problems...well, at least I'll try. - Estelle58 commented on July 8th 19 at 12:30
: when you edit this line you can have only three types of problems: if you change the last two characters, if you put in line one more double quote and if you use the percentage. Oh no, four: yet there can be foolishly something in Cyrillic can fight.
But you're not going to do ;) - chelsea13 commented on July 8th 19 at 12:33
: )))I understand that this is a stupid prompt, well some where I read that can be a problem then)) - Estelle58 commented on July 8th 19 at 12:36
it's not just a stupid line output. It's just stupid to display information about when and with which kernel it was compiled. Any program in your system is not needed. - chelsea13 commented on July 8th 19 at 12:39
: And there is some easy way to achieve a sound card Realteck 16-04 Ubuntu LTS X64 or checked. - Estelle58 commented on July 8th 19 at 12:42
: I have no idea.
Never had a problem with sound in normal regular installation of Ubuntu, including and x64, 16.04, which, in fact, write. - chelsea13 commented on July 8th 19 at 12:45
by the way the sound was like when you log in sistemu(entering the password) but after entering it already was not. Maybe the system should be something podkormit? - Estelle58 commented on July 8th 19 at 12:48
: But I can try to do so:
export CFLAGS =-Wno-error
export CXXFLAGS =-Wno-error - chelsea13 commented on July 8th 19 at 12:51
:
> Maybe in the system it must be something podkormit?
Can. For example, you have a sound output device by default can stand HDMI graphics card.
However, usually people first climb in the settings, and then begin to compile the driver yourself ;) - chelsea13 commented on July 8th 19 at 12:54
: I'm not looking for easy ways)) - Estelle58 commented on July 8th 19 at 12:57
Okay Perabo system and the panel is gone which was. - Estelle58 commented on July 8th 19 at 13:00
: the issue was resolved with the install and turn off all the checkboxes sudo apt-get install gnome-alsamixer. Did not work just headphones on the front panel. Speakers worked fine right after the reinstall. - Estelle58 commented on July 8th 19 at 13:03
July 8th 19 at 12:29
I don't know what keys to explain to him that the warnings need not be interpreted as errors.

traditionally this is done with the configure option --disable-werror
Doing ./configure --disable-werror then still during make the error is the same.

While running ./configure says "configure: WARNING: unrecognized options: --disable-werror" - Estelle58 commented on July 8th 19 at 12:32
Perhaps due to the fact that the new version of the compiler. - chelsea13 commented on July 8th 19 at 12:35
: configure the x-written. The easiest way to correct the source code, replacing the line Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/info.c:1065 __DATE__ to "" (two double quotes). - Estelle58 commented on July 8th 19 at 12:38
: Oh, there's another error came up. Founded key -i, --ignore-errors
Ignore all errors in commands executed to remake files.

to make-well, i still then does not plow as it is necessary these drivers. - chelsea13 commented on July 8th 19 at 12:41

Find more questions by tags UbuntuSystem administrationLinuxC++