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

Re: problem regarding redboot building



> >
> > no. only a file ecos.ecc is generated.
>
>If you go to that directory at the cygwin prompt, can you make an
>install/include/pkgconf subdirectory yourself with mkdir? If you can, then
>try the cygtclsh80 commands again. If that returns 1, then try "ecosconfig
>tree" again with the directories already there, just for fun.
>

hi jonathan,

i did try to make that dir earlier and re-run 'ecosconfig tree'  again. 
result was a few include files were
created in that dir but still no makefile generated.

however, since i am using cygwin, i decide to start it all over. (is 
ecosconfig only applied in unix/linux environment?)

i get latest ecos from anon cvs in cygwin in windows2k pro, and i use 
windwos config tool 2.02. in build->template i choose arm evaluator7t
board(aka aeb-2) for "hardware" part and redboot for "packages" part. i get 
4 conflict items but they are resolved after i click continue.
then i import from ecos/packages/hal/arm/e7t/current/redboot_ROM.ecm and 
save the config file. now i click build->library to start building(binutils
and gcc have been prepared) and error occurres like,

arm-elf-gcc -c  -I//E/cygwin/ecos/packages/test_install/include 
-I//E/cygwin/ecos/packages/redboot/current 
-I//E/cygwin/ecos/packages/redboot/current/src 
-I//E/cygwin/ecos/packages/redboot/current/tests -I. 
-I//E/cygwin/ecos/packages/redboot/current/src/ -mcpu=arm7tdmi 
-mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline 
-Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections 
-fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/io.tmp -o 
src/redboot_io.o //E/cygwin/ecos/packages/redboot/current/src/io.c
//E/cygwin/ecos/packages/redboot/current/src/io.c: In function `do_channel':
//E/cygwin/ecos/packages/redboot/current/src/io.c:102: `console_selected' 
undeclared (first use in this function)
//E/cygwin/ecos/packages/redboot/current/src/io.c:102: (Each undeclared 
identifier is reported only once
//E/cygwin/ecos/packages/redboot/current/src/io.c:102: for each function it 
appears in.)
make[1]: Leaving directory `/ecos/packages/test_build/redboot/current'
make[1]: *** [src/io.o.d] Error 1
make: Leaving directory `/ecos/packages/test_build'
make: *** [build] Error 2

i check a bit and find a cdl define CYGPKG_REDBOOT_ANY_CONSOLE is disabled 
by the imported config file(redboot_ROM.ecm). so i re-enable it and
re-build the library. now i have another error like,

arm-elf-gcc -c 
-DCHECKSUM=`//E/cygwin/ecos/packages/hal/arm/e7t/current/src/flash_cksum.tcl 
src/redboot_ncs.bin`  -I//E/cygwin/ecos/packages/test_install/include 
-I//E/cygwin/ecos/packages/hal/arm/e7t/current 
-I//E/cygwin/ecos/packages/hal/arm/e7t/current/src 
-I//E/cygwin/ecos/packages/hal/arm/e7t/current/tests -I. 
-I//E/cygwin/ecos/packages/hal/arm/e7t/current/src/ -mcpu=arm7tdmi 
-mno-short-load-words -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/redboot.o 
//E/cygwin/ecos/packages/hal/arm/e7t/current/src/redboot_module.c
couldn't read file 
"//E/cygwin/ecos/packages/hal/arm/e7t/current/src/flash_cksum.tcl": no such 
file or directory

//E/cygwin/ecos/packages/hal/arm/e7t/current/src/redboot_module.c:91: parse 
error before `,'
make[1]: Leaving directory `/ecos/packages/test_build/hal/arm/e7t/current'
make[1]: *** [//E/cygwin/ecos/packages/test_install/bin/redboot.bin] Error 1
make: Leaving directory `/ecos/packages/test_build'
make: *** [build] Error 2

i investigate to find the result..

$ cd /e
$ pwd
/e
$ ls -l cygwin/ecos/packages/hal/arm/e7t/current/src/flash_cksum.tcl
-rwxr-xr-x    1 Administ None         6175 Apr  7 03:06 
cygwin/ecos/packages/hal
/arm/e7t/current/src/flash_cksum.tcl
$ cygtclsh80 cygwin/ecos/packages/hal/arm/e7t/current/src/flash_cksum.tcl
usage: flash_cksum <file>
$ ls -l //e/cygwin/ecos/packages/hal/arm/e7t/current/src/flash_cksum.tcl
-rwxr-xr-x    1 Administ None         6175 Apr  7 03:06 
//e/cygwin/ecos/packages
/hal/arm/e7t/current/src/flash_cksum.tcl
$ cygtclsh80 
//e/cygwin/ecos/packages/hal/arm/e7t/current/src/flash_cksum.tcl
couldn't read file 
"//e/cygwin/ecos/packages/hal/arm/e7t/current/src/flash_cksum
.tcl": no such file or directory

it seems cygtclsh80.exe doesn't recognize the files with full path name?
should i get newest cygtclsh80.exe?

regards,
kc



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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