Which platform are you working? I am using Windows XP + Cygwin.

I think other people may be more helpful than me.

Ittipong

On 23/04/2008, Chao Sun <[EMAIL PROTECTED]> wrote:
>
> Ittipong Khemapech wrote:
>
> > As I have been away from TOSSIM 1 for several months, I think you should
> > try:
> >
> > COMPONENT=Blink
> > PFLAGS += -I%T/platform/pc/CC1000Radio
> > include ../Makerules
> >
> > Hope this helps.
> >
> > Ittipong
> >
> > On 23/04/2008, *Chao Sun* <[EMAIL PROTECTED] <mailto:
> > [EMAIL PROTECTED]>> wrote:
> >
> >    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]>
> >        <mailto:[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]>
> >           <mailto:[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
> >
> >
> >  I have tried but it seems doesn't work. The same problem still happens.
> However, while I tested it under Windows (Cygwin), the program compiles
> works well.
> I don't know if i have missed anything...
> Thanks.
>
> Chao
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to