Re: building rtems-net-legacy failed

Joel Sherrill <[email protected]> Tue, 28 May 2024 11:26:00 -0500
Newsgroups gmane.os.rtems.user
Message-ID <CAF9ehCUyZ+Wdfe4J-iudPpyL1GXXjYdh9sNHK6VmJE46GzKcRA@mail.gmail.com>
--===============6535526471045142674==
Content-Type: multipart/alternative; boundary="00000000000096314c06198617ca"

--00000000000096314c06198617ca
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi

rtems-net-legacy only works with 6+. It was still included in the rtems
source tree in versions 5 and earlier. It is enable/disable networking
(e.g. --enable-networking when you configure RTEMS itself) and then do not
reference the legacy repository at all.

For 6, there is waf and no network stack in the rtems source tree. You
build and install RTEMS itself and then add on either libbsd, lwip, or
legacy.

./cpukit/include/rtems/test-info.h is where that file is in 6+. I didn't
check 5.



On Tue, May 28, 2024 at 10:59=E2=80=AFAM John Howard <[email protected]=
m> wrote:

> Hello.
>
> Thanks for the example configuring waf. I built v5.3 for Raspberry Pi
> using RSB after failing with waf.
>
> Legacy components are more likely to build using =E2=80=9Clegacy=E2=80=9D=
 RSB instead of
> WAF.
>
> I don=E2=80=99t know where you can find that missing test-info.h file. Bu=
t you
> probably don=E2=80=99t need it at first build anyhow.
>
> Just comment out the request for it, or provide an empty file where
> expected, and repeat hacking out that =E2=80=9Crequirement=E2=80=9D as ne=
eded until it
> builds something.
>
> =E2=80=94 John
>
> On May 24, 2024, at 7:33 PM, Miroslaw Dach <[email protected]>
> wrote:
>
> Hi All,
>
> I have tried first to build rtems-net-services.
> The configure faction:
> waf configure --prefix=3D/my_devl/rtems-5/5  --rtems-version=3D5
> --rtems-archs=3Dpowerpc --rtems-bsps=3Dpowerpc/mvme3100
> failed:
> Checking for library bsd                      : not found
> Checking for library networking               : not found
> Checking for library lwip                     : not found
>
> so I downloaded rtems-net-legacy, hoping the that I can build this way
> missing libnetworking.a
>
> The configuration command was successful :
> waf configure --prefix=3D/my_devl/rtems-5/5  --rtems-version=3D5
> --rtems-archs=3Dpowerpc --rtems-bsps=3Dpowerpc/mvme3100
>
> When I tried to build the project,
> waf build
>
> I got several times message that rtems/test-info.h is missing.
> ../../libtest/testbeginend.c:21:10: fatal error: rtems/test-info.h: No
> such file or directory
>  #include <rtems/test-info.h>
> Where to find rtems/test-info.h
> Thanks
>
> Best regards
> Mirek
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.rtems.org/mailman/listinfo/users

--00000000000096314c06198617ca
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div>Hi<div><br></div><div>rtems-net=
-legacy only works with 6+. It was still included in the rtems source tree =
in versions 5 and earlier. It is enable/disable networking (e.g. --enable-n=
etworking when you configure RTEMS itself) and then do not reference the le=
gacy repository at all.</div><div><br></div><div>For 6, there is waf and no=
 network stack in the rtems source tree. You build and install RTEMS itself=
 and then add on either libbsd, lwip, or legacy.</div><div><br></div><div>.=
/cpukit/include/rtems/test-info.h is where that file is in 6+. I didn&#39;t=
 check 5.</div><div><br></div><div><br></div><div><br><div class=3D"gmail_q=
uote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, May 28, 2024 at 10:59=
=E2=80=AFAM John Howard &lt;<a href=3D"mailto:[email protected]">echos=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p=
adding-left:1ex">Hello.<br>
<br>
Thanks for the example configuring waf. I built v5.3 for Raspberry Pi using=
 RSB after failing with waf.<br>
<br>
Legacy components are more likely to build using =E2=80=9Clegacy=E2=80=9D R=
SB instead of WAF.<br>
<br>
I don=E2=80=99t know where you can find that missing test-info.h file. But =
you probably don=E2=80=99t need it at first build anyhow.<br>
<br>
Just comment out the request for it, or provide an empty file where expecte=
d, and repeat hacking out that =E2=80=9Crequirement=E2=80=9D as needed unti=
l it builds something.<br>
<br>
=E2=80=94 John<br>
<br>
On May 24, 2024, at 7:33 PM, Miroslaw Dach &lt;<a href=3D"mailto:miroslaw.d=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote:<br>
<br>
Hi All,<br>
<br>
I have tried first to build rtems-net-services. <br>
The configure faction:<br>
waf configure --prefix=3D/my_devl/rtems-5/5=C2=A0 --rtems-version=3D5 --rte=
ms-archs=3Dpowerpc --rtems-bsps=3Dpowerpc/mvme3100<br>
failed:<br>
Checking for library bsd=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 : not found <br>
Checking for library networking=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0: not found <br>
Checking for library lwip=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0: not found <br>
<br>
so I downloaded rtems-net-legacy, hoping the that I can build this way miss=
ing libnetworking.a<br>
<br>
The configuration command was successful :<br>
waf configure --prefix=3D/my_devl/rtems-5/5=C2=A0 --rtems-version=3D5 --rte=
ms-archs=3Dpowerpc --rtems-bsps=3Dpowerpc/mvme3100<br>
<br>
When I tried to build the project, <br>
waf build<br>
<br>
I got several times message that rtems/test-info.h is missing.<br>
../../libtest/testbeginend.c:21:10: fatal error: rtems/test-info.h: No such=
 file or directory<br>
=C2=A0#include &lt;rtems/test-info.h&gt;<br>
Where to find rtems/test-info.h<br>
Thanks<br>
<br>
Best regards<br>
Mirek<br>
_______________________________________________<br>
users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a><br=
>
<a href=3D"http://lists.rtems.org/mailman/listinfo/users" rel=3D"noreferrer=
" target=3D"_blank">http://lists.rtems.org/mailman/listinfo/users</a></bloc=
kquote></div></div></div>

--00000000000096314c06198617ca--

--===============6535526471045142674==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
users mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/users
--===============6535526471045142674==--