try using this option to rpm:
--nodeps don't verify package dependencies
Also I have been quite successful at copying an entire working cygwin
(with TOStools) from one machine to another. Always with the same root
dir in my case, though I don't know if it matters. There are two
Windows registry entries for CYGNUS, but if you have already installed
on the machine they should be set.
MS
Adam wrote:
Michael,
Thanks a lot for trying to help. I tried to copy the avr directory from
another working computer, still does not solve this problem.
Then, I tried to re-install tinyos-tools-1.x, it will complaint as
following:
Adam@/opt>rpm --ignoreos --force -Uvh tinyos-tools-1.1.0-1.i386.rpm
error: Failed dependencies:
/usr/bin/perl is needed by tinyos-tools-1.1.0-1
libc.so.6 is needed by tinyos-tools-1.1.0-1
libc.so.6(GLIBC_2.0) is needed by tinyos-tools-1.1.0-1
libc.so.6(GLIBC_2.1) is needed by tinyos-tools-1.1.0-1
libc.so.6(GLIBC_2.1.3) is needed by tinyos-tools-1.1.0-1
libgcc_s.so.1 is needed by tinyos-tools-1.1.0-1
libgcc_s.so.1(GCC_3.0) is needed by tinyos-tools-1.1.0-1
libm.so.6 is needed by tinyos-tools-1.1.0-1
libstdc++.so.5 is needed by tinyos-tools-1.1.0-1
libstdc++.so.5(CXXABI_1.2) is needed by tinyos-tools-1.1.0-1
libstdc++.so.5(GLIBCPP_3.2) is needed by tinyos-tools-1.1.0-1
perl(strict) is needed by tinyos-tools-1.1.0-1
tinyos-tools >= 1.2.2 is needed by (installed) tinyos-2.0.0beta2-3
On 10/28/06, *Michael Schippling* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
This has now officially gone way beyond my expertise, if any...
Since those seem to be assembler errors (err...what happened to the
"missing dependencies libxxx.o files" errors you mentioned...?),
and the telos uses a different assembler, I'd still guess that
your avr tools are not entirely there, there. Perhaps your path
is not set correctly? I don't know what the difference between
T1 and T2 is vis the tools, or anything else actually.
You could try adding a "-v" to the nesc line and see if it
has anything to say about what it's doing.
I do remember seeing reports of similar error messages in the
help list, so I hope someone has figured it out and will answer...
MS
Adam wrote:
> Michael,
>
> Thank you. Here is the problem:
>
> I can compile 1.x application with "make telosb", but not "make
micaz"
> -- show following errors (how to correct it):
>
> /opt/tinyos-1.x/tos/platform/micaz/HPLCC2420InterruptM.nc:161:
warning:
> `CCATime
> r.start' called asynchronously from `CCA.startWait'
> /opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:116: warning:
> `Send.sendDone
> ' called asynchronously from `sendFailed'
> /cygdrive/c/DOCUME~1/Adam/LOCALS~1/Temp/ccjujniv.s: Assembler
messages:
> /cygdrive/c/DOCUME~1/Adam/LOCALS~1/Temp/ccjujniv.s:292: Error:
unknown
> opcode
> `state'
> /cygdrive/c/DOCUME~1/Adam/LOCALS~1/Temp/ccjujniv.s:293: Error:
unknown
> opcode
> `state'
> /cygdrive/c/DOCUME~1/Adam/LOCALS~1/Temp/ccjujniv.s:295: Error:
> unrecognized s
> ymbol type ""
> /cygdrive/c/DOCUME~1/Adam/LOCALS~1/Temp/ccjujniv.s:295: Error:
unknown
> opcode
> `state'
> /cygdrive/c/DOCUME~1/Adam/LOCALS~1/Temp/ccjujniv.s:296: Error:
expected
> comma
> after name `CC2420ControlM' in .size directive
>
> There are about 100 lines like this - omit here to save space...
>
>
>
>
>
>
> On 10/27/06, *Michael Schippling* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
>
> Better send the actual commands and errors...
> I don't know what the "it" that is complaining is.
> MS
>
>
> Adam wrote:
> > I tried to reinstall all avr related tools as in
> > http://www.tinyos.net/tinyos-1.x/doc/install.html
> >
> > It does not solve this problem, it will complain saying
missing
> > dependencies libxxx.o files.
> >
> >
> > On 10/27/06, *Michael Schippling* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>> wrote:
> >
> > I just suffered through a mostly pointless reload of
cygwin
> > done in a misguided attempt to get gcc working for a
little
> > JNI foo...anyway, I got all the avr rpms from under here:
> > http://www.tinyos.net/download.html
> > If you look at the manual install instructions you should
> > be able to muddle through.
> >
> > MS
> >
> >
> > Adam wrote:
> > > Daniele,
> > >
> > > How do you fix the problem? I meet the same problem
as you.
> > >
> > >
> > >
> > >
> > > On 10/17/06, *Daniele Munaretto* <
> [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
> > <mailto: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>>
> > > <mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
> > <mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>>>> wrote:
> > >
> > > Hi Michael,
> > > I've found the problem right in usr/local folder.
> > > It's strange but the sub-folders avr, lib,
include, info,
> > share and bin
> > > in tinyos-1.x (from a pc which runs only
tinyos-1.x) are
> > different than
> > > the tinyos-2.x's ones (for example avr folder
is empty
> here).
> > > So to switch correctly from one to other version, i
> need not
> > only to
> > > change PATHS, but also these sub-folders..quite
> annoying but it
> > > works fine!
> > >
> > > If you have any ideas about this, it will be really
> appreciated
> > > However many thanks Michael!
> > > Daniele
> > >
> > >
> > > Michael Schippling wrote:
> > > > The functions in question are defined in the
AVR
> header files,
> > > not TOS.
> > > > You may have messed up the access to
/usr/local/avr
> > somehow. Or does
> > > > T2 use a different AVR version?
> > > > MS
> > > >
> > > >
> > >
> > > _______________________________________________
> > > Tinyos-help mailing list
> > > Tinyos-help@Millennium.Berkeley.EDU
<mailto:Tinyos-help@Millennium.Berkeley.EDU>
> <mailto: Tinyos-help@Millennium.Berkeley.EDU
<mailto:Tinyos-help@Millennium.Berkeley.EDU>>
> > <mailto:Tinyos-help@Millennium.Berkeley.EDU
<mailto:Tinyos-help@Millennium.Berkeley.EDU>
> <mailto: Tinyos-help@Millennium.Berkeley.EDU
<mailto:Tinyos-help@Millennium.Berkeley.EDU>>>
> > > <mailto: Tinyos-help@Millennium.Berkeley.EDU
<mailto:Tinyos-help@Millennium.Berkeley.EDU>
> <mailto: Tinyos-help@Millennium.Berkeley.EDU
<mailto:Tinyos-help@Millennium.Berkeley.EDU>>
> > <mailto:Tinyos-help@Millennium.Berkeley.EDU
<mailto:Tinyos-help@Millennium.Berkeley.EDU>
> <mailto: Tinyos-help@Millennium.Berkeley.EDU
<mailto:Tinyos-help@Millennium.Berkeley.EDU>>>>
> > >
> >
>
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
> > > <
> >
>
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>>
> > >
> > >
> >
> >
>
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help