<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hey all,<br>
<br>
I'm currently trying to build RTEMS for my TMS570 HDK.<br>
First I downloaded and build the source-builder package from<br>
git://git.rtems.org/rtems-source-builder.git<br>
<br>
Then I tried to build the TMS570-bsp from<br>
<a class="moz-txt-link-freetext"
href="https://github.com/AoLaD/rtems/tree/tms570-bsp">https://github.com/AoLaD/rtems/tree/tms570-bsp</a><br>
<br>
For configuration I used<br>
./configure --target=arm-rtems4.12
--enable-rtemsbsp=tms570ls3137_hdk_sdram --enable-tests=samples
--enable-posix<br>
<br>
But the build fails with<br>
</p>
<pre>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,
^~~~~~
</pre>
Can anyone tell me what am I doing wrong? I'm completely new to
RTEMS...<br>
The host-system is Fedora23 x64<br>
<br>
I also tried to build the arm-rtems4.10 variant of the source
builder, but this fails with<br>
<pre>download: <a class="moz-txt-link-freetext" href="https://git.rtems.org/rtems-tools/plain/tools/4.12/binutils/binutils-2.20.1-rtems4.10-20100826.diff">https://git.rtems.org/rtems-tools/plain/tools/4.12/binutils/binutils-2.20.1-rtems4.10-20100826.diff</a>: error: HTTP Error 404: Not found
error: downloading <a class="moz-txt-link-freetext" href="https://git.rtems.org/rtems-tools/plain/tools/4.12/binutils/binutils-2.20.1-rtems4.10-20100826.diff">https://git.rtems.org/rtems-tools/plain/tools/4.12/binutils/binutils-2.20.1-rtems4.10-20100826.diff</a>: all paths have failed, giving up
Build FAILED</pre>
Any help is appreciated!<br>
Regards,<br>
Florian<br>
<pre class="moz-signature" cols="72">--
----------------------------------------
| 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 |
----------------------------------------</pre>
</body>
</html>