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: "Pearson, Matthew via Tech-talk" <tech-talk at aps.anl.gov>
To: Vishnu Patel <patel.vishnu at hotmail.com>, "Tech Talk (tech-talk at aps.anl.gov)" <Tech-talk at aps.anl.gov>
Date: Wed, 3 Apr 2024 14:02:31 +0000

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


Replies:
Re: PyDevice support compilation error Vishnu Patel via Tech-talk
References:
PyDevice support compilation error Vishnu Patel via Tech-talk

Navigate by Date:
Prev: Re: enable pvAccess by default William Kirstaedter 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
Navigate by Thread:
Prev: PyDevice support compilation error Vishnu Patel via Tech-talk
Next: Re: PyDevice support compilation error Vishnu Patel 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, 09 Apr 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·