This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RedBoot/Hello World


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'

Thanks for your help.

Chris


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]