Problem building BSP for TMS570 HDK

Florian Feldbauer florian at
Thu Jun 9 11:29:33 UTC 2016

Hey all,

I'm currently trying to build RTEMS for my TMS570 HDK.
First I downloaded and build the source-builder package from

Then I tried to build the TMS570-bsp from

For configuration I used
./configure --target=arm-rtems4.12 
--enable-rtemsbsp=tms570ls3137_hdk_sdram --enable-tests=samples 

But the build fails with

arm-rtems4.12-gcc --pipe -DHAVE_CONFIG_H   -I../../.. -I../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include  -DASM -march=armv7-r -mthumb -mbig-endian -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -ggdb -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -march=armv7-r -mthumb -mbig-endian -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -ggdb -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT libscorecpu_a-cpu_asm.o -MD -MP -MF .deps/libscorecpu_a-cpu_asm.Tpo -c -o libscorecpu_a-cpu_asm.o `test -f 'cpu_asm.S' || echo '../../../../../../../../tms570-bsp/c/src/../../cpukit/score/cpu/arm/'`cpu_asm.S
In file included from /opt/rtems/4.12/arm-rtems4.12/include/sys/types.h:68:0,
                  from /opt/rtems/4.12/arm-rtems4.12/include/sys/time.h:43,
                  from ../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/rtems/score/timestamp.h:43,
                  from ../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/rtems/score/thread.h:87,
                  from ../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/rtems/score/threadimpl.h:24,
                  from ../../../../../../../../tms570-bsp/c/src/../../cpukit/score/cpu/arm/__tls_get_addr.c:19:
../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/sys/select.h:50:2: error: unknown type name 'pid_t'
   pid_t si_pid;  /* process to be notified */
../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/sys/select.h:60:32: error: unknown type name 'fd_set'
  extern int select (int __nfds, fd_set *__restrict __readfds,
../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/sys/select.h:61:20: error: unknown type name 'fd_set'
                     fd_set *__restrict __writefds,
../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/sys/select.h:62:20: error: unknown type name 'fd_set'
                     fd_set *__restrict __exceptfds,

Can anyone tell me what am I doing wrong? I'm completely new to RTEMS...
The host-system is Fedora23 x64

I also tried to build the arm-rtems4.10 variant of the source builder, 
but this fails with

download: error: HTTP Error 404: Not found
error: downloading all paths have failed, giving up

Any help is appreciated!

| Dr. Florian Feldbauer                |
|                                      |
| Helmholtz-Institut Mainz /           |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 36         |
| D-55128 Mainz                        |
|                                      |
| Office: SB1 / 00-213                 |
| Phone:  (+49)6131 / 39-29608         |

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list