can't compile both_hello - POSIX API error

Joel Sherrill joel.sherrill at oarcorp.com
Sun Jan 4 19:53:16 UTC 2015



On January 4, 2015 1:20:31 PM CST, "Dominik Táborský" <Bremby at seznam.cz> wrote:
>Hello,
>
>I've configured RTEMS with --enable-posix, run make, make install.
>Everything went smoothly, didn't notice any error. But when I run make
>in the both_hello example, it errors:
>
>In file included from test.c:55:0:
>/opt/rtems-4.11/sparc-rtems4.11/sis/lib/include/rtems/confdefs.h: At
>top level:
>/opt/rtems-4.11/sparc-rtems4.11/sis/lib/include/rtems/confdefs.h:2945:4:
>error: #error "CONFIGURATION ERROR: POSIX API support not configured!!"
>   #error "CONFIGURATION ERROR: POSIX API support not configured!!"
>
>All repos are up-to-date, ran make clean between configs and even
>manually deleted the installed RTEMS files to ensure new ones are being
>installed. Any ideas?

How did you configure RTEMS? If you has --disable-posix, then this is expected.

FWIW The example runs for me.


>Thanks.
>Dominik
>_______________________________________________
>devel mailing list
>devel at rtems.org
>http://lists.rtems.org/mailman/listinfo/devel

--joel


More information about the devel mailing list