EPICS Home

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: compiler error seq-2.2.7 on OS-X with epics 7
From: Heinz Junkes via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 28 Jan 2021 14:34:20 +0100
I can no longer build seq 2.2.7 with epics 7.
Heinz

epics 7 last release:
git clone --recursive -b 7.0 https://git.launchpad.net/epics-base

make seq-2.2.7  on OS-X :
…

Installing created dbd file ../../../dbd/demo.dbd
cc           -DUSE_TYPED_RSET    -DUNIX  -Ddarwin      -O3 -g   -Wall -Werror-implicit-function-declaration       -arch x86_64    -fno-common  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/clang -I../../../include/os/Darwin -I../../../include -I/Users/junkes/GERT/EPICS/epics-base/include/compiler/clang -I/Users/junkes/GERT/EPICS/epics-base/include/os/Darwin -I/Users/junkes/GERT/EPICS/epics-base/include        -c demo.c
c++           -DUSE_TYPED_RSET    -DUNIX  -Ddarwin      -O3 -g   -Wall       -arch x86_64    -fno-common  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/clang -I../../../include/os/Darwin -I../../../include -I/Users/junkes/GERT/EPICS/epics-base/include/compiler/clang -I/Users/junkes/GERT/EPICS/epics-base/include/os/Darwin -I/Users/junkes/GERT/EPICS/epics-base/include        -c demo_registerRecordDeviceDriver.cpp
cc           -DUSE_TYPED_RSET    -DUNIX  -Ddarwin      -O3 -g   -Wall -Werror-implicit-function-declaration       -arch x86_64    -fno-common  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/clang -I../../../include/os/Darwin -I../../../include -I/Users/junkes/GERT/EPICS/epics-base/include/compiler/clang -I/Users/junkes/GERT/EPICS/epics-base/include/os/Darwin -I/Users/junkes/GERT/EPICS/epics-base/include        -c ../demoMain.c
c++ -o demo  -L/Users/junkes/GERT/EPICS/SUPPORT/seq/lib/darwin-x86 -L/Users/junkes/GERT/EPICS/epics-base/lib/darwin-x86        -arch x86_64            demo.o demo_registerRecordDeviceDriver.o demoMain.o    -ldbRecStd -ldbCore -lca -lCom -lseq -lpv
duplicate symbol '_pvar_func_demoRegistrar' in:
    demo.o
    demoMain.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [demo] Error 1
make[2]: *** [install.darwin-x86] Error 2
make[1]: *** [demo.install] Error 2
make: *** [examples.install] Error 2

Replies:
Re: compiler error seq-2.2.7 on OS-X with epics 7 Joel Sherrill via Tech-talk
Re: compiler error seq-2.2.7 on OS-X with epics 7 Heinz Junkes via Tech-talk

Navigate by Date:
Prev: RE: EPICS Archiver routing issue Manoussakis, Adamandios via Tech-talk
Next: Re: compiler error seq-2.2.7 on OS-X with epics 7 Joel Sherrill 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: Second Announcement: EPICS Codeathon, March 8 to March 12 Hartman, Steven via Tech-talk
Next: Re: compiler error seq-2.2.7 on OS-X with epics 7 Joel Sherrill 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