[Tinyos-help] compile error!
Faisal Aslam
aslam at informatik.uni-freiburg.de
Thu Oct 18 03:52:46 PDT 2007
You should do following two things.
1) Check your path setting. It includes TOSROOT, TODIR, MAKERULES etc.
They should be as described in
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html
2) Try to "make" more than once. It is strange but sometime it works. I
also get lots of errors at first make, however if I "make" three times
then those errors goes away.
best regards,
Faisal
Bo Xu wrote:
> Dear all:
>
> I compiled a file using command "make mica2" , but I have got the
> following mistake:
>
> Do you have any idea how to solve the problem?
>
> dell at DDXJ3N51 /cygdrive/c/cygwin/opt/tinyos-1.x/contrib/xbow/apps/TOSBase
> $ make mica2
> mkdir -p build/mica2
> compiling TOSBase to a mica2 binary
> ncc -o build/mica2/main.exe -Os
> -I%T/../contrib/xbow/tos/platform/mica2
> -I%T/../contrib/xbow/tos/AXStack/mica2 -DCC1K_DEF_FREQ=916700000
> -finline-limit=100000 -Wall -Wshado
> all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb
> -DCC1K_DEFAULT_FREQ=CC1K_915_998_MHZ -DRADIO_XMIT_POWER=0xFF
> -I%T/lib/Deluge TOSBase.nc -lm
> C:/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc: In
> function `StdControl.init':
> C:/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:208:
> `CC1K_LPL_SquelchInit' undeclared (first use in this function)
> C:/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:208:
> (Each undeclared identifier is reported only once
> C:/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:208:
> for each function it appears in.)
> C:/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:208:
> subscripted value is neither array nor pointer
> C:/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc: In
> function `SpiByteFifo.dataReady':
> C:/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:547:
> `CC1K_LPL_ValidPrecursor' undeclared (first use in this function)
> C:/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:547:
> subscripted value is neither array nor pointer
> C:/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:582:
> `CC1K_LPL_SquelchInit' undeclared (first use in this function)
> C:/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:582:
> subscripted value is neither array nor pointer
> C:/cygwin/opt/tinyos-1.x/tos/system/ADCM.nc: At top level:
> C:/cygwin/opt/tinyos-1.x/tos/system/ADCM.nc:60:
> `ADCControl.autoCalibrate' not implemented
> C:/cygwin/opt/tinyos-1.x/tos/system/ADCM.nc:60:
> `ADCControl.manualCalibrate' not implemented
> make: *** [exe0] Error 1
>
> Thanks a lot!
>
> Have a nice day!
>
> Regards,
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list