<div dir="ltr"><div dir="ltr"><div><br></div>Hi Lev!<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 17, 2020 at 3:33 PM 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>I am trying to include ELF object file into kernel module</div><div> </div><div>It gives me a warning of undefined __STDC_VERSION__ symbol</div><div><span style="font-family:monospace"><span style="background-color:rgb(255,255,255);color:rgb(0,0,0)">"__STDC_V</span>ERSION__" is not defined, evaluates to 0 </span></div><div> </div><div>But continues and resulted module works,</div><div> </div><div>I see from <a href="https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html" target="_blank">https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html</a> that <span style="font-family:monospace"><span style="background-color:rgb(255,255,255);color:rgb(0,0,0)">_STDC_V</span>ERSION__ is built in gcc macro</span></div><div> </div><div>Please comment</div></blockquote><div><br></div><div>Can you provide more details about this issue?</div><div><br></div><div>See:</div><div><br></div><div>* <a href="https://github.com/shlomif/writing-the-perfect-question">https://github.com/shlomif/writing-the-perfect-question</a></div><div><br></div><div>* <a href="https://github.com/shlomif/how-to-share-code-online">https://github.com/shlomif/how-to-share-code-online</a></div><div><br></div><div>* <a href="http://www.sscce.org/">http://www.sscce.org/</a></div><div><br></div><div>Did you compile that ELF object yourself? If so - can you provide sources? Did you use the kernel build system: <a href="https://www.kernel.org/doc/html/latest/kbuild/index.html">https://www.kernel.org/doc/html/latest/kbuild/index.html</a> ? </div><div> </div><div>Note that kernel dev is not my forte .</div><div><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>Lev</div><div>P.S.</div><div>BTW, I am looking for a job, try me !</div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </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><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Shlomi Fish <a href="https://www.shlomifish.org/" target="_blank">https://www.shlomifish.org/</a><br><br>Buddha has the Chuck Norris nature.</div><div dir="ltr"><br></div><div dir="ltr">Please reply to list if it's a mailing list post - <a href="http://shlom.in/reply" target="_blank">http://shlom.in/reply</a> .<br></div></div></div></div></div></div></div></div></div>