QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 986|回复: 0

求助,Magic Linux下编译出错

[复制链接]
发表于 2007-11-5 13:03:26 | 显示全部楼层 |阅读模式
出错信息如下,能看懂的朋友帮我看看,谢谢了


[root@MagicLinux axis-1.3a2]# 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
[root@MagicLinux axis-1.3a2]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-23 23:44 , Processed in 0.041149 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表