Problems with RTEMS installation - coming from 4.10

Fabrício de Novaes Kucinskis fabricio.kucinskis at
Wed Jan 31 16:40:59 UTC 2018

Hello everyone, it's been a while since my last message to the list.

I'm setting up a new development environment to start updating a project from RTEMS 4.10 to 4.11.2. It's based on Fedora 27.

The installation process through source-builder is very different from the one I was used to (based on tools in RPM and the 'configure' script), but it's pretty easy. Congrats for the improvement!

I followed the instructions on, just changing the prefix ('/comav/rtems/build' instead of '/opt/rtems/4.11').

After installing the usual missing dependencies found during the build, it finished with success and everything seemed to be ok. Then I've downloaded the 'examples' package and tried to compile hello_world_c with the simplest command possible:

            sparc-rtems4.11-gcc test.c -o test.exe

Just to get the following error:

            "test.c:5:19: fatal error: rtems.h: No such file or directory"

Then I realized I had not set $RTEMS_MAKEFILE_PATH. I did it, pointing to "{prefix}/sparc-rtems4.11/sis", with no effect. So I noticed there's no reference to such environment variable on the current documentation. Question nr. 1: is it still needed?

Afterwards, I tried to compile, this time manually stating the include path with "-I{prefix}/lib/include". This way the compiler finds rtems.h, but I get a lot of errors, starting with ld complaining it haven't found "_start" and other basic BSP symbols.

Probably I'm missing something basic, but for now I can't find out. Question nr. 2: Am I doing something wrong, or missing some installation step?

Thanks in advance and best regards,

Fabrício Kucinskis.

More information about the users mailing list