[I] [HELP] Failed to build module example with mips-linux-gnu- toolchain. [nuttx]</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=commits@nuttx.apache.org&q=from:%22via+GitHub%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">via GitHub</span></span></a></span> <span class="date"><a href="/search?l=commits@nuttx.apache.org&q=date:20260620" rel="nofollow">Sat, 20 Jun 2026 04:42:47 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> wangtao13 opened a new issue, #19178: URL: <a rel="nofollow" href="https://github.com/apache/nuttx/issues/19178">https://github.com/apache/nuttx/issues/19178</a></pre><pre> ### Description I am working on nuttx-12.13 for a MIPS SOC, I just want to try module in nuttx, so I enable the `module` example in menuconfig and make it. Finally, I got an error as follows, ``` LD: nuttx /home/t/develop/nuttx/staging/libc.a(elf_bind.o): In function `libelf_relocate': elf/elf_bind.c:(.text+0x898): undefined reference to `up_relocate' /home/t/develop/nuttx/staging/libc.a(elf_bind.o): In function `libelf_relocateadd': elf/elf_bind.c:(.text+0xee4): undefined reference to `up_relocateadd' /home/t/develop/nuttx/staging/libc.a(elf_bind.o): In function `libelf_relocatedyn': elf/elf_bind.c:(.text+0x187c): undefined reference to `up_relocate' /home/t/develop/nuttx/staging/libc.a(elf_verify.o): In function `libelf_verifyheader': make[1]: *** [Makefile:109: nuttx] Error 1 ``` The toolchain of mips-linux-gnu does NOT include libraries for ELF, so I am wondering how to fix it and make module example be built well. Thanks, ### Verification - [x] I have verified before submitting the report. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg163295.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#163301">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail2.html#163301">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg163383.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email tSliceCur"><span class="subject">[I] [HELP] <title>Failed to build module example with mip...</span> <span class="sender italic">via GitHub</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg163383.html">Re: [I] [HELP] <title>Failed to build module example...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg163406.html">Re: [I] [HELP] Failed to build module example with mips-li...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg163562.html">Re: [I] [HELP] Failed to build module example with mips-li...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg163575.html">Re: [I] [HELP] Failed to build module example with mips-li...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg163577.html">Re: [I] [HELP] Failed to build module example with mips-li...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg163592.html">Re: [I] [HELP] Failed to build module example with mips-li...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg163593.html">Re: [I] [HELP] Failed to build module example with mips-li...</a></span> <span class="sender italic">via GitHub</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="[I] [HELP] <title>Failed to build module example with mips-linux-gnu- toolchain. [nuttx]"> <input type="hidden" name="msgid" value="I_kwDODZiUac8AAAABGIXbpA@gitbox.apache.org"> <input type="hidden" name="relpath" value="commits@nuttx.apache.org/msg163301.html"> <input type="submit" value=" via GitHub "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="commits@nuttx.apache.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search commits"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/commits@nuttx.apache.org/">commits - all messages</a></li> <li class="icons-about"><a href="/commits@nuttx.apache.org/info.html">commits - about the list</a></li> <li class="icons-expand"><a href="/search?l=commits@nuttx.apache.org&q=subject:%22%5C%5BI%5C%5D+%5C%5BHELP%5C%5D+%3Ctitle%3EFailed+to+build+module+example+with+mips%5C-linux%5C-gnu%5C-+toolchain.+%5C%5Bnuttx%5C%5D%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg163295.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg163383.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">I_kwDODZiUac8AAAABGIXbpA@gitbox.apache.org</li> </ul> </div> </body> </html>