[Tinyos-help] I get the error message like this :undefined
reference to `main'
蒋伟
demowolf.jiang at gmail.com
Tue Dec 12 20:53:49 PST 2006
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 <http://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061213/d2ba2d35/attachment.html
More information about the Tinyos-help
mailing list