>From what I can tell, your path looks fine. The execution path lookup
is actually (usually) handled as part of a system call... have you
modified the Makefile in anyway? (Maybe assigning to PATH?)

What does an strace reveal?
You can try `strace make telosb`
or `strace <contents of the long line starting with ncc>`
There will be tons and tons of output so you should log it.

You may have to install the appropriate package to get the strace utility.

"Couldn't execute" may also mean msp430-gcc failed to start for some
other reason (such as bad dynamic linking).

On Mon, Jun 2, 2008 at 2:16 PM, Michael Schippling <[EMAIL PROTECTED]> wrote:
> I'm cc'ing this back to the whole help list because:
>  A) I'm clueless
>  B) We would like to keep a record of the above...
>
> NCC "obviously" uses some other nefarious method to find
> the executable, so maybe someone who understands such things
> can comment.
>
> MS
>
> Marco Belleschi wrote:
>> Thanks for your interest. This is what I get when I type the following
>> commands:
>>
>> $ which msp430-gcc
>> /opt/msp430/bin/msp430-gcc
>>
>> $ msp430-gcc --version
>> msp430-gcc (GCC) 3.2.3
>>
>> $ echo $PATH
>> /opt/msp430/bin:/usr/local/sbin:/usr/local/bin:
>> /usr/sbin:/usr/bin:/sbin:/bin:/usr/games
>>
>> Unluckily, these commands do not give to me any clue and I get stuck.
>> Thanks in advance for your help
>>
>>  > Date: Mon, 2 Jun 2008 11:05:38 -0600
>>  > From: [EMAIL PROTECTED]
>>  > To: [EMAIL PROTECTED]
>>  > CC: [email protected]
>>  > Subject: Re: [Tinyos-help] ERROR: MAKE TELOSB
>>  >
>>  > See if you can find the "missing" executable. On my Widows T1 system its:
>>  > /opt/msp430/bin/msp430-gcc.exe
>>  >
>>  > If it exists then some PATH or other thing is not pointing to it
>> correctly.
>>  > MS
>>  >
>>  >
>>  >
>>  > Marco Belleschi wrote:
>>  > > Dear all,
>>  > > I installed tinyos 2.0.2 using the Xubuntos live CD. Everything
>> seems to
>>  > > work, but when I make telosb I get the following error:
>>  > >
>>  > > /opt/tinyos-2.x/apps/BlinkSingle$ make telosb
>>  > > mkdir -p build/telosb
>>  > > compiling BlinkAppC to a telosb binary
>>  > > ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
>>  > > -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
>>  > > -fnesc-cfile=build/telosb/app.c -board=
>>  > > -DIDENT_PROGRAM_NAME=\"BlinkAppC\" -DIDENT_USER_ID=\"root\"
>>  > > -DIDENT_HOSTNAME=\"marco-Xubuntos\" -DIDENT_USER_HASH=0x401d86ebL
>>  > > -DIDENT_UNIX_TIME=0x4843d015L -DIDENT_UID_HASH=0x222da1f9L
>> BlinkAppC.nc
>>  > > -lm
>>  > > Couldn't execute msp430-gcc
>>  > > make: *** [exe0] Error 2
>>  > >
>>  > >
>>  > > Any hint would be great.
>>  > >
>>  > > Thanks in advance!
>>  > >
>>  > >
>> ------------------------------------------------------------------------
>>  > > Discover the new Windows Vista Learn more!
>>  > >
>> <http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE>
>>  > >
>>  > >
>>  > >
>> ------------------------------------------------------------------------
>>  > >
>>  > > _______________________________________________
>>  > > Tinyos-help mailing list
>>  > > [email protected]
>>  > >
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>> ------------------------------------------------------------------------
>> Get news, entertainment and everything you care about at Live.com. Check
>> it out! <http://www.live.com/getstarted.aspx >
> _______________________________________________
> 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

Reply via email to