Hi Eric and ...errordeveloper,

I was just compiling Blink with "make telosb" command. I had never had
this problem before, I think some files were probably overwritten by
system updates.

I've resolved this problem by adding the following 2 lines in file:
/opt/tinyos-2.1.1/support/make/msp/msp.rules

CFLAGS += -I/usr/msp430/include
CFLAGS += -I/usr/lib/gcc-lib/msp430/3.2.3/include

Just before

OBJCOPY = msp430-objcopy
OBJDUMP = msp430-objdump

I found this solution on Google. The author of the original message said
that the compiler is supposed to find the .h files automatically, but he
doesn't understand why it doesn't. There may be another solution more
"pretty".

Best regards.

> ------------------------------
>
> Message: 1
> Date: Sat, 19 Feb 2011 23:27:30 +0000
> From: [email protected]
> Subject: Re: [Tinyos-help] A lot of syntax errors when compile Blink
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
>> /usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or
>> directory
>> /usr/lib/ncc/nesc_nx.h:14:26: error: sys/inttypes.h: No such file or
>> directory
>
> This is certainly a host package issue.
> These two headerfiles come with linux-headers and gcc.
>
> ------------------------------
>
> Message: 4
> Date: Sat, 19 Feb 2011 16:40:53 -0800
> From: Eric Decker <[email protected]>
> Subject: Re: [Tinyos-help] A lot of syntax errors when compile Blink
> To: [email protected]
> Cc: [email protected]
> Message-ID:
>       <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On my 10.04 Linux system, I find inttypes.h as /usr/include/inttypes.h
> not
> /usr/include/sys/inttypes.h.
>
> What exactly are you trying to do and what version are you doing it with?
>
> eric
>
> On Sat, Feb 19, 2011 at 3:27 PM, <[email protected]> wrote:
>
>> Hi,
>>
>> > /usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or
>> directory
>> > /usr/lib/ncc/nesc_nx.h:14:26: error: sys/inttypes.h: No such file or
>> directory
>>
>> This is certainly a host package issue.
>> These two headerfiles come with linux-headers and gcc.
>>
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
> --
> Eric B. Decker
> Senior (over 50 :-) Researcher
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110219/a5a7bbc0/attachment-0001.htm
>

-- 
Yanbo SHOU
Doctorant du LIFC équipe CARTOON
Bureau 420C
16 route de Gray
25 000 Besançon

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

Reply via email to