EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  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: Building autosave with EPICS 7.0.6 and RTEMS5
From: Heinz Junkes via Tech-talk <tech-talk at aps.anl.gov>
To: Matt Rippa <matt.rippa at noirlab.edu>
Cc: Talk EPICS Tech <tech-talk at aps.anl.gov>
Date: Tue, 13 Jul 2021 10:09:01 +0200
Dear Matt,
I have applied the following 2 patches to autosave:

Attachment: patch2.diff
Description: Binary data

Attachment: patch1.diff
Description: Binary data


Heinz



> On 13. Jul 2021, at 07:52, Matt Rippa via Tech-talk <tech-talk at aps.anl.gov> wrote:
> 
> Hello,
> 
> Our builds of autosave [1] using RTEMS 4.10.2 and EPICS 3.15.x have a warning of an implicit call to nfsMount(). Despite this nfsMount() works fine on iocBoot. 
> In EPICS 7.0.6 and RTEMS5 there's a rule to halt on warning when building autosave. I searched tech-talk and [2] looks similar, moving from RTEMS 4.9 to 4.10.
> 
> Build host is CentOS-8, RTEMS-mvme2700 (aka 2307) with details in [2]. But the implicit warning also happens on RTEMS-mvme3100 and RTEMS-beatnik.
> 
> /home/mrippa/MVME2307/rtems/5/bin/powerpc-rtems5-gcc --pipe -B/home/mrippa/MVME2307/rtems/5/powerpc-rtems5/mvme2307/lib/ -specs bsp_specs -qrtems   -fasm   -mcpu=604 -mmultiple -mstring -mstrict-align -meabi       -D_GNU_SOURCE -D_DEFAULT_SOURCE            -DUNIX      -O2 -g -ffunction-sections -fdata-sections   -Wall -Werror-implicit-function-declaration     -DUSE_TYPED_RSET -DDBLOADRECORDSHOOKREGISTER   -DMY_DO_BOOTP=NULL -DHAVE_PPCBUG -DNVRAM_INDIRECT    -D__LINUX_ERRNO_EXTENSIONS__ -DRTEMS_LEGACY_STACK  -I. -I../O.Common -I. -I. -I../os/RTEMS -I../os/default -I.. -I../../../include/compiler/gcc -I../../../include/os/RTEMS -I../../../include -I/home/mrippa/work/vendor/epics-base/include/compiler/gcc -I/home/mrippa/work/vendor/epics-base/include/os/RTEMS -I/home/mrippa/work/vendor/epics-base/include        -c ../os/RTEMS/osdNfs.c
> ../os/RTEMS/osdNfs.c: In function 'mountFileSystem':
> ../os/RTEMS/osdNfs.c:45:9: error: implicit declaration of function 'nfsMount'; did you mean 'nfsInit'? [-Werror=implicit-function-declaration]
>      if (nfsMount(uidhost, path, mntpoint) == OK) {     /* 0 - succeed; -1 - failed */
>          ^~~~~~~~
>          nfsInit
> cc1: some warnings being treated as errors
> make[3]: *** [/home/mrippa/work/vendor/epics-base/configure/RULES_BUILD:259: osdNfs.o] Error 1
> 
> Is there something off with my RTEMS or EPICS builds?
> 
> Thanks,
> -Matt
> 
> [1] autosave https://github.com/epics-modules/autosave.git
> [2] https://epics.anl.gov/tech-talk/2012/msg01045.php
> [3] rtems5_epics7_build.txt (attached)
> <rtems5_epics7_build.txt>

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Replies:
Re: Building autosave with EPICS 7.0.6 and RTEMS5 Michael Davidsaver via Tech-talk
References:
Building autosave with EPICS 7.0.6 and RTEMS5 Matt Rippa via Tech-talk

Navigate by Date:
Prev: Building autosave with EPICS 7.0.6 and RTEMS5 Matt Rippa via Tech-talk
Next: Re: detector state error and writing status error for marCCD Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  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: Building autosave with EPICS 7.0.6 and RTEMS5 Matt Rippa via Tech-talk
Next: Re: Building autosave with EPICS 7.0.6 and RTEMS5 Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 13 Jul 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·