After I sent this email, I located the information in the archives that I 
needed to fix this error.  While Cygwin was not very cooperative, I finally was 
able to remove the old TinyOS tools then use the "--ignoreos" option to force 
the newer versions of these tools onto the system.

The following is taken from the archive:
> rpms:
>         avr-binutils-2.13.2.1-1
>         avr-gcc-3.3tinyos-1
>         avarice-2.0.20030825cvs-1
>         avr-insight-pre6.0cvs.tinyos-1.3

These are the old TinyOS tools.

>         avr-binutils-2.15tinyos-3
>         avr-gcc-3.4.3-1
>         avr-libc-1.2.3-1
>         avr-insight-6.3-1
>         avarice-2.4-1

These are the new TinyOS tools.

... thank you David for this information.

Calvin Bebermeyer
[EMAIL PROTECTED]
----- Original Message ----- 
From: Calvin Bebermeyer 
To: [email protected] 
Sent: Tuesday, April 08, 2008 11:41 PM
Subject: [Tinyos-help] error making Blink application


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





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

Reply via email to