求助,Magic Linux下编译出错
出错信息如下,能看懂的朋友帮我看看,谢谢了# env EMCROOT=/usr/local python setup.py install
(run installed)
Building AXIS 1.3a2 for EMC2 in /usr/local
running install
running build
running build_py
running build_ext
building 'emc' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -D_FORTIFY_SOURCE=2 -m32 -march=i686 -mcpu=i686 -mtune=i686 -D_GNU_SOURCE -fPIC -fPIC -DDEFAULT_NMLFILE="/usr/local/configs/emc.nml" -DAXIS_USE_EMC2=1 -I/usr/local/include/emc2 -I/usr/include/python2.4 -c extensions/emcmodule.cc -o build/temp.linux-i686-2.4/extensions/emcmodule.o
extensions/emcmodule.cc:402: error: 'class EMC_IO_STAT' has no member named 'spindle'
extensions/emcmodule.cc:403: error: 'class EMC_IO_STAT' has no member named 'spindle'
extensions/emcmodule.cc:404: error: 'class EMC_IO_STAT' has no member named 'spindle'
extensions/emcmodule.cc:405: error: 'class EMC_IO_STAT' has no member named 'spindle'
extensions/emcmodule.cc:406: error: 'class EMC_IO_STAT' has no member named 'spindle'
extensions/emcmodule.cc: In function `PyObject* Stat_axis_one(pyStatChannel*, int)':
extensions/emcmodule.cc:574: error: 'class EMC_AXIS_STAT' has no member named 'enablePolarity'
extensions/emcmodule.cc:575: error: 'class EMC_AXIS_STAT' has no member named 'minLimitSwitchPolarity'
extensions/emcmodule.cc:576: error: 'class EMC_AXIS_STAT' has no member named 'maxLimitSwitchPolarity'
extensions/emcmodule.cc:577: error: 'class EMC_AXIS_STAT' has no member named 'homeSwitchPolarity'
extensions/emcmodule.cc:578: error: 'class EMC_AXIS_STAT' has no member named 'homingPolarity'
extensions/emcmodule.cc:579: error: 'class EMC_AXIS_STAT' has no member named 'faultPolarity'
extensions/emcmodule.cc:596: error: 'class EMC_AXIS_STAT' has no member named 'alter'
extensions/emcmodule.cc: In function `PyObject* Stat_tool_table(pyStatChannel*)':
extensions/emcmodule.cc:618: error: 'struct CANON_TOOL_TABLE' has no member named 'length'
error: command 'gcc' failed with exit status 1
#
页:
[1]