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
|