hi sangil,

you're not using a tinyos release, are you?

you should be running code from the googlecode svn repository. release code is waaay old and crufty.

secondly, did you run

make shimmer2r

on the build line? only earlier shimmer revs will point to the long-ago replaced mma7260...

finally, you should take a peek in the shimmer user manual; lots of good instructions in there.

i hope that this helps,

steve

On 01/31/2012 03:36 PM, Sangil Choi wrote:
Hi All,

I tried to compile SimpleAccel application on my Ubuntu machine.
But I have two errors. The error message is like this:

/*In component `AccelC':
/opt/tinyos-2.1.1/tos/platforms/shimmer/chips/mma7260/AccelC.nc:45: no match
In file included from
/opt/tinyos-2.1.1/tos/platforms/shimmer/shimmerAnalogSetupC.nc:43,
                  from SimpleAccelAppC.nc:64:
In component `shimmerAnalogSetupP':
/opt/tinyos-2.1.1/tos/platforms/shimmer/shimmerAnalogSetupP.nc: In
function `shimmerAnalogSetup.addAccelInputs':
/opt/tinyos-2.1.1/tos/platforms/shimmer/shimmerAnalogSetupP.nc:68:
implicit declaration of function `TOSH_MAKE_ADC_5_INPUT'
/opt/tinyos-2.1.1/tos/platforms/shimmer/shimmerAnalogSetupP.nc:69:
implicit declaration of function `TOSH_SEL_ADC_5_MODFUNC'
/opt/tinyos-2.1.1/tos/platforms/shimmer/shimmerAnalogSetupP.nc:71:
implicit declaration of function `TOSH_MAKE_ADC_4_INPUT'
/opt/tinyos-2.1.1/tos/platforms/shimmer/shimmerAnalogSetupP.nc:72:
implicit declaration of function `TOSH_SEL_ADC_4_MODFUNC'
/opt/tinyos-2.1.1/tos/platforms/shimmer/shimmerAnalogSetupP.nc:74:
implicit declaration of function `TOSH_MAKE_ADC_3_INPUT'
/opt/tinyos-2.1.1/tos/platforms/shimmer/shimmerAnalogSetupP.nc:75:
implicit declaration of function `TOSH_SEL_ADC_3_MODFUNC'
make: *** [exe0] Error 1*/

Please help me out!

Thanks!

Sangil


--
Sangil Choi
Ph.D. Student
Department of Computer Science
College of Information Science & Technology
University of Nebraska at Omaha
Office: PKI 360
Phone: 402-554-3321 <tel:402-554-3321>
Email:s <mailto:[email protected]>[email protected]
<mailto:[email protected]> / [email protected]
<mailto:[email protected]>




_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users
_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users

Reply via email to