[Tinyos-help] Installing uisp in ubuntu

Pablo Gil Montaño pgilmon at yahoo.es
Tue Nov 21 03:11:43 PST 2006


I have also installed ,mica on Ubuntu with that guide, and I had to add the netx line in tinyos-1.x/tools/make/Makelocal in order to avoid endless assembler errors:

OPTFLAGS := -Wa,--allow-dollars

I think it has something to do with the assembler for mica not recognizing the code generated by the compiler. The result is a lot of errors from the assembler if you don't include that optflags



----- Mensaje original ----
De: umar hafeez <umarhafeez at yahoo.com>
Para: tinyos help <tinyos-help at Millennium.Berkeley.EDU>
Enviado: viernes, 10 de noviembre, 2006 11:52:31
Asunto: Re: [Tinyos-help] Installing uisp in ubuntu

I have installed package called "make" from synaptic package manager for ubuntu

on querying i got the following description and  files that were installed.  Is this the gmake or gnumake required???

The GNU version of the "make" utility.
GNU Make is a program that determines which pieces of a large
program need to be recompiled and issues the commands to recompile
them, when necessary. More information about GNU Make can be
found in the `make' Info page. The upstream sources for this package
are available at the location
 ftp://ftp.gnu.org/gnu/make/

/.
/usr
/usr/bin
/usr/bin/make
/usr/lib
/usr/share
/usr/share/info
/usr/share/info/make.info-2.gz
/usr/share/info/make.info.gz
/usr/share/info/make.info-1.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/make.1.gz
/usr/share/doc
/usr/share/doc/make
/usr/share/doc/make/changelog.Debian.gz
/usr/share/doc/make/changelog.gz
/usr/share/doc/make/NEWS.gz
/usr/share/doc/make/NEWS.Debian.gz
/usr/share/doc/make/copyright
/usr/share/doc/make/README.gz
/usr/share/doc/make/Explanations.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/make



----- Original Message ----
From: Sarfraz Nawaz <sarfraz at gmail.com>
To: umar hafeez <umarhafeez at yahoo.com>
Cc: tinyos help <tinyos-help at millennium.berkeley.edu>
Sent: Sunday, 5
 November, 2006 6:31:05 AM
Subject: Re: [Tinyos-help] Installing uisp in ubuntu

Do you have gmake or gnumake installed on your linux distribution? I suspect they are not installed.

On 11/5/06, umar hafeez <
umarhafeez at yahoo.com> wrote:
How do you tell it where to look for gnumake and gmake and make?????

I tried adding the following lines in bashrc file

export PATH="/usr/bin:$PATH"


after that didn't work then (one after another):

export gmake="/usr/bin"
export gnumake="/usr/bin"
export make="/usr/bin"

none of them worked one after another (as you can tell i am a linux newbie as well as tinyos newbie,,, i am still left with the same error message everytime



./COMPILE: line 8: gnumake:
 command not found
./COMPILE: line 8: gmake: command not found
make: *** No targets specified and no makefile found.  Stop.


Thanks...


----- Original Message ----
From: sujay malhar <
sujaymalhar at gmail.com>
To: umar hafeez
 <umarhafeez at yahoo.com>
Sent: Saturday, 28 October, 2006 7:44:49 PM
Subject: Re: [Tinyos-help] installing uisp and correction toscheck warnings


 Hi

      Go on with mathews installation..it's perfect..Only problem you have is with the PATH.include the gmake and gnumake(/usr/bin) to the $path variable ..

 

 cheers

Sujay.M.S

 

On 10/27/06, umar hafeez <umarhafeez at yahoo.com
> wrote:
hi,

As I am using ubuntu i used  chad metcalf's guide to install tinyos from following



http://www.chadmetcalf.com/tinyos-1x-on-ubuntu/

I omitted the section of related to tmote because I want to use mica and according to mathews's guide i need uisp and not TOSComm (thus i also skipped TOSComm from Chad's guide)


When i try to compile uisp from mathews guide (using the ./COMPILE command) I got the following error

./COMPILE: line 8: gnumake: command not found
./COMPILE: line 8: gmake: command not found
make: *** No targets specified and no makefile found.  Stop.



Then i found one uisp package from ubuntu's synaptic package manager and installed it


I ran the toscheck script, i got following warnings

--> WARNING: The ncc found by toscheck is not version 
1.1. Please update your nesc version to 1.1 tinyos.
--> WARNING: The avr-gcc found by toscheck is not 3.3-tinyos. Please update your avr-gcc compiler to 3.3-tinyos.
--> WARNING: The uisp version found by toscheck is not '20030820tinyos'. Please update your uisp version. The source for uisp version 20030820tinyos can be found in the TinyOS 
1.1.0 distribution.
--> WARNING: The graphviz (dot) version found by toscheck is not 1.10. Please update your graphviz version if you'd like to use the nescdoc documentation generator.
--> WARNING: The avr-as version found by toscheck is not 
2.13.2.1 Please update your avr-as version by updating your avr-binutils package.

Because these were warnings and not errors as i saw it, I try to compile Blink but i got lots of errors (i have just copied the bigenning but looks like good 50 - 80 errors from assembler)


mkdir -p build/mica2
   compiling Blink to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"Blink\" -DIDENT_USER_ID=\"umar\" -DIDENT_HOSTNAME=\"umar-laptop\" -DIDENT_USER_HASH=0x29948730L -DIDENT_UNIX_TIME=0x45421423L -DIDENT_UID_HASH=0x8963c5deL 
Blink.nc -lm
/tmp/ccpqWLxZ.s: Assembler messages:
/tmp/ccpqWLxZ.s:10: Error: unknown opcode `disablecou'

/tmp/ccpqWLxZ.s:12: Error: unrecognized symbol type ""
/tmp/ccpqWLxZ.s:12: Error: unknown opcode `disablecou'

/tmp/ccpqWLxZ.s:13: Error: expected comma after name `HPLPowerManagementM' in .size directive

So i think maybe i have a problem with uisp,,, is there any different way to install it for ubuntu??? or is it a different problem???


Tha






_______________________________________________
Tinyos-help mailing list

Tinyos-help at Millennium.Berkeley.EDU

https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help







_______________________________________________
Tinyos-help mailing list

Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help








_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU

https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help









_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help






	
	
		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061121/5cb73b6d/attachment.htm


More information about the Tinyos-help mailing list