<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 4/2/2014 6:13 AM, Serg Kruglov
      wrote:<br>
    </div>
    <blockquote cite="mid:EF16AA0A59314C6EBF03AF60C7EF185F@NOK"
      type="cite">
      <div dir="ltr">
        <div style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR:
          #000000">
          <div>Get latest RTEMS source from git/</div>
          <div>I configure RTEMS with option –disable posix.</div>
          <div>All libs build succesfully, but samples don’t build.</div>
          <div> </div>
        </div>
      </div>
    </blockquote>
    What was your exact configure line?<br>
    <blockquote cite="mid:EF16AA0A59314C6EBF03AF60C7EF185F@NOK"
      type="cite">
      <div dir="ltr">
        <div style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR:
          #000000">
          <div>c:/msys/opt/rtems-4.11/bin/../lib/gcc/mips-rtems4.11/4.8.2/../../../../mips-rtems4.11/lib\libc.a(lib_a-puts.o):
            In function `_puts_r':</div>
          <div>(.text+0x60): undefined reference to
            `pthread_setcancelstate'</div>
          <div>c:/msys/opt/rtems-4.11/bin/../lib/gcc/mips-rtems4.11/4.8.2/../../../../mips-rtems4.11/lib\libc.a(lib_a-puts.o):
            In function `_puts_r':</div>
          <div>(.text+0xac): undefined reference to
            `pthread_setcancelstate'</div>
          <div>c:/msys/opt/rtems-4.11/bin/../lib/gcc/mips-rtems4.11/4.8.2/../../../../mips-rtems4.11/lib\libc.a(lib_a-vfprintf.o):
            In function `_vfprintf_r':</div>
          <div>(.text+0x88): undefined reference to
            `pthread_setcancelstate'</div>
          <div>c:/msys/opt/rtems-4.11/bin/../lib/gcc/mips-rtems4.11/4.8.2/../../../../mips-rtems4.11/lib\libc.a(lib_a-vfprintf.o):
            In function `_vfprintf_r':</div>
          <div>(.text+0x82c): undefined reference to
            `pthread_setcancelstate'</div>
          <div>c:/msys/opt/rtems-4.11/bin/../lib/gcc/mips-rtems4.11/4.8.2/../../../../mips-rtems4.11/lib\libc.a(lib_a-vfprintf.o):
            In function `_vfprintf_r':</div>
          <div>(.text+0x8a4): undefined reference to
            `pthread_setcancelstate'</div>
          <div>c:/msys/opt/rtems-4.11/bin/../lib/gcc/mips-rtems4.11/4.8.2/../../../../mips-rtems4.11/lib\libc.a(lib_a-vfprintf.o):(.text+0x15a0):
            more undefined references to</div>
          <div>`pthread_setcancelstate' follow</div>
          <div>collect2.exe: error: ld returned 1 exit status</div>
          <div>make[6]: *** [hello.exe] Error 1</div>
          <div>make[6]: Leaving directory
`/opt/rtems-4.11/build-rtems/mips-rtems4.11/c/genmongoose/testsuites/samples/hello'</div>
          <div>make[5]: *** [all-recursive] Error 1</div>
          <div> </div>
          <div>Now the RTEMS (termios) will not work without the support
            posix?</div>
          <div> </div>
        </div>
      </div>
    </blockquote>
    <br>
    This is a newilb requirement to properly support thread
    cancellation.<br>
    <pre class="moz-signature" cols="72">-- 
Joel Sherrill, Ph.D.             Director of Research & Development
<a class="moz-txt-link-abbreviated" href="mailto:joel.sherrill@OARcorp.com">joel.sherrill@OARcorp.com</a>        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985</pre>
  </body>
</html>