Hi, OK, in fact it was a bad guess since I've just also realized that it most likely would not have let you install the 32bit binaries into a 64bit machine.
Cheers! Sergio On Sun, Jun 19, 2011 at 4:25 PM, adel zalok <[email protected]> wrote: > Dear sergio, > I am using a 32 bit system, > I Beleive that both versions are available in the repository. > > Best regards, > Adel. > > On Sun, Jun 19, 2011 at 10:07 AM, Sergio Valcarcel > <[email protected]>wrote: > >> Just a hint that may (or may not) help... >> Are you using a 64bit or 32 bit system? >> Are both versions of the toolchain available in the repository? >> >> Cheers! >> Sergio >> >> >> On Sun, Jun 19, 2011 at 4:03 PM, Martin Zoller >> <[email protected]>wrote: >> >>> ** >>> Hi Adel, >>> What exactly are you compiling, i.e. where are you doing "make micaz"? I >>> suggest that you start with the "Blink" application. Then you should have a >>> look at the BEGINNING of the output, because that's where you usually find >>> the relevant error. Maybe a wrong compiler and/or makefile is being used. >>> Also, check your paths, e.g. "less $MAKERULES" should show you the TinyOS >>> Makerules file. >>> >>> - Martin >>> >>> On 06/19/2011 02:57 PM, adel zalok wrote: >>> >>> Dear Martin, >>> >>> Sorry to bother you, but I have reinstalled tinyOS using the method >>> described here: >>> http://docs.tinyos.net/tinywiki/index.php/Installing_from_SVN/GIT >>> >>> and still I am having the same problem. >>> >>> On Sun, Jun 19, 2011 at 8:39 AM, adel zalok <[email protected]>wrote: >>> >>>> Dear martin, >>>> >>>> This is the output of "nescc -v" : >>>> >>>> nescc: 1.3.1 >>>> gcc -_fnesc-gcc=gcc -specs=/usr/lib/ncc/tdspecs -_fnesc-include=nesc_nx >>>> -I/usr/lib/ncc -v -DNESC=131 >>>> Using built-in specs. >>>> Reading specs from /usr/lib/ncc/tdspecs >>>> COLLECT_GCC=gcc >>>> >>>> COLLECT_LTO_WRAPPER=/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/lto-wrapper >>>> Target: i686-linux-gnu >>>> Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro >>>> 4.5.2-8ubuntu4' >>>> --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs--enable-languages=c,c++,fortran,objc,obj-c++ >>>> --prefix=/usr >>>> --program-suffix=-4.5 --enable-shared --enable-multiarch >>>> --with-multiarch-defaults=i386-linux-gnu --enable-linker-build-id >>>> --with-system-zlib --libexecdir=/usr/lib/i386-linux-gnu >>>> --without-included-gettext --enable-threads=posix >>>> --with-gxx-include-dir=/usr/include/c++/4.5 >>>> --libdir=/usr/lib/i386-linux-gnu >>>> --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug >>>> --enable-libstdcxx-time=yes --enable-plugin --enable-gold >>>> --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc >>>> --enable-targets=all --disable-werror --with-arch-32=i686 >>>> --with-tune=generic --enable-checking=release --build=i686-linux-gnu >>>> --host=i686-linux-gnu --target=i686-linux-gnu >>>> Thread model: posix >>>> gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) >>>> I believe it is there, however should I uninstall and reinstall again ? >>>> >>>> On Sun, Jun 19, 2011 at 8:23 AM, Martin Zoller < >>>> [email protected]> wrote: >>>> >>>>> I recommend using the installation method described here: >>>>> http://docs.tinyos.net/tinywiki/index.php/Installing_from_SVN/GIT >>>>> That should work on most systems. >>>>> Apparently you are using mica motes, so you will need the avr-gcc >>>>> toolchain. >>>>> Did you install nesc? What is the output of "nescc -v"? >>>>> >>>>> - Martin >>>>> >>>>> >>>>> On 06/19/2011 03:31 AM, adel zalok wrote: >>>>> >>>>> This Error I get when I run the make micaz or make micaz sim or any >>>>> make command >>>>> >>>>> On Sat, Jun 18, 2011 at 9:29 PM, adel zalok >>>>> <[email protected]>wrote: >>>>> >>>>>> Dear Sir, >>>>>> >>>>>> I have been trying to install TinyOS on ubuntu 11.04 as well as Ubunut >>>>>> 10.10 and I keep getting a very long error, the error ends with these >>>>>> lines: >>>>>> >>>>>> >>>>>> In component `AlarmToTimerC': >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:38: syntax error >>>>>> before `uint32_t' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:44: syntax error >>>>>> before `m_dt' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:45: syntax error >>>>>> before `m_oneshot' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:47: syntax error >>>>>> before `t0' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function `start': >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:49: `m_dt' undeclared >>>>>> (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:49: `dt' undeclared >>>>>> (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:50: `m_oneshot' >>>>>> undeclared (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:50: `oneshot' >>>>>> undeclared (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:51: `Alarm' >>>>>> undeclared (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:51: `t0' undeclared >>>>>> (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: At top level: >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:54: syntax error >>>>>> before `dt' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function >>>>>> `Timer.startPeriodic': >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:55: `Alarm' >>>>>> undeclared (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:55: `dt' undeclared >>>>>> (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: At top level: >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:57: syntax error >>>>>> before `dt' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function >>>>>> `Timer.startOneShot': >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:58: `Alarm' >>>>>> undeclared (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:58: `dt' undeclared >>>>>> (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function >>>>>> `Timer.stop': >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:61: `Alarm' >>>>>> undeclared (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function >>>>>> `fired.runTask': >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:65: `m_oneshot' >>>>>> undeclared (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:66: `Alarm' >>>>>> undeclared (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:66: `m_dt' undeclared >>>>>> (first use in this function) >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: At top level: >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:71: unknown interface >>>>>> `Alarm' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function >>>>>> `Alarm.fired': >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:71: task interface >>>>>> `TaskBasic' has no command named `postTask' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: At top level: >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:73: syntax error >>>>>> before `Timer' >>>>>> AlarmToTimerC: `Timer.startPeriodicAt' not implemented >>>>>> AlarmToTimerC: `Timer.startOneShotAt' not implemented >>>>>> In file included from >>>>>> /opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:45, >>>>>> from /opt/tinyos-2.1.1/tos/system/TimerMilliP.nc:41, >>>>>> from /opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:40, >>>>>> from BlinkAppC.nc:46: >>>>>> In component `VirtualizeTimerC': >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:37: syntax error >>>>>> before `uint8_t' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:50: syntax error >>>>>> before `uint32_t' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:50: warning: no >>>>>> semicolon at end of struct or union >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:51: syntax error >>>>>> before `dt' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:52: syntax error >>>>>> before `isoneshot' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:53: syntax error >>>>>> before `isrunning' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:54: syntax error >>>>>> before `_reserved' >>>>>> VirtualizeTimerC: `TimerFrom.fired' not implemented >>>>>> VirtualizeTimerC: `Timer.startPeriodicAt' not implemented >>>>>> VirtualizeTimerC: `Timer.startOneShotAt' not implemented >>>>>> VirtualizeTimerC: `Timer.startPeriodic' not implemented >>>>>> VirtualizeTimerC: `Timer.startOneShot' not implemented >>>>>> VirtualizeTimerC: `Timer.stop' not implemented >>>>>> In file included from >>>>>> /opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:46, >>>>>> from /opt/tinyos-2.1.1/tos/system/TimerMilliP.nc:41, >>>>>> from /opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:40, >>>>>> from BlinkAppC.nc:46: >>>>>> In component `CounterToLocalTimeC': >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/CounterToLocalTimeC.nc:38: syntax >>>>>> error before `uint32_t' >>>>>> /opt/tinyos-2.1.1/tos/lib/timer/CounterToLocalTimeC.nc:42: syntax >>>>>> error before `LocalTime' >>>>>> In component `HilTimerMilliC': >>>>>> /opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:50: no match >>>>>> /opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:51: cannot find >>>>>> `TimerFrom' >>>>>> /opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:52: cannot find >>>>>> `Alarm' >>>>>> /opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:54: no match >>>>>> /opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:55: cannot find >>>>>> `Counter' >>>>>> In component `TimerMilliC': >>>>>> /opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:44: too many arguments >>>>>> make: *** [exe0] Error 1 >>>>>> >>>>>> Thank you in advance, >>>>>> Best regards, >>>>>> Adel Zalok . >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Adel Zalok . >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> Adel Zalok . >>>> >>> >>> >>> >>> -- >>> Adel Zalok . >>> >>> >>> >>> _______________________________________________ >>> Tinyos-help mailing list >>> [email protected] >>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>> >> >> > > > -- > Adel Zalok . >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
