This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
[ECOS] stext and etext undefined
- To: ecos-discuss@sourceware.cygnus.com
- Subject: [ECOS] stext and etext undefined
- From: lunn@ma.tech.ascom.ch (Andrew Lunn)
- Date: Mon, 31 May 1999 17:10:26 +0200 (MET DST)
Hi Folks
I hope this question is not as silly as my last.
While compiling the tests for the arm i get the following errors
arm-elf-gcc -o //H/aplett/ecos-work-arm/install/tests/hal/intr.exe hal_intr.o
-mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,-static -g -O2
-L//H/aplett/ecos-work-arm/install/lib -Ttarget.ld -nostdlib
//H/aplett/ecos-work-arm/install/lib/libtarget.a(infra_fancy.o):
In function `cyg_check_func_ptr':
//d/cygnus/ECOS-1~1.1/packages/infra/v1_2_1/src/fancy.cxx:522: undefined reference to `stext'
//d/cygnus/ECOS-1~1.1/packages/infra/v1_2_1/src/fancy.cxx:522: undefined reference to `etext'
collect2: ld returned 1 exit status
From what i understand stext and etext should be defined in the linker
script target.ld, but for some reason they are not.
Any ideas?
Thanks
Andrew