[Tinyos-help] error making Blink application

Calvin Bebermeyer calvinb at pvcomputersystems.com
Tue Apr 8 21:41:45 PDT 2008


Unfortunately, I have had troubles getting TinyOS 2 to correctly run.

I am getting this error:

mkdir -p build/micaz

compiling BlinkAppC to a micaz binary

ncc -o 
build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow -Wnesc-all -target=micaz 
 -fnesc-cfile=build/micaz/app.c -board=micasb -DIDENT_PROGRAM_NAME=\"BlinkAppC\" 
 -DIDENT_USER_ID=\"calvin\" -DIDENT_HOSTNAME=\"amd64\" -DIDENT_USER_HASH=0x5dd41d5bL 
 -DIDENT_UNIX_TIME=0x47fc474cL -DIDENT_UID_HASH=0xf3703cd8L -fnesc-dump=wiring 
 -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm

In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:41:

In component `McuSleepC':

/opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc: In function `McuSleep.sleep':

/opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc:102: implicit declaration of 
function `pgm_read_byte'

make: *** [exe0] Error 1



I have found some reference to an include problem referring to pgmspace.h 
being able to fix this problem but I am not certain how to "include" this 
file into the program.



thanks for your assistance,

Calvin







More information about the Tinyos-help mailing list