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  2021  2022  <20232024  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  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: sscan R2-11-4 build error on macOS Sonoma?
From: "J. Lewis Muir via Tech-talk" <tech-talk at aps.anl.gov>
To: EPICS Tech-Talk <tech-talk at aps.anl.gov>
Date: Thu, 30 Nov 2023 12:40:08 -0600
Hello, Tech-Talkers!

I'm building synApps 6.2.1 against EPICS Base 7.0.7 on macOS Sonoma
(14.1.1) on Apple Silicon (EPICS_HOST_ARCH=darwin-aarch64), and the
build fails with an error while building sscan; the end of the build
output is below.  I'll keep looking into the issue, but since it's not
immediately obvious to me what's wrong, I thought I'd ask here, has
anyone successfully built sscan on this platform?

Thanks!

Lewis

----
cc           -DUSE_TYPED_RSET    -DUNIX  -Ddarwin      -O3 -g   -Wall -Werror-implicit-function-declaration       -arch arm64    -fno-common  -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/clang -I../../../include/os/Darwin -I../../../include      -I/tmp/build-01/opt/synapps-6.2.1/seq-2-2-9/include -I/tmp/build-01/opt/epics-base-7.0.7/include/compiler/clang -I/tmp/build-01/opt/epics-base-7.0.7/include/os/Darwin -I/tmp/build-01/opt/epics-base-7.0.7/include        -c ../saveData_writeXDR.c
../saveData_writeXDR.c:1841:2: error: use of undeclared identifier 'READONLY'
        READONLY DBR_VAL * pval = eha.dbr;
        ^
../saveData_writeXDR.c:1850:23: error: use of undeclared identifier 'pval'
                size= strlen((char*)pval);
                                    ^
../saveData_writeXDR.c:1874:22: error: use of undeclared identifier 'pval'
        memcpy(pnode->pval, pval, size);
                            ^
../saveData_writeXDR.c:1888:2: error: use of undeclared identifier 'READONLY'
        READONLY DBR_VAL * pval = eha.dbr;
        ^
../saveData_writeXDR.c:1892:31: error: use of undeclared identifier 'pval'
        strncpy(pnode->desc, (char *)pval, MAX_STRING_SIZE);
                                     ^
5 errors generated.
make[4]: *** [saveData_writeXDR.o] Error 1
make[3]: *** [install.darwin-aarch64] Error 2
make[2]: *** [src.install] Error 2
make[1]: *** [sscanApp.install] Error 2
make: *** [/tmp/build-01/opt/synapps-6.2.1/sscan-R2-11-4.install] Error 2
----

Replies:
Re: sscan R2-11-4 build error on macOS Sonoma? Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: RE: RE: EPICS Archiver Appliance and Channel Filters Sky Brewer via Tech-talk
Next: Re: sscan R2-11-4 build error on macOS Sonoma? Johnson, Andrew N. 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  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Problem deploying Archiver Appliance Shankar, Murali via Tech-talk
Next: Re: sscan R2-11-4 build error on macOS Sonoma? Johnson, Andrew N. 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  2021  2022  <20232024 
ANJ, 30 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·