Experimental Physics and Industrial Control System
Dear Sir,
I am trying to compile CaChannel v1.6 using python-3.2 on linux x86-64. The compilation gives following error. Does CaChannel supports python3 ?
Seeking suggestions and comments
Best regards,
Ritesh Sugandhi
command line output::
===============
$ python3 setup.py build
running build
running build_py
running build_ext
building '_ca' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCA_VERSION="\"1.7\"" -DLinux -UW -UI -UT -UH -U_ -UT -UK -I/opt/codac-2.0/epics/base/include -I/opt/codac-2.0/epics/base/include/os/Linux -I/opt/codac-2.0/epics/base/include/os -I/home/ITER/sugandr/Desktop/epics-python/Python-3.2/include/python3.2m -c _ca314.cpp -o build/temp.linux-x86_64-3.2/_ca314.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
_ca314.cpp: In function \u2018void init_ca()\u2019:
_ca314.cpp:396: error: \u2018Py_InitModule\u2019 was not declared in this scope
_ca314.cpp:404: error: \u2018PyString_FromString\u2019 was not declared in this scope
_conv_helper.cpp: In function \u2018PyObject* _convert_ca_to_Python(chtype, long unsigned int, void*, int)\u2019:
_conv_helper.cpp:242: error: \u2018PyString_FromString\u2019 was not declared in this scope
_conv_helper.cpp:366: error: \u2018PyString_FromString\u2019 was not declared in this scope
_ca314.cpp: In function \u2018PyObject* Py_ca_monitor(PyObject*, PyObject*)\u2019:
_ca314.cpp:1479: error: \u2018PyCObject_FromVoidPtr\u2019 was not declared in this scope
_ca314.cpp: In function \u2018PyObject* Py_ca_clear_monitor(PyObject*, PyObject*)\u2019:
_ca314.cpp:1496: error: \u2018PyCObject_AsVoidPtr\u2019 was not declared in this scope
_ca314.cpp: In function \u2018PyObject* Py_ca_name(PyObject*, PyObject*)\u2019:
_ca314.cpp:1707: error: \u2018PyString_FromString\u2019 was not declared in this scope
_ca314.cpp: In function \u2018PyObject* Py_dbf_text(PyObject*, PyObject*)\u2019:
_ca314.cpp:1721: error: \u2018PyString_FromString\u2019 was not declared in this scope
_ca314.cpp: In function \u2018PyObject* Py_dbr_text(PyObject*, PyObject*)\u2019:
_ca314.cpp:1735: error: \u2018PyString_FromString\u2019 was not declared in this scope
_ca314.cpp: At global scope:
_ca314.cpp:331: warning: \u2018void ca_context_destroy_wrapper()\u2019 defined but not used
error: command 'gcc' failed with exit status 1
$
- Replies:
- RE: Question regarding CaChannel -v1.6 compilation using python-3.2 onlinux 86-64 bit Wang Xiaoqiang
- Navigate by Date:
- Prev:
Re: Does EPICS Base support multi-thread on vxWorks 6.3? lorna . zhang
- Next:
RE: Question regarding CaChannel -v1.6 compilation using python-3.2 onlinux 86-64 bit Wang Xiaoqiang
- 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:
EPICS Device Support for the Sis3302 Ernest L. Williams Jr.
- Next:
RE: Question regarding CaChannel -v1.6 compilation using python-3.2 onlinux 86-64 bit Wang Xiaoqiang
- 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