I'm trying to compile alsa-driver-RTv5.18 but get date-time error for gcc 4.9.2

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite
1












/home/user/Downloads/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


I've tried to



export CFLAGS="-Wno-error=date-time"


but nothing changed.










share|improve this question



























    up vote
    3
    down vote

    favorite
    1












    /home/user/Downloads/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


    I've tried to



    export CFLAGS="-Wno-error=date-time"


    but nothing changed.










    share|improve this question

























      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      1





      /home/user/Downloads/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


      I've tried to



      export CFLAGS="-Wno-error=date-time"


      but nothing changed.










      share|improve this question















      /home/user/Downloads/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


      I've tried to



      export CFLAGS="-Wno-error=date-time"


      but nothing changed.







      date gcc alsa realtek






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 28 '15 at 16:27

























      asked Oct 28 '15 at 16:19









      Vyacheslav

      15139




      15139




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          It's hard to judge just by output of gcc, please add compiling invocation command line.
          Generally, developers add -Werror gcc command line switch to prevent successful build when there are any warnings triggered during compiling, and "[-Werror=date-time]" is just a name of that triggered warning, not a switch you should find and change.



          Try first disabling -Werror by removing it from CFLAGS or grepping it in your source directory recursively: fgrep -lr -- -Werror ., then removing it from each found file.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f239251%2fim-trying-to-compile-alsa-driver-rtv5-18-but-get-date-time-error-for-gcc-4-9-2%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            It's hard to judge just by output of gcc, please add compiling invocation command line.
            Generally, developers add -Werror gcc command line switch to prevent successful build when there are any warnings triggered during compiling, and "[-Werror=date-time]" is just a name of that triggered warning, not a switch you should find and change.



            Try first disabling -Werror by removing it from CFLAGS or grepping it in your source directory recursively: fgrep -lr -- -Werror ., then removing it from each found file.






            share|improve this answer
























              up vote
              0
              down vote













              It's hard to judge just by output of gcc, please add compiling invocation command line.
              Generally, developers add -Werror gcc command line switch to prevent successful build when there are any warnings triggered during compiling, and "[-Werror=date-time]" is just a name of that triggered warning, not a switch you should find and change.



              Try first disabling -Werror by removing it from CFLAGS or grepping it in your source directory recursively: fgrep -lr -- -Werror ., then removing it from each found file.






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                It's hard to judge just by output of gcc, please add compiling invocation command line.
                Generally, developers add -Werror gcc command line switch to prevent successful build when there are any warnings triggered during compiling, and "[-Werror=date-time]" is just a name of that triggered warning, not a switch you should find and change.



                Try first disabling -Werror by removing it from CFLAGS or grepping it in your source directory recursively: fgrep -lr -- -Werror ., then removing it from each found file.






                share|improve this answer












                It's hard to judge just by output of gcc, please add compiling invocation command line.
                Generally, developers add -Werror gcc command line switch to prevent successful build when there are any warnings triggered during compiling, and "[-Werror=date-time]" is just a name of that triggered warning, not a switch you should find and change.



                Try first disabling -Werror by removing it from CFLAGS or grepping it in your source directory recursively: fgrep -lr -- -Werror ., then removing it from each found file.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 30 '15 at 15:50







                user140866


































                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f239251%2fim-trying-to-compile-alsa-driver-rtv5-18-but-get-date-time-error-for-gcc-4-9-2%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay