Ittipong Khemapech wrote:
> It should be useful if you show what the Makefile says.
>
> Ittipong
>
> On 22/04/2008, *Chao Sun* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Hi all,
>
>     While using the command "make pc" to compile Blink in tinyos-1.x,  I
>     received a error message like this
>
>     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=\"sunchao\"
>     -DIDENT_HOSTNAME=\"sunchao-desktop\" -DIDENT_USER_HASH=0x36f9f83cL
>     -DIDENT_UNIX_TIME=0x480d511eL -DIDENT_UID_HASH=0x6f5b9387L
>     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:500: requested alignment is not a constant
>     make: *** [exe0] Error 1
>
>     Could anyone explain this? Thanks.
>
>     Chao
>     _______________________________________________
>     Tinyos-help mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
Do you mean Makefile of Blink?

It's very simple:

COMPONENT=Blink
include ../Makerules

Thanks.

Chao

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

Reply via email to