This is the mail archive of the ecos-discuss@sourceware.cygnus.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]

[ECOS] stext and etext undefined


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

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