when I compile now I have:but I still don't understand what is this _start symbol warning !! ____________________________________________________________ [EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null $ make isense mkdir -p build/isense compiling NullAppC to a isense binary ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-a ll -target=isense -fnesc-cfile=build/isense/app.c -board= -DIDENT_PROGRAM_NAME=\ "NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" -DIDENT_USER_HA SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x47580eb5L -DIDENT_UID_HASH=0x53193042L -I. -D OR1K -g -Os -Wall -fomit-frame-pointer -msibcall -mno-entri -mno-multi -mno-setc c -mno-cmov -mno-carry -mno-subb -mno-sext -mno-ror -mno-ff1 -mno-hard-div -mhar d-mul -mbranch-cost=3 -msimple-mul -mabi=1 -march=ba1 -mredzone-size=4 -DPCB_DEV KIT2 -DEMBEDDED -DLEAN_N_MEAN -DSINGLE_CONTEXT -DCHIP_RELEASE_5131 -Iinclude -I/ opt/tinyos-2.x/tos/chips/JN5139R1/Platform/DK2/Include -I./Source -I/opt/tinyos- 2.x/tos/chips/JN5139R1/Common/Include -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/ JN513xR1/Include -I -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/Common/Include Nu llAppC.nc -lm /ba-elf/bin/../lib/gcc/ba-elf/4.1.2/../../../../ba-elf/bin/ld: warning: cannot f ind entry symbol _start; defaulting to 00000000 compiled NullAppC to build/isense/main.exe ba-elf-objdump -h build/isense/main.exe | perl -ne '$b{$1}=hex $2 if /^\s*\d+\s* \.(text|data|bss)\s+(\S+)/; END { printf("%16d bytes in ROM\n%16d bytes in RAM\n ",$b{text}+$b{data},$b{data}+$b{bss}); }' 352 bytes in ROM 4 bytes in RAM ba-elf-objcopy --output-target=ihex build/isense/main.exe build/isense/main.ihex writing TOS image [EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null ____________________________________________________________
----- Message d'origine ---- De : Marco Antonio Lopez Trinidad <[EMAIL PROTECTED]> À : mejda chouaieb <[EMAIL PROTECTED]> Envoyé le : Jeudi, 6 Décembre 2007, 15h44mn 10s Objet : Re: [Tinyos-help] Urgent :is there a symbol named _start in tinyos ????!!!!! The problem is in the call to a command named ba-objcopy instead avr-objcopy. I think. ciao, --marco. > Hello, > I'm porting TinyOS to Jennic, and now I can compile the Null application for > my new platform but I still have one error that I can't understand, when I > compile I have : > ___________________________________________________________________________ > $ make isense > mkdir -p build/isense > compiling NullAppC to a isense binary > ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d > -Wnesc-a > ll -target=isense -fnesc-cfile=build/isense/app.c -board= > -DIDENT_PROGRAM_NAME=\ > "NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" > -DIDENT_USER_HA > SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x4756c528L -DIDENT_UID_HASH=0xea638023L -I. > -D > OR1K -g -Os -Wall -fomit-frame-pointer -msibcall -mno-entri -mno-multi > -mno-setc > c -mno-cmov -mno-carry -mno-subb -mno-sext -mno-ror -mno-ff1 -mno-hard-div > -mhar > d-mul -mbranch-cost=3 -msimple-mul -mabi=1 -march=ba1 -mredzone-size=4 > -DPCB_DEV > KIT2 -DEMBEDDED -DLEAN_N_MEAN -DSINGLE_CONTEXT -DCHIP_RELEASE_5131 -Iinclude > -I/ > opt/tinyos-2.x/tos/chips/JN5139R1/Platform/DK2/Include -I./Source > -I/opt/tinyos- > 2.x/tos/chips/JN5139R1/Common/Include > -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/ > JN513xR1/Include -I -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/Common/Include > Nu > llAppC.nc -lm > /ba-elf/bin/../lib/gcc/ba-elf/4.1.2/../../../../ba-elf/bin/ld: warning: > cannot f > ind entry symbol _start; defaulting to 00000000 > compiled NullAppC to build/isense/main.exe > ba-objdump -h build/isense/main.exe | perl -ne '$b{$1}=hex $2 if > /^\s*\d+\s*\.(t > ext|data|bss)\s+(\S+)/; END { printf("%16d bytes in ROM\n%16d bytes in > RAM\n",$b > {text}+$b{data},$b{data}+$b{bss}); }' > ba-objdump: not found > 0 bytes in ROM > 0 bytes in RAM > ba-objcopy --output-target=ihex build/isense/main.exe build/isense/main.ihex > make: ba-objcopy: Command not found > make: *** [ihex] Error 127 > [EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null > _______________________________________________________________________________ > what I want to know is : where is the symbol "_start" defined in tinyos ? > because in my code i didn't define _start !!!!! > Thanks > > > > ____________________________________________________________________________________________ > Yahoo! Mail innove : interface hyper pratique, messenger intégré, couleurs - > http://mail.yahoo.fr > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@Millennium.Berkeley.EDU > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help