Hi,
I am using kubuntu trying to compile anything for pc platform for simulation
purposes, the following error is obtained.
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-simulate -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc
-fnesc-cfile=build/pc/app.c -board=micasb -DIDENT_PROGRAM_NAME=\"Blink\"
-DIDENT_USER_ID=\"umar\" -DIDENT_HOSTNAME=\"umar-laptop\"
-DIDENT_USER_HASH=0x29948730L -DIDENT_UNIX_TIME=0x45855122L
-DIDENT_UID_HASH=0x7578c0ecL Blink.nc -lm
In file included from /opt/tinyos-1.x/tos/platform/pc/event_queue.h:61,
from /opt/tinyos-1.x/tos/platform/pc/nido.h:77,
from /opt/tinyos-1.x/tos/platform/pc/hardware.h:43,
from /opt/tinyos-1.x/tos/system/tos.h:144:
/usr/include/pthread.h:499: requested alignment is not a constant
make: *** [exe0] Error 1
The same error comes for any app trying to compile for pc..
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help