My guess would be that there is a 'hidden' main() component
that sets the entry address "_start". The tos/system/RealMain.nc
might have something to do with this, but probably something needs
to be defined into the compiler or assembler to tie it all together...
Of course, if your controller's entry address IS 0x0000,
it's might JustWork(TM) as is.
MS
mejda chouaieb wrote:
Hello,
i´m trying to compile the Null application, I type ´make isense´
when I compile because my new platform is called isense
yes when I commit out this line the program is not compiled. what do
you mean by a problem with the software setup?
I didn´t try to compile Blink right now, I want first to compile the
Null application for that platform.
Thanks
----- Message d'origine ----
De : Urs Hunkeler <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : [email protected]
Envoyé le : Vendredi, 14 Décembre 2007, 9h58mn 07s
Objet : Re: [Tinyos-help] linking problems
Hi,
You probably won't get any errors anymore because the program is not
being compiled. I would guess that this line is the single most
important line in the whole Makefile :-)
I don't know the detailed meaning of this line, but the $(LDFLAGS) is
usually the set of flags specific for linking.
Your warning seems to indicate a problem with your software setup. What
is the exact command you use to compile? What application are you
trying
to compile? Do you manage to compile the Null application for the
desired platform? If so, what about Blink?
Cheers,
Urs
mejda chouaieb schrieb:
Hello All,
can someone please expalin to me the meaning of this line and if
something for linking is present here :
$(NCC) -o $(MAIN_EXE) $(OPTFLAGS) $(PFLAGS) $(CFLAGS)
$(WIRING_CHECK_FLAGS) $(COMPONENT).nc $(LIBS) $(LDFLAGS)
because when i copile for my new platform I have a linking error from
the toolchain:
/ba-elf/bin/../lib/gcc/ba-elf/4.1.2/../../../../ba-elf/bin/ld:
warning: cannot find entry symbol _start; defaulting to 00000000
and when I put # in front of this line this warning disappears !!!
Thanks for help
____________________________________________________________________________________________
Yahoo! Mail innove : interface hyper pratique, messenger intégré,
couleurs - http://mail.yahoo.fr
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help