Building project - Eclipse

Binkowski, Cassio cassioiks at gmail.com
Thu Mar 15 20:31:34 UTC 2012


That did it.
I don't know how I missed this one. It was right on the Hello World sample.

Thank you all.
Cassio

On Thu, Mar 15, 2012 at 3:14 PM, Gedare Bloom <gedare at rtems.org> wrote:

> 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120315/74a85e92/attachment-0001.html>


More information about the users mailing list