On Mon, Jul 25, 2011 at 4:04 PM, Faisal Aslam <faisal.as...@gmail.com>wrote:

> Hi all,
>
> I will really appreciate your help. I am not new to TinyOS and has been
> using it since many years.
> However I am stunk while trying to install it on a new a new laptop. Here
> are the details.
>
> Synaptic Package Manager under Ubuntu 10.10 gives following error when I
> add TinyOS repository.
>
> "Failed to fetch
> http://hinrg.cs.jhu.edu/tinyos/dists/maverick/main/source/Sources.gz  404
> Not Found
> Some index files failed to download, they have been ignored, or old ones
> used instead."
>

source archives are yet available.  working on it but don't have the staff
to make it happen in a reasonable time frame
(nor has there been a lot of demand for it).

Sorry about that.   Stanford had problems and we tried to back them up at
hinrg.   But didn't get everything right.

Either try switching your apt source string from maverick to lucid   and/or
 try stanford.

deb http://tinyos.stanford.edu/tinyos/dists/ubuntu lucid main

I suspect if you change from

deb http://hinrg.cs.jhu.edu/tinyos/dists maverick main

to

deb http://hinrg.cs.jhu.edu/tinyos/dists lucid main


it might work.   But I don't understand the failure mechanism so can't say
for sure.



>
> I continued my installation ignoring above then apparently everything went
> Okay but I cannot compile Blink. See below
>

hard to say and probably not worth tracking down.   Try changing the pull
strings and see what happens.


I'd say get the source pull followed by package installation and try again.
  Missing inttypes.h is pretty basic and I'm pretty sure for the mica comes
from one of the avr packages from tinyos.

eric


>
> aslam@aslam-Lenovo-G565:/opt/tinyos-2.1.1/apps/Blink$ make mica2
> mkdir -p build/mica2
>     compiling BlinkAppC to a mica2 binary
> ncc -o build/mica2/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow
> -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb
> -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
> -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"aslam\"
> -DIDENT_HOSTNAME=\"aslam-Lenovo-G5\" -DIDENT_USERHASH=0xd2e011d5L
> -DIDENT_TIMESTAMP=0x4e2df51fL -DIDENT_UIDHASH=0x5fdce2caL -fnesc-dump=wiring
> -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
> components)' -fnesc-dumpfile=build/mica2/wiring-check.xml BlinkAppC.nc -lm
> /usr/lib/ncc/nesc_nx.h:16:22: error: inttypes.h: No such file or directory
> /usr/lib/ncc/nesc_nx.h:235: syntax error before `__nesc_ntoh_uint8'
> /usr/lib/ncc/nesc_nx.h:240: syntax error before `__nesc_hton_uint8'
> /usr/lib/ncc/nesc_nx.h:242: warning: type defaults to `int' in declaration
> of `base'
> /usr/lib/ncc/nesc_nx.h:242: `value' undeclared here (not in a function)
> /usr/lib/ncc/nesc_nx.h:242: warning: data definition has no type or storage
> class
> /usr/lib/ncc/nesc_nx.h:243: syntax error before `return'
> /usr/lib/ncc/nesc_nx.h:246: syntax error before `__nesc_ntoh_leuint8'
> /usr/lib/ncc/nesc_nx.h:251: syntax error before `__nesc_hton_leuint8'
> /usr/lib/ncc/nesc_nx.h:253: warning: type defaults to `int' in declaration
> of `base'
> /usr/lib/ncc/nesc_nx.h:253: redefinition of `base'
> /usr/lib/ncc/nesc_nx.h:242: previous declaration of `base'
> /usr/lib/ncc/nesc_nx.h:253: `value' undeclared here (not in a function)
> /usr/lib/ncc/nesc_nx.h:253: warning: data definition has no type or storage
> class
> /usr/lib/ncc/nesc_nx.h:254: syntax error before `return'
> /usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_ntoh_int8'
> /usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_hton_int8'
> /usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_ntoh_leint8'
> /usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_hton_leint8'
> /usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_bf_decode8'
>
>
> Above error is cut short as it continues for a long time. Any hints please?
>
> Thank you,
> Faisal Aslam
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to