Latest RTEMS without posix support

Serg Kruglov skruglov at nm.ru
Wed Apr 2 11:13:10 UTC 2014


Get latest RTEMS source from git/
I configure RTEMS with option –disable posix.
All libs build succesfully, but samples don’t build.

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140402/92e027e2/attachment.html>


More information about the users mailing list