Latest RTEMS without posix support
Joel Sherrill
joel.sherrill at OARcorp.com
Wed Apr 2 14:46:03 UTC 2014
On 4/2/2014 6:13 AM, Serg Kruglov wrote:
> Get latest RTEMS source from git/
> I configure RTEMS with option –disable posix.
> All libs build succesfully, but samples don’t build.
>
What was your exact configure line?
> 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':
> (.text+0x60): undefined reference to `pthread_setcancelstate'
> 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':
> (.text+0xac): undefined reference to `pthread_setcancelstate'
> 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':
> (.text+0x88): undefined reference to `pthread_setcancelstate'
> 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':
> (.text+0x82c): undefined reference to `pthread_setcancelstate'
> 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':
> (.text+0x8a4): undefined reference to `pthread_setcancelstate'
> 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
> `pthread_setcancelstate' follow
> collect2.exe: error: ld returned 1 exit status
> make[6]: *** [hello.exe] Error 1
> make[6]: Leaving directory
> `/opt/rtems-4.11/build-rtems/mips-rtems4.11/c/genmongoose/testsuites/samples/hello'
> make[5]: *** [all-recursive] Error 1
>
> Now the RTEMS (termios) will not work without the support posix?
>
This is a newilb requirement to properly support thread cancellation.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140402/5640c180/attachment-0001.html>
More information about the users
mailing list