This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
error while linking : flash problem
- From: Indra Antonius Simalango <indra at vlsi dot itb dot ac dot id>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 26 Aug 2005 16:07:47 +0700 (WIT)
- Subject: [ECOS] error while linking : flash problem
Dear all,
I've built my eCos for pc_rltk8139 target with all package. While linking
my application, I've some error messages like this :
---------------------------------------------------------------------------------
[root@pinguin eFax]# gcc -o efax efax.o efaxlib.o efaxio.o efaxos.o
efaxmsg.o -L /home/indra/eCos/install/lib/ -Ttarget.ld -nostdlib
/home/indra/eCos/install/lib//libtarget.a(io_flash_flash.o)(.text.flash_init+0x21):
In function `flash_init':
/home/indra/anoncvs/ecos/packages/io/flash/current/src/flash.c:92:
undefined reference to `flash_hwr_init'
/home/indra/eCos/install/lib//libtarget.a(io_flash_flash.o)(.text.flash_dev_query+0x7):
In function `flash_dev_query':
/home/indra/anoncvs/ecos/packages/io/flash/current/src/flash.c:118:
undefined reference to `flash_query'
/home/indra/eCos/install/lib//libtarget.a(io_flash_flash.o)(.text.flash_erase+0x25):
In function `flash_erase':
/home/indra/anoncvs/ecos/packages/io/flash/current/src/flash.c:179:
undefined reference to `flash_erase_block'
/home/indra/eCos/install/lib//libtarget.a(io_flash_flash.o)(.text.flash_erase+0x90):/home/indra/anoncvs/ecos/packages/io/flash/current/src/flash.c:216:
undefined reference to `flash_hwr_map_error'
/home/indra/eCos/install/lib//libtarget.a(io_flash_flash.o)(.text.flash_program+0x31):
In function `flash_program':
/home/indra/anoncvs/ecos/packages/io/flash/current/src/flash.c:265:
undefined reference to `flash_program_buf'
/home/indra/eCos/install/lib//libtarget.a(io_flash_flash.o)(.text.flash_program+0x99):/home/indra/anoncvs/ecos/packages/io/flash/current/src/flash.c:287:
undefined reference to `flash_hwr_map_error'
collect2: ld returned 1 exit status
----------------------------------------------------------------------------------
If I don't want to use any flash component, which part of my file ecos.ecc
should I modify?
Please share your experiences.
Thank you.
--
regards,
IndrA on 16:04, Aug 26
http://ic.ee.itb.ac.id/~antonius
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss