public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] problem building redboot - very strange
@ 2001-09-10 11:24 Ravi Kumar B S
  2001-09-10 13:18 ` Jonathan Larmour
  2001-09-16  9:25 ` [ECOS] RedBoot timer Pushparaj
  0 siblings, 2 replies; 5+ messages in thread
From: Ravi Kumar B S @ 2001-09-10 11:24 UTC (permalink / raw)
  To: ecos-discuss

hi,

i am facing a problem in building redboot. the redbot is for ARM evaluator 7t
board and i am working on linux 7.1, kernel 2.4.2, gcc 2.95.2(arm-elf-gcc).
i did following things.

ecosconfig new e7t redboot
ecosconfig add flash
ecosconfig tree
make

i got the following error
arm-elf-gcc -mcpu=arm7tdmi -mno-short-load-words -Wl,--gc-sections
-Wl,-static -g -nostdlib
-L/u/ARM/new-ecos/ecos/packages/redboot-work/install/lib -Ttarget.ld -o
/u/ARM/new-ecos/ecos/packages/redboot-work/install/bin/redboot.elf
/u/ARM/new-ecos/ecos/packages/redboot-work/install/lib/version.o
/u/ARM/new-ecos/ecos/packages/redboot-work/install/lib/extras.o: In function
`do_load':
/u/ARM/new-ecos/ecos/packages/redboot/current/src/load.c:337: undefined
reference to `flash_code_overlaps'
/u/ARM/new-ecos/ecos/packages/redboot/current/src/load.c:410: undefined
reference to `flash_code_overlaps'
/u/ARM/new-ecos/ecos/packages/redboot-work/install/lib/extras.o: In function
`fis_create':
/u/ARM/new-ecos/ecos/packages/redboot/current/src/flash.c:603: undefined
reference to `flash_code_overlaps'
/u/ARM/new-ecos/ecos/packages/redboot-work/install/lib/libtarget.a(io_flash_f
lash.o): In function `flash_errmsg':
/u/ARM/new-ecos/ecos/packages/io/flash/current/src/flash.c:417: undefined
reference to `flash_hwr_init'
/u/ARM/new-ecos/ecos/packages/io/flash/current/src/flash.c:445: undefined
reference to `flash_erase_block'
/u/ARM/new-ecos/ecos/packages/io/flash/current/src/flash.c:447: undefined
reference to `flash_hwr_map_error'
/u/ARM/new-ecos/ecos/packages/redboot-work/install/lib/libtarget.a(io_flash_f
lash.o): In function `flash_program':
/u/ARM/new-ecos/ecos/packages/io/flash/current/src/flash.c:274: undefined
reference to `flash_hwr_map_error'
/u/ARM/new-ecos/ecos/packages/io/flash/current/src/flash.c:294: undefined
reference to `flash_program_buf'
collect2: ld returned 1 exit status
make[1]: ***
[/u/ARM/new-ecos/ecos/packages/redboot-work/install/bin/redboot.elf] Error 1
make[1]: Leaving directory
`/u/ARM/new-ecos/ecos/packages/redboot-work/redboot/current'
make: *** [build] Error 2

here are certain interesting results.
1. but if i see load.c file there is no occurence of flash_code_overlaps at
all.
2. i am able to build the redboot image if i dont add flash(i.e without
ecosconfig add flash). in this case the build goes fine.
3. but i am able to build redboot with flash support on a different machine
which is using the same tools.

can some body give some clue to fix this problem

regards,

ravi kumar





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-09-17  2:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-10 11:24 [ECOS] problem building redboot - very strange Ravi Kumar B S
2001-09-10 13:18 ` Jonathan Larmour
2001-09-16  9:25 ` [ECOS] RedBoot timer Pushparaj
2001-09-16 15:32   ` Gary Thomas
2001-09-17  2:15   ` Jesper Skov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).