Hi,

I have one problem that I can successfully compile simpleAccel under
folder apps in tiny-2.x-contrib

I did the following steps:

1. I opened liveCD and entered tiny2
2.cvs new tinyos2 main three and cvs tiny-2.x-contrib
3. compile it by typing make shimmer2


The error is showed below:

tiny2@tinyVM:~/tinyos-2.x-contrib/shimmer/apps$ ls
AccelECG  AccelGyro  BoilerPlate  CVS  GpsSleep  GyroMag
HostTimeLogging  JustFATLogging  SimpleAccel  SimpleAccelGyro
SimpleGSR
tiny2@tinyVM:~/tinyos-2.x-contrib/shimmer/apps$ cd
tiny2@tinyVM:~$ cd tinyos-2.x-contrib/shimmer/apps/SimpleAccel
tiny2@tinyVM:~/tinyos-2.x-contrib/shimmer/apps/SimpleAccel$ ls
build  CVS  Makefile  SimpleAccelAppC.nc  SimpleAccelC.nc  simpleAccel.py
tiny2@tinyVM:~/tinyos-2.x-contrib/shimmer/apps/SimpleAccel$ make shimmer2
mkdir -p build/shimmer2
    compiling SimpleAccelAppC to a shimmer2 binary
ncc -o build/shimmer2/main.exe  -Os -O -mdisable-hwmul
-fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=shimmer2
-fnesc-cfile=build/shimmer2/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22
-DIDENT_APPNAME=\"SimpleAccelAppC\" -DIDENT_USERNAME=\"tiny2\"
-DIDENT_HOSTNAME=\"tinyVM\" -DIDENT_USERHASH=0x0550d87fL
-DIDENT_TIMESTAMP=0x4fab7d53L -DIDENT_UIDHASH=0x66d1f17dL
SimpleAccelAppC.nc -lm
In file included from SimpleAccelAppC.nc:44:
In component `SimpleAccelC':
SimpleAccelC.nc: In function `init':
SimpleAccelC.nc:78: implicit declaration of function `TOSH_SET_PWRMUX_SEL_PIN'
SimpleAccelC.nc:81: too many arguments to function
`shimmerAnalogSetup.addAnExInput'
In file included from
/home/tiny2/tinyos-2.x/tos/platforms/shimmer/shimmerAnalogSetupC.nc:43,
                 from SimpleAccelAppC.nc:64:
In component `shimmerAnalogSetupP':
/home/tiny2/tinyos-2.x/tos/platforms/shimmer/shimmerAnalogSetupP.nc:
In function `Init.init':
/home/tiny2/tinyos-2.x/tos/platforms/shimmer/shimmerAnalogSetupP.nc:180:
warning: decimal constant is so large that it is unsigned
make: *** [exe0] Error 1
tiny2@tinyVM:~/tinyos-2.x-contrib/shimmer/apps/SimpleAccel$





Can someone helps with that
Thanks in advance

-- 

Best Regards

Yuefan Chen
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to