[ECOS] RedBoot/Hello World
Jonathan Larmour
jlarmour@redhat.com
Tue Feb 5 06:17:00 GMT 2002
Chris Hanna wrote:
>
> Hi.
>
> I have built RedBoot and have it running on my board. I would like to build
> the hello.c example program, and load it and run it in RedBoot. Should I
> build hello using the libtarget.a created when I built RedBoot ?
> I try this, but the linker complains:
>
> /opt/ecos/rb-lx2/examples/hello.c:6: undefined reference to `printf'
> /opt/ecos/rb-lx/install/lib/libtarget.a(redboot_main.o): In function
> `do_version':
> /opt/ecos/ecos/packages/redboot/current/src/main.c:152: undefined reference
> to `RedBoot_version'
Nope. Rebuild using the default template, not the redboot one and use that.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
More information about the Ecos-discuss
mailing list