Hello,

 

I am using tinyOS 1.x and I am trying to use TOSSIM on tinyOS. I type make
pc in order to build the application. When I type make pc in the Blink app
flooder I get the following message :

$ make pc

mkdir -p build/pc

    compiling Blink to a pc binary

ncc -o build/pc/main.exe -g -O0 -pthread -fnesc-nido-tosnodes=1000
-fnesc-simula

te -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc
-fnesc-cfile=bui

ld/pc/app.c -board=micasb -DIDENT_PROGRAM_NAME=\"Blink\"
-DIDENT_USER_ID=\"10040

2222\" -DIDENT_HOSTNAME=\"DURHAM-8EUA1450\" -DIDENT_USER_HASH=0x50a76792L
-DIDEN

T_UNIX_TIME=0x4e3f7664L -DIDENT_UID_HASH=0xcdbfea92L Blink.nc -lm

In file included from /opt/tinyos-1.x/tos/platform/pc/hardware.h:112,

                 from /opt/tinyos-1.x/tos/system/tos.h:144:

/opt/tinyos-1.x/tos/platform/pc/external_comm.c:37: conflicting types for
`bswap

_64'

/usr/include/byteswap.h:31: previous declaration of `bswap_64'

make: *** [exe0] Error 1

 

Someone may tell me update to tinyOS-2.x, I have to use tinyOS 1.x because I
want to Power Tossim z which is built on tinyOS 1.x only. 

I appreciate any help.

 

John 

 

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

Reply via email to