EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository
From: Vijay Kumar Banerjee via Core-talk <core-talk at aps.anl.gov>
To: Joel Sherrill <joel at rtems.org>
Cc: Core talk <core-talk at aps.anl.gov>, "rtems-devel at rtems.org" <devel at rtems.org>
Date: Thu, 4 Mar 2021 08:53:27 -0700
On Thu, Mar 4, 2021 at 8:33 AM Vijay Kumar Banerjee <vijay at rtems.org> wrote:
>
> On Thu, Mar 4, 2021 at 7:26 AM Joel Sherrill <joel at rtems.org> wrote:
> >
> >
> >
> > On Thu, Mar 4, 2021 at 8:22 AM Heinz Junkes <junkes at fhi-berlin.mpg.de> wrote:
> >>
> >> I have installed the legacy package but the files are not there.
> >> I guess they were just forgotten in the legacy package.
> >
> >
> > I'd guess Vijay forgot to install them. Certainly easy enough to do.
> >
> they're getting installed in the lib/ directory in the prefix:
> beatnik/lib/include/rtems/telnetd.h
> beatnik/lib/librtemsNfs.h
> beatnik/lib/rtems/rtems_bsdnet.h
>
> For rtems_bsdnet.h and librtemsNfs.h, the right place for install was
> supposed to be lib/include I guess (?) that might be the reason that
> it's not being found from your application as it's searching for it in
> the include directory. I'll push a fix to install it in the include

Here's the diff. Could you please try this diff and let me know if
it's getting installed in the expected location?
```
diff --git a/netlegacy.py b/netlegacy.py
index 037e2ee..fce2cc9 100644
--- a/netlegacy.py
+++ b/netlegacy.py
@@ -100,10 +100,10 @@ def build(bld):

     bld.install_files(os.path.join('${PREFIX}', arch_lib_path),
                       ["libnetworking.a"])
-    bld.install_files(os.path.join('${PREFIX}', arch_lib_path),
+    bld.install_files(os.path.join('${PREFIX}', arch_lib_path,
'include', 'libchip'),
                       [os.path.join('./bsps/include/libchip/', f)
                       for f in os.listdir('./bsps/include/libchip/')])
     for i in include_files:
         bld.install_files(os.path.join('${PREFIX}',
-                          arch_lib_path, i),
+                          arch_lib_path, 'include', i),
                           include_files[i])
```


> directory, but in the current state, these files do get installed in
> the prefix location somewhere. Could you please try the ./waf install
> again and see if these files are getting installed somewhere in the
> prefix?
>
>
> Best regards,
> Vijay
>
> > Eventually the NFSv2 client will need to be in the legacy stack
> > package. But until the port of the FreeBSD NFSv4 client is available
> > in libbsd, the existing NFSv2 client has to be used for both stacks.
> > I suppose this may end up being the one piece of lingering clean up.
> >
> > --joel
> >
> >>
> >> Heinz
> >>
> >>
> >> > On 4. Mar 2021, at 14:52, Joel Sherrill <joel at rtems.org> wrote:
> >> >
> >> > Did you install the legacy package? If you installed it in the same place
> >> > as the RTEMS 5 BSP, I would expect it to be there. This SHOULD be
> >> > equivalent to prior split.
> >>

References:
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository junkes via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Joel Sherrill via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Vijay Kumar Banerjee via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository junkes via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Vijay Kumar Banerjee via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository junkes via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Vijay Kumar Banerjee via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository junkes via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Joel Sherrill via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Heinz Junkes via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Joel Sherrill via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Vijay Kumar Banerjee via Core-talk

Navigate by Date:
Prev: Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Vijay Kumar Banerjee via Core-talk
Next: Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Vijay Kumar Banerjee via Core-talk
Next: Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Chris Johns via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 04 Mar 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·