This is really really basic. Have you read the tutorials? If not you should start there.
Take a look at the application Blink and how that app is structured... apps/Blink You should be able to figure out what is going on from there. You should be in the top level app directory for SkelApp. In this directory you should see SkelAppC.nc along with Makefile. Makefile needs to reference SkelAppC as being the COMPONENT. On Fri, Feb 3, 2012 at 12:39 AM, A_hinz <[email protected]> wrote: > hi, > Im using Ubuntu Synaptic Package Manager to install Tinyos 2.1.1. But when > i try to compile some code, i got the following error: > > ubuntu@ubuntu:~/Desktop$ make mica2 > mkdir -p build/mica2 > compiling SkelAppC to a mica2 binary > ncc -o build/mica2/main.exe -Os -fnesc-separator=__ -Wall -Wshadow > -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb > -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 > -DIDENT_APPNAME=\"SkelAppC\" -DIDENT_USERNAME=\"ubuntu\" > -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xf67b89f7L > -DIDENT_TIMESTAMP=0x4f2b9c07L -DIDENT_UIDHASH=0x03331d43L > -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' > -fnesc-dump='referenced(interfacedefs, components)' > -fnesc-dumpfile=build/mica2/wiring-check.xml SkelAppC.nc -lm > avr-gcc: SkelAppC.nc: No such file or directory > make: *** [exe0] Error 1 > > > can anyone help me please. > Thanks. > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
