Building project - Eclipse
Gedare Bloom
gedare at rtems.org
Thu Mar 15 18:14:00 UTC 2012
On Thu, Mar 15, 2012 at 2:01 PM, Binkowski, Cassio <cassioiks at gmail.com> wrote:
>> Yes. The doc is wrong. :)
>>
>> Should be RTEMS_SELF, and RTEMS_SUCCESSFUL.
>>
>> It would be a useful exercise for you to fix the doc (find it under
>> doc/user/ in the rtems source tree) and create a patch.
>
>
> Well, the way I'm going, I'm probably going to do this after all. :)
>
> After fixing RTEMS_SELF and RTEMS_SUCCESSFUL, I got another one:
>
> /opt/rtems-4.11/sparc-rtems4.11/sis/lib/librtemsbsp.a(bspinit.o): In
> function `Init':
> /home/rtems/rtems-4.11-work/rtems/c/src/lib/libbsp/sparc/erc32/../../shared/bspinit.c:84:
> undefined reference to `main'
> /home/rtems/rtems-4.11-work/rtems/c/src/lib/libbsp/sparc/erc32/../../shared/bspinit.c:84:
> undefined reference to `main'
> collect2: ld returned 1 exit status
> make: *** [test.exe] Error 1
>
> Do you know what it is?
>
This example code is out of date or something.. Try renaming
init_task() to be Init() instead. That might do the trick.
> Thanks
>
More information about the users
mailing list