[Tinyos-help] I get the error message like this :undefined
reference to `main'
Pablo Gil Montaño
pgilmon at yahoo.es
Wed Dec 13 00:59:52 PST 2006
Does it work with other apps? Try SurgeTelos in tinyos-1.x/apps
By the way, I see that you include libraries in tinyos-1.x/tos/lib/Route and tinyos-1.x/tos/lib/Queue. You're probably using component MultiHop (and MultiHop uses QueueSend). I think that for Telos you can use LQIMultiHopRouter instead of MultiHop (LQIMultiHopRouter is in tinyos-1.x/tos/lib/MultiHopLQI). I'm telling you this because I have not been able to make LQIMultiHopRouter work in mica, perhaps MultiHop doesn't work in telos either...
----- Mensaje original ----
De: 蒋伟 <demowolf.jiang at gmail.com>
Para: Tinyos-help at Millennium.Berkeley.EDU
Enviado: miércoles, 13 de diciembre, 2006 5:53:49
Asunto: [Tinyos-help] I get the error message like this :undefined reference to `main'
Hi:
everyone, i compile one modified MICA2 program to Telosb platform to use it.
But when i compile it ,i get the error message like this:
If there is someone could help ,i will appreciate that very much.
Thank you ,everyone.
***************************************************************
$ make telosb
mkdir -p build/telosb
compiling Rtp to a telosb binary
ncc -o build/telosb/main.exe -O -I%T/lib/Route -I%T/lib/Queue -I%T/lib/Broadcast
-Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=b
uild/telosb/app.c -board=telosb -I%T/lib/Deluge -Wl,--section-start=.text=0x4800
,--defsym=_reset_vector__=0x4000 -DIDENT_PROGRAM_NAME=\"Rtp\" -DIDENT_USER_ID=\"
demowolf\" -DIDENT_HOSTNAME=\"jiangwei\" -DIDENT_USER_HASH=0x343d49acL -DIDENT_U
NIX_TIME=0x457f8510L -DIDENT_UID_HASH=0x5c92647cL -mdisable-hwmul -I/opt/tinyos-
1.x/tos/lib/CC2420Radio Rtp.nc -lm
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:116: w
arning: `Send.sendDone' called asynchronously from `sendFailed'
/usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/msp2/libgcc.a(_reset_vector__.o)(.ini
t+0x38): In function `_reset_vector__':
/home/Cory/tinyos/tinyos- 1.x/tools/src/mspgcc/build/gcc-3.2.3/gcc/config/msp430/
libgcc.S: undefined reference to `main'
make: *** [exe0] Error 1
********************************************************************
--
Jiang Wei
_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061213/7b3639d1/attachment-0001.htm
More information about the Tinyos-help
mailing list