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]

Re: How to run a program on redboot!


phchang@programmer.net wrote:
> 
> Hi
> 
> I have loaded the redboot to the target board. Now, I want to build my own testing program and then run it on redboot, but I got some error messages from arm-elf-gcc:
> 
> //E/Gary/Program/eCos/tmp/eCos/new_redboot_install/lib/libtarget.a(redboot_main.o): In function
> `do_go':
> //D/ecoscvs/ecos/packages/redboot/current/src/main.c:475: undefined reference to
> `RedBoot_version'
> collect2: ld returned 1 exit status
> 
> How to solve it?
> 
> Also, I selected some templates like kernel, minimal... and then built them but I didn't find any bin file in bin directory. How to build them and then run them on the target board (the target board have redboot on it)

You are still building redboot. Do not choose the redboot template if you
want to bulid tests. Also when you choose a different template, I would
recommend using a new empty build directory.

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


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