Thanks Eric.
You have no idea how long I have been struggling with it. now I manage to
install without any issues.
But I still can make even the simple make file I get a load of errors.
I have copied just the first few lines.
I still get some errors from the command
make all make install
But the document says that will happen. Is it my previous attempts to install
causing me all this problems.
Regards,
Shamali
mkdir -p build/micaz
compiling BlinkAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -fnesc-separator=__ -Wall -Wshadow -Wnesc-all
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"shamali\"
-DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xbf63327dL
-DIDENT_TIMESTAMP=0x4e362b91L -DIDENT_UIDHASH=0xf234bcfaL -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/micaz/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'
/usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: syntax error before `if'
/usr/lib/ncc/nesc_nx.h:258: warning: type defaults to `int' in declaration of
`x'
/usr/lib/ncc/nesc_nx.h:258: `uint8_t' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: `msg' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:258: `length' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: warning: data definition has no type or storage
class
/usr/lib/ncc/nesc_nx.h:258: syntax error before `++'
/usr/lib/ncc/nesc_nx.h:258: syntax error before `|='
/usr/lib/ncc/nesc_nx.h:258: syntax error before `*'
/usr/lib/ncc/nesc_nx.h: In function `__nesc_bf_encode8':
/usr/lib/ncc/nesc_nx.h:258: warning: declaration of `byte_offset' shadows
global declaration
/usr/lib/ncc/nesc_nx.h:258: warning: location of shadowed declaration
/usr/lib/ncc/nesc_nx.h:258: `offset' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:258: (Each undeclared identifier is reported only once
/usr/lib/ncc/nesc_nx.h:258: for each fu
________________________________
From: Eric Decker <[email protected]>
To: Shamali Gunawardena <[email protected]>
Cc: Romain Bornet <[email protected]>; TinyOS
<[email protected]>
Sent: Saturday, July 30, 2011 3:20 PM
Subject: Re: [Tinyos-help] tinyos instation fail
The tinyos tools repositories (Stanford is the primary, HINRG at John Hopkins
is the backup) host tool debian archives that are the same across the different
Debian/Ubuntu distributions.
However only up through lucid have been configured in. So instead of natty,
specifiy lucid.
eric
On Fri, Jul 29, 2011 at 3:51 AM, Shamali Gunawardena <[email protected]> wrote:
>
>Hi, thanks for the reply. yes you are right. I was using the jaunty version.
>but changing that didn't help.
>
>
>so what I did was put a new installation of the latest ubuntu natty version
>(11.04)
>
>
>
>
>so when I put deb http://hinrg.cs.jhu.edu/tinyos natty main
>I still get the same problem.Err http://hinrg.cs.jhu.edu natty/main Sources
> 404 Not Found
>But the only difference is I am allowed to ignore this and continue.
>The rest is Ok without much incidence.
>
>
>But when I compile Blink I get loads of errors and warning.
>
>
>
>any suggestions.
>thanks &Regards
>
>
>
>
>
>
>Ign http://security.ubuntu.com natty-security InRelease
>Hit http://security.ubuntu.com natty-security Release.gpg
>Ign http://hinrg.cs.jhu.edu natty InRelease
>Ign http://us.archive.ubuntu.com natty InRelease
>Ign http://us.archive.ubuntu.com natty-updates InRelease
>Hit http://security.ubuntu.com natty-security Release
>Ign http://hinrg.cs.jhu.edu natty Release.gpg
>Hit http://us.archive.ubuntu.com natty Release.gpg
>Hit http://security.ubuntu.com natty-security/main Sources
>Hit http://security.ubuntu.com natty-security/restricted Sources
>Hit http://security.ubuntu.com natty-security/universe Sources
>Hit http://security.ubuntu.com natty-security/multiverse Sources
>Hit http://security.ubuntu.com natty-security/main i386 Packages
>Hit http://security.ubuntu.com natty-security/restricted i386 Packages
>Hit http://hinrg.cs.jhu.edu natty Release
>Hit http://us.archive.ubuntu.com natty-updates Release.gpg
>Hit http://security.ubuntu.com natty-security/universe i386 Packages
>Hit http://security.ubuntu.com natty-security/multiverse i386 Packages
>Ign http://security.ubuntu.com natty-security/main TranslationIndex
>Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
>Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
>Ign http://security.ubuntu.com natty-security/universe TranslationIndex
>Hit http://us.archive.ubuntu.com natty Release
>Hit http://us.archive.ubuntu.com natty-updates Release
>Hit http://us.archive.ubuntu.com natty/main Sources
>Hit http://us.archive.ubuntu.com natty/restricted Sources
>Hit http://us.archive.ubuntu.com natty/universe Sources
>Hit http://us.archive.ubuntu.com natty/multiverse Sources
>Hit http://us.archive.ubuntu.com natty/main i386 Packages
>Hit http://us.archive.ubuntu.com natty/restricted i386 Packages
>Hit http://us.archive.ubuntu.com natty/universe i386 Packages
>Hit http://us.archive.ubuntu.com natty/multiverse i386 Packages
>Ign http://us.archive.ubuntu.com natty/main TranslationIndex
>Ign http://us.archive.ubuntu.com natty/multiverse TranslationIndex
>Ign http://us.archive.ubuntu.com natty/restricted TranslationIndex
>Ign http://us.archive.ubuntu.com natty/universe TranslationIndex
>Hit http://us.archive.ubuntu.com natty-updates/main Sources
>Hit http://us.archive.ubuntu.com natty-updates/restricted Sources
>Hit http://us.archive.ubuntu.com natty-updates/universe Sources
>Hit http://us.archive.ubuntu.com natty-updates/multiverse Sources
>Hit http://us.archive.ubuntu.com natty-updates/main i386 Packages
>Hit http://us.archive.ubuntu.com natty-updates/restricted i386 Packages
>Hit http://us.archive.ubuntu.com natty-updates/universe i386 Packages
>Hit http://us.archive.ubuntu.com natty-updates/multiverse i386 Packages
>Ign http://hinrg.cs.jhu.edu natty/main i386 Packages/DiffIndex
>Ign http://hinrg.cs.jhu.edu natty/main TranslationIndex
>Ign http://us.archive.ubuntu.com natty-updates/main TranslationIndex
>Ign http://us.archive.ubuntu.com natty-updates/multiverse TranslationIndex
>Ign http://us.archive.ubuntu.com natty-updates/restricted TranslationIndex
>Ign http://us.archive.ubuntu.com natty-updates/universe TranslationIndex
>Ign http://security.ubuntu.com natty-security/main Translation-en_US
>Ign http://security.ubuntu.com natty-security/main Translation-en
>Ign http://security.ubuntu.com natty-security/multiverse Translation-en_US
>Ign http://security.ubuntu.com natty-security/multiverse Translation-en
>Ign http://security.ubuntu.com natty-security/restricted Translation-en_US
>Ign http://security.ubuntu.com natty-security/restricted Translation-en
>Ign http://security.ubuntu.com natty-security/universe Translation-en_US
>Ign http://security.ubuntu.com natty-security/universe Translation-en
>Err http://hinrg.cs.jhu.edu natty/main Sources
> 404 Not Found
>Hit http://hinrg.cs.jhu.edu natty/main i386 Packages
>Ign http://hinrg.cs.jhu.edu natty/main Translation-en_US
>Ign http://hinrg.cs.jhu.edu natty/main Translation-en
>Ign http://us.archive.ubuntu.com natty/main Translation-en_US
>Ign http://us.archive.ubuntu.com natty/main Translation-en
>Ign http://us.archive.ubuntu.com natty/multiverse Translation-en_US
>Ign http://us.archive.ubuntu.com natty/multiverse Translation-en
>Ign http://us.archive.ubuntu.com natty/restricted Translation-en_US
>Ign http://us.archive.ubuntu.com natty/restricted Translation-en
>Ign http://us.archive.ubuntu.com natty/universe Translation-en_US
>Ign http://us.archive.ubuntu.com natty/universe Translation-en
>Ign http://us.archive.ubuntu.com natty-updates/main Translation-en_US
>Ign http://us.archive.ubuntu.com natty-updates/main Translation-en
>Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en_US
>Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en
>Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en_US
>Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en
>Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en_US
>Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en
>W: Failed to fetch
>http://hinrg.cs.jhu.edu/tinyos/dists/natty/main/source/Sources 404 Not Found
>
>E: Some index files failed to download. They have been ignored, or old ones
>used instead.
>
>
>
>
>
>
>________________________________
>From: Romain Bornet <[email protected]>
>To: Shamali Gunawardena <[email protected]>
>Cc: TinyOS <[email protected]>
>Sent: Wednesday, July 27, 2011 9:13 AM
>Subject: Re: [Tinyos-help] tinyos instation fail
>
>Hi,
>
>Given your short description I think that your problem is not related
>to the TinyOS repository but to some weird package repository sources
>in your sources.list...
>
>First, from your error messages, it seems you are running Ubuntu 9.04
>(jaunty) so you should set "deb http://hinrg.cs.jhu.edu/tinyos jaunty
>main" in your sources.list and not the one for karmic (Ubuntu 9.10).
>It is probably not an issue but it's always better to point to the
>correct package repositories when they exist.
>
>Second you have repositories in your sources.list for which there are
>no packages for jaunty (http://mv.archive.ubuntu.com
>jaunty-updates/restricted).
>
>You should update your repositories to valid links. The easiest way to
>do this is through Synaptic Package Manager GUI in "Settings >
>Repositories".
>
>Hope this helps,
> Romain
>
>On Wed, Jul 27, 2011 at 12:18 PM, Shamali Gunawardena
><[email protected]> wrote:
>>
>> Hi all,
>>
>>
>> I am trying to
install tiny os through SVN/GIT
>>
>> after including in the source.list file
>> deb http://hinrg.cs.jhu.edu/tinyos karmic main
>>
>> runt apt-get-update
>>
>> This is ok for the first 98%
>>
>> Then a load of errors.
>>
>> the error list starts at
>>
>> Ign http://mv.archive.ubuntu.com jaunty-updates/restricted Packages
>> Err http://security.ubuntu.com jaunty-security/main Packages
>> 404 Not Found
>>
>>
>> and just goes on.
>>
>> how can I sort this
>> out.
>>
>> Regards,
>>
>>
>>
>>
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
>_______________________________________________
>Tinyos-help mailing list
>[email protected]
>https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
--
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help