hi sangil,
my first observation is that it looks like you're using a tinyos
release, which you should not do for shimmers. instead, please use the
googlecode svn repository, which is actively maintained; tinyos releases
tend to get pretty stale, which obviates the point of open source
development (fix, enhance, update often).
to confirm, i just set my environment to point to this repository,
changed to the printf directory, and make works for each version of shimmer.
shimmers are shipped with an ubuntu distribution on a flash drive
pre-configured with the proper codebase(s) and toolchain set at login.
if you don't have this, you'll have to pull these directly:
svn checkout http://tinyos-main.googlecode.com/svn/trunk/
tinyos-main-read-only
one last thing: if you bought your shimmer recently, then you don't
have a shimmer, you have a shimmer2r. if your shimmer has been around
the department for awhile, the shimmer-research website has info to help
you figure out which version of the device you do have.
i hope that this helps,
steve
On 02/10/2012 11:32 AM, Sangil Choi wrote:
Hi All,
I have tried to test Print program in apps/tutorials/Printf, but I
always have the following error message:
/
/
/schoi06@ubuntu:/opt/tinyos-2.1.1/apps/tutorials/Printf$ make shimmer
install bsl,/dev/ttyUSB0/
/mkdir -p build/shimmer/
/ compiling TestPrintfAppC to a shimmer binary/
/ncc -o build/shimmer/main.exe -Os -O -fnesc-separator=__ -Wall
-Wshadow -Wnesc-all -target=shimmer -fnesc-cfile=build/shimmer/app.c
-board= -DDEFINED_TOS_AM_GROUP=0x22 -I/opt/tinyos-2.1.1/tos/lib/printf
-DIDENT_APPNAME=\"TestPrintfAppC\" -DIDENT_USERNAME=\"schoi06\"
-DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x8e7ffd48L
-DIDENT_TIMESTAMP=0x4f354404L -DIDENT_UIDHASH=0x6acd1901L
TestPrintfAppC.nc -lm /
/In component `MainC':/
//opt/tinyos-2.1.1/tos/lib/printf/MainC.nc:55: cannot find `MainBoot'/
//opt/tinyos-2.1.1/tos/lib/printf/MainC.nc:59: no match/
/make: *** [exe0] Error 1/
I do not know why this problem happens.
Please let me know a proper solution!
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
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