Hi all.<br><br>I followed your tips and finally could compile ADA code by building the cross gcc manually.<br><br>Building RTEMS with options --enable-docs --enable-networking and --enable-tests reports the following errors:<br>
<br>--enable-docs<br> ../../../rtems/doc/started/started.texi:22: @include `version.texi': No such file or directory.<br> ./buildc.texi:276: warning: undefined flag: VERSION.<br> ./buildrt.texi:34: warning: undefined flag: VERSION.<br>
./buildrt.texi:36: warning: undefined flag: VERSION.<br> ./buildrt.texi:37: warning: undefined flag: VERSION.<br> ./buildrt.texi:38: warning: undefined flag: VERSION.<br> ./buildrt.texi:38: warning: undefined flag: VERSION.<br>
./buildrt.texi:44: warning: undefined flag: VERSION.<br> ./buildrt.texi:45: warning: undefined flag: VERSION.<br> ./buildrt.texi:46: warning: undefined flag: VERSION.<br> ./buildrt.texi:46: warning: undefined flag: VERSION.<br>
./buildrt.texi:63: warning: undefined flag: VERSION.<br> ./buildrt.texi:66: warning: undefined flag: VERSION.<br> ./buildrt.texi:168: warning: undefined flag: VERSION.<br> ./buildrt.texi:172: warning: undefined flag: VERSION.<br>
./buildrt.texi:176: warning: undefined flag: VERSION.<br> ./buildrt.texi:190: warning: undefined flag: VERSION.<br> ./buildrt.texi:199: warning: undefined flag: VERSION.<br> ./buildrt.texi:206: warning: undefined flag: VERSION.<br>
./sample.texi:75: warning: undefined flag: VERSION.<br> ./sample.texi:239: warning: undefined flag: VERSION.<br> makeinfo: Removing output file `<a href="http://started.info">started.info</a>' due to errors; use --force to preserve.<br>
make[2]: *** [<a href="http://started.info">started.info</a>] Error 1<br> make[2]: se sale del directorio `/home/aeo/RTEMS/b-rtems/doc/started'<br> make[1]: *** [all-recursive] Error 1<br> make[1]: se sale del directorio `/home/aeo/RTEMS/b-rtems/doc'<br>
make: *** [all-recursive] Error 1<br><br>--enable-networking<br> i386-rtems4.10-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../pc386/lib/include -I../../../../../../rtems/c/src/../../cpukit/libnetworking -DINET -DNFS -DDIAGNOSTIC -DBOOTP_COMPAT -D_KERNEL -D__BSD_VISIBLE -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -fasm -mtune=i386 -O2 -g -MT net/libnetworking_a-if_ethersubr.o -MD -MP -MF net/.deps/libnetworking_a-if_ethersubr.Tpo -c -o net/libnetworking_a-if_ethersubr.o `test -f 'net/if_ethersubr.c' || echo '../../../../../../rtems/c/src/../../cpukit/libnetworking/'`net/if_ethersubr.c<br>
../../../../../../rtems/c/src/../../cpukit/libnetworking/net/if_ethersubr.c: In function 'ether_output':<br> ../../../../../../rtems/c/src/../../cpukit/libnetworking/net/if_ethersubr.c:152: error: 'EHOSTDOWN' undeclared (first use in this function)<br>
../../../../../../rtems/c/src/../../cpukit/libnetworking/net/if_ethersubr.c:152: error: (Each undeclared identifier is reported only once<br> ../../../../../../rtems/c/src/../../cpukit/libnetworking/net/if_ethersubr.c:152: error: for each function it appears in.)<br>
make[5]: *** [net/libnetworking_a-if_ethersubr.o] Error 1<br> make[5]: se sale del directorio `/home/aeo/RTEMS/b-rtems/i386-rtems4.10/c/pc386/cpukit/libnetworking'<br> make[4]: *** [all-recursive] Error 1<br>
make[4]: se sale del directorio `/home/aeo/RTEMS/b-rtems/i386-rtems4.10/c/pc386/cpukit'<br> make[3]: *** [all] Error 2<br> make[3]: se sale del directorio `/home/aeo/RTEMS/b-rtems/i386-rtems4.10/c/pc386/cpukit'<br>
make[2]: *** [all-recursive] Error 1<br> make[2]: se sale del directorio `/home/aeo/RTEMS/b-rtems/i386-rtems4.10/c/pc386'<br> make[1]: *** [all-recursive] Error 1<br> make[1]: se sale del directorio `/home/aeo/RTEMS/b-rtems/i386-rtems4.10/c'<br>
make: *** [all-recursive] Error 1<br><br>--enable-tests<br> Making all in hello<br> make[5]: se ingresa al directorio `/home/aeo/RTEMS/b-rtems/i386-rtems4.10/c/pc386/ada-tests/samples/hello'<br> make[5]: *** No hay ninguna regla para construir el objetivo `ada_hello.exe.exe', necesario para `all-am'. Alto.<br>
>>>Translation: No rule to make target `ada_hello.exe.exe', needed by `all-am'. Stop.<br> make[5]: se sale del directorio `/home/aeo/RTEMS/b-rtems/i386-rtems4.10/c/pc386/ada-tests/samples/hello'<br>
make[4]: *** [all-recursive] Error 1<br><br>I am specially afraid of the networking problem.<br><br>Thanks to all!<br><br><div class="gmail_quote">2009/6/19 Ralf Corsepius <span dir="ltr"><<a href="mailto:ralf.corsepius@rtems.org">ralf.corsepius@rtems.org</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Simon Clubley wrote:<br>
> On 18/06/2009, Ángel <<a href="mailto:leadzeppelin@gmail.com">leadzeppelin@gmail.com</a>> wrote:<br>
>> Hi, Simon.<br>
>><br>
>> $ i386-rtems4.10-gcc -v<br>
><br>
> [snip]<br>
><br>
>> --enable-languages=c,c++<br>
><br>
> As pointed out in another post, and which is what I suspected, this is<br>
> the problem; Ada support was not built into the compiler when the RPMs<br>
> were built.<br>
</div>Correct. We do not build Ada into the rtems RPMs.<br>
<div class="im"><br>
> Joel or someone else will have to tell you if this is what was<br>
> intended and if there's another RPM kit elsewhere to download which<br>
> does provide Ada support.<br>
</div>None that I am aware about. Building such gcc-ada toolchains is mere<br>
hell and hardly possible across several distributions.<br>
<div class="im"><br>
> Failing that, you will have to build a tool kit from source using the<br>
> procedures documented in the RTEMS Wiki, making sure you use whatever<br>
> patches are current for the toolkit versions used to build RTEMS 4.10<br>
> (which I have not looked at, so I don't know which versions and<br>
> patches they are).<br>
</div>I guess you won't like what I will say now:<br>
<br>
My advice: Forget about Ada and forget about RTEMS/Ada.<br>
<font color="#888888"><br>
Ralf<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
</div></div></blockquote></div><br>