[ECOS] Building the stub

장원호 whjang@acrowave.com
Wed Aug 9 23:28:00 GMT 2000




After build libtarget, I did change to the directory 
hal/common/current/src/stubrom and type make, according to doc, but Nothing 
happend.
 
Did I need any option?
 
P.S.: After Building the stub in ecos configuration tool, 
display the link error message following.
 
make[1]: Leaving directory 
`/cygdrive/c/My_eCos/jwh_test/test2_build/hal/powerpc/arch/v1_3_1' make -r -C 
hal/common/v1_3_1 file://C/My_eCos/jwh_test/test2_install/bin/gdb_module.img make[1]: 
Entering directory 
`/cygdrive/c/My_eCos/jwh_test/test2_build/hal/common/v1_3_1' powerpc-eabi-gcc 
-c  -I//C/My_eCos/jwh_test/test2_install/include 
-I//C/PROGRA~1/REDHAT~1/eCos/packages/hal/common/v1_3_1 
-I//C/PROGRA~1/REDHAT~1/eCos/packages/hal/common/v1_3_1/src 
-I//C/PROGRA~1/REDHAT~1/eCos/packages/hal/common/v1_3_1/tests -I. 
-Wp,-MD,deps.tmp 
-I//C/PROGRA~1/REDHAT~1/eCos/packages/hal/common/v1_3_1/src/stubrom/ 
-msoft-float -mcpu=860 -Wall -Wpointer-arith -Wstrict-prototypes -Winline 
-Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections 
-fno-rtti -fno-exceptions -fvtable-gc -finit-priority -o 
src/stubrom/gdb_module.o file://C/PROGRA~1/REDHAT~1/eCos/packages/hal/common/v1_3_1/src/stubrom/stubrom.c powerpc-eabi-gcc 
-msoft-float -mcpu=860 -g -nostdlib -Wl,--gc-sections -Wl,-static 
-L//C/My_eCos/jwh_test/test2_install/lib -Ttarget.ld -o file://C/My_eCos/jwh_test/test2_install/bin/gdb_module.img 
src/stubrom/gdb_module.o /tools/H-i686-pc-cygwin/powerpc-eabi/bin/ld: address 
0xfc00bf18 of file://C/My_eCos/jwh_test/test2_install/bin/gdb_module.img 
section .data is not within region 
ram /tools/H-i686-pc-cygwin/powerpc-eabi/bin/ld: address 0xfc00bf4c of file://C/My_eCos/jwh_test/test2_install/bin/gdb_module.img 
section .sbss is not within region 
ram /tools/H-i686-pc-cygwin/powerpc-eabi/bin/ld: address 0xfc00f400 of file://C/My_eCos/jwh_test/test2_install/bin/gdb_module.img 
section .bss is not within region ram collect2: ld returned 1 exit 
status make[1]: *** [//C/My_eCos/jwh_test/test2_install/bin/gdb_module.img] 
Error 1 make[1]: Leaving directory 
`/cygdrive/c/My_eCos/jwh_test/test2_build/hal/common/v1_3_1' make: *** 
[build] Error 2
 
what's wrong?
 
Thank you.



More information about the Ecos-discuss mailing list