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

Subject: PyDevice support compilation error
From: Vishnu Patel via Tech-talk <tech-talk at aps.anl.gov>
To: "Tech Talk (tech-talk at aps.anl.gov)" <Tech-talk at aps.anl.gov>
Date: Wed, 3 Apr 2024 08:23:14 +0000
Hi,
    I am trying to compile PyDevice python device support on the Ubuntu Core over raspberry pi.  I am using epics base-7.0.1.1 and python 3.5.2


I am getting an error 

Installing dbd file ../../dbd/pydev315.dbd
Installing dbd file ../../dbd/pycalcRecord.dbd
Installing generated generic include file ../../include/pycalcRecord.h
mkdir ../../include
/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -DUNIX  -Dlinux     -O3 -g   -Wall     -I/usr/include/python3.5m -I/usr/include/python3.5m -std=c++11 -O2 -DUSE_TYPED_RSET       -fPIC -g -ggdb -O0 -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I../../../../base-7.0.1.1/include/compiler/gcc -I../../../../base-7.0.1.1/include/os/Linux -I../../../../base-7.0.1.1/include        -c ../asyncexec.cpp
/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -DUNIX  -Dlinux     -O3 -g   -Wall     -I/usr/include/python3.5m -I/usr/include/python3.5m -std=c++11 -O2 -DUSE_TYPED_RSET       -fPIC -g -ggdb -O0 -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I../../../../base-7.0.1.1/include/compiler/gcc -I../../../../base-7.0.1.1/include/os/Linux -I../../../../base-7.0.1.1/include        -c ../epicsdevice.cpp
/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -DUNIX  -Dlinux     -O3 -g   -Wall     -I/usr/include/python3.5m -I/usr/include/python3.5m -std=c++11 -O2 -DUSE_TYPED_RSET       -fPIC -g -ggdb -O0 -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I../../../../base-7.0.1.1/include/compiler/gcc -I../../../../base-7.0.1.1/include/os/Linux -I../../../../base-7.0.1.1/include        -c ../pywrapper.cpp
../pywrapper.cpp:351:67: error: duplicate explicit instantiation of ‘static bool PyWrapper::exec(const string&, bool, T*) [with T = long long int; std::__cxx11::string = std::__cxx11::basic_string<char>]’ [-fpermissive]
 template bool PyWrapper::exec(const std::string&, bool, long long*);
                                                                   ^
../pywrapper.cpp:352:76: error: duplicate explicit instantiation of ‘static bool PyWrapper::exec(const string&, bool, T*) [with T = long long unsigned int; std::__cxx11::string = std::__cxx11::basic_string<char>]’ [-fpermissive]
 template bool PyWrapper::exec(const std::string&, bool, unsigned long long*);
                                                                            ^
../../../../base-7.0.1.1/configure/RULES_BUILD:237: recipe for target 'pywrapper.o' failed
make[2]: *** [pywrapper.o] Error 1
make[2]: Leaving directory '/home/vishnu.patel/epics/support/PyDevice/src/O.linux-arm'
../../../base-7.0.1.1/configure/RULES_ARCHS:58: recipe for target 'install.linux-arm' failed
make[1]: *** [install.linux-arm] Error 2
make[1]: Leaving directory '/home/vishnu.patel/epics/support/PyDevice/src'
../../base-7.0.1.1/configure/RULES_DIRS:84: recipe for target 'src.install' failed
make: *** [src.install] Error 2



Is any one have idea?

Thanks
Vishnu

Replies:
RE: PyDevice support compilation error Pearson, Matthew via Tech-talk

Navigate by Date:
Prev: Re: enable pvAccess by default Ralph Lange via Tech-talk
Next: Re: enable pvAccess by default Han Lee 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  2023  <2024
Navigate by Thread:
Prev: Deadline Extended: Register for EPICS Summer School 2024! Marcel Bajdel via Tech-talk
Next: RE: PyDevice support compilation error Pearson, Matthew 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  2023  <2024
ANJ, 03 Apr 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·