<div dir="ltr"><div dir="ltr"><div><br></div><div>Hi Lev!</div><div><br></div><div>You did not address all my questions in my previous reply - see the mailing list archive (was it flagged as spam?) <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 20, 2020 at 11:09 AM Lev Olshvang <<a href="mailto:levonshe@yandex.com">levonshe@yandex.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);float:none;font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Hi All,</span><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);float:none;font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">I am building out of tree kernel module.</span><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);float:none;font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">I am trying to include user-space lib into the kernel module</span><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);float:none;font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">I reference include file of this lib to use the API.  I  got the following warning  during make</span><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);float:none;font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">"__STDC_VERSION__" is not defined, evaluates to 0</span><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);float:none;font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">But continues and resulted module works,</span><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);float:none;font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">I see from </span><a href="https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html" style="background-color:rgb(255,255,255);color:rgb(17,85,204);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html</a><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);float:none;font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">that _STDC_VERSION__ is a built-in gcc macro, so I think that evenh</span><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);float:none;font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">kernel compilation should be able to see it.</span><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);float:none;font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Please comment</span><br><font style="background-color:rgb(255,255,255);font-family:"arial","helvetica",sans-serif;font-size:small;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" color="#888888">Lev.</font></div>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" rel="noreferrer" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a></blockquote></div><br></div>