当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ERROR
帖子发表于 : 2012-09-07 19:13 

注册: 2012-07-17 21:44
帖子: 35
送出感谢: 0 次
接收感谢: 0 次
[email protected]:~$ comp --install ethercat.comp
make -C /usr/src/linux-headers-2.6.32-122-rtai SUBDIRS=`pwd` CC=gcc V=0 -o /Module.symvers modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-122-rtai'
CC [M] /tmp/tmpHNy01z/ethercat.o
ethercat.comp:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘master_status’
ethercat.comp:44:30: error: ethercat_cstruct.c: No such file or directory
ethercat.comp:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘domain1_pdo_regs’
ethercat.comp: In function ‘extra_setup’:
ethercat.comp:71: error: ‘ec_slave_t’ undeclared (first use in this function)
ethercat.comp:71: error: (Each undeclared identifier is reported only once
ethercat.comp:71: error: for each function it appears in.)
ethercat.comp:71: error: ‘slave’ undeclared (first use in this function)
ethercat.comp:82: warning: passing argument 2 of ‘ecrt_master_callbacks’ from incompatible pointer type
/opt/etherlab/include/ecrt.h:529: note: expected ‘void (*)(void *)’ but argument is of type ‘int (*)(void *)’
ethercat.comp:95: error: implicit declaration of function ‘ecrt_domain_register_pdo_list’
ethercat.comp:95: error: ‘domain1_pdo_regs’ undeclared (first use in this function)
ethercat.comp: In function ‘update’:
ethercat.comp:163: error: implicit declaration of function ‘ecrt_master_get_status’
ethercat.comp:163: error: ‘master_status’ undeclared (first use in this function)
ethercat.comp:166: error: ‘old_status’ undeclared (first use in this function)
make[2]: *** [/tmp/tmpHNy01z/ethercat.o] Error 1
make[1]: *** [_module_/tmp/tmpHNy01z] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-122-rtai'
make: *** [modules] Error 2


页首
 用户资料  
 
2 楼 
 文章标题 : Re: ERROR
帖子发表于 : 2012-09-07 19:30 
头像

注册: 2008-08-13 8:48
帖子: 26391
地址: 东海硇州,一双管钥。
系统: Fundu i64
送出感谢: 50
接收感谢: 344
什么意思?你想说明什么? :em01 :em01 :em01


_________________
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关


页首
 用户资料  
 
3 楼 
 文章标题 : Re: ERROR
帖子发表于 : 2012-09-07 21:27 

注册: 2008-10-31 22:12
帖子: 6546
系统: 践兔
送出感谢: 18
接收感谢: 25
正常情况下,没必要手动编译内核模块。


_________________
代码:
] ls -ld //


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译