Groups
Groups
Sign in
Groups
Groups
RTEMS Chinese User Group
Conversations
About
Send feedback
Help
请教一个编译rtems应用程序的问题
12 views
Skip to first unread message
Ziyu Yu
unread,
May 17, 2009, 10:41:34 AM
5/17/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rtems-chines...@googlegroups.com
从下面找的示例程序:
http://www.rtems.org/onlinedocs/releases/rtemsdocs-4.8.0/share/rtems/html/c_user/c_user00468.html
中
status = rtems_task_delete( SELF ); /* should not return */
这一行,编译通不过,不知道SELF这个常量在哪里定义的.
这个程序前面也有问题,如RTEMS_STATUS_SUCCESSFUL应该是RTEMS_SUCCESSFUL
我用的是rtems 4.8.0.这个是跟版本有关系吗?
谢谢!
julyon
unread,
May 17, 2009, 1:16:07 PM
5/17/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RTEMS Chinese User Group
可能是版本的问题吧。
你试试把SELF改为RTEMS_SELF,其中RTEMS_SELF的定义在tasks.h里面.
Ziyu Yu
unread,
May 17, 2009, 10:49:54 PM
5/17/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rtems-chines...@googlegroups.com
好的,多谢!
julyon 写道:
> 可能是版本的问题吧。
> 你试试把SELF改为RTEMS_SELF,其中RTEMS_SELF的定义在tasks.h里面.
Reply all
Reply to author
Forward
0 new messages