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: Re: PyDevice support compilation error
From: Vishnu Patel via Tech-talk <tech-talk at aps.anl.gov>
To: "Pearson, Matthew" <pearsonmr at ornl.gov>, "Tech Talk (tech-talk at aps.anl.gov)" <Tech-talk at aps.anl.gov>
Date: Tue, 9 Apr 2024 11:06:50 +0000
Thanks Matt,

It is done.

From: Pearson, Matthew <pearsonmr at ornl.gov>
Sent: 03 April 2024 19:32
To: Vishnu Patel <patel.vishnu at hotmail.com>; Tech Talk (tech-talk at aps.anl.gov) <Tech-talk at aps.anl.gov>
Subject: RE: PyDevice support compilation error
 

Hi,

 

This looks like the same error:

https://epics.anl.gov/tech-talk/2023/msg01349.php

 

Try commenting out the two problem lines.

 

Cheers,

Matt

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Vishnu Patel via Tech-talk
Sent: Wednesday, April 3, 2024 4:23 AM
To: Tech Talk (tech-talk at aps.anl.gov) <Tech-talk at aps.anl.gov>
Subject: [EXTERNAL] PyDevice support compilation error

 

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


References:
PyDevice support compilation error Vishnu Patel via Tech-talk
RE: PyDevice support compilation error Pearson, Matthew via Tech-talk

Navigate by Date:
Prev: Re: get asyn hostInfo Douglas Araujo via Tech-talk
Next: Re: urldefense.us URLs? (was: New Git mirror for the SNL-Sequencer (code and docs)) J. Lewis Muir 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: RE: PyDevice support compilation error Pearson, Matthew via Tech-talk
Next: Pfeiffer Omnicontrol 200 Pierrick M Hanlet 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, 11 Sep 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·