[Tinyos-help] Compiling problems with the Null application !!!!

mejda chouaieb mejdachouaieb at yahoo.fr
Fri Nov 2 01:08:16 PDT 2007


Hello,
yes I have it for my compiler under "C:\jennic\cygwin\ba-elf\libexec\gcc\ba-elf\4.1.2"
and I can compile Null for msp and avr normaly.
and with this compiler I can copile jennic programs normaly
so I want to understand what's wrong ? are the libraries used the correct ones ?
Thanks

----- Message d'origine ----
De : Kevin Klues <klueska at gmail.com>
À : mejda chouaieb <mejdachouaieb at yahoo.fr>
Cc : tinyos-help at millennium.berkeley.edu
Envoyé le : Vendredi, 2 Novembre 2007, 2h44mn 39s
Objet : Re: [Tinyos-help] Compiling problems with the Null application !!!!

All I can tell you is there seems to be something wrong with your
compiler installation.  cc1 is normally installed as part of the libc
package for your compiler.  You either haven't installed it, installed
it incorrectly, or somehow the rest of your gcc installation isn't
recognizing that it's installed.

In the case of msp430 its cc1 is placed in something similar to
'opt/msp430/lib/gcc-lib/msp430/3.2.3/cc1
And for avr its '/usr/libexec/gcc/avr/3.4.3/cc1

Does a file similar to this exist for your compiler?  Try running
'locate cc1' to see if you have it anywhere.

Kevin

On Nov 1, 2007 5:50 PM, mejda chouaieb <mejdachouaieb at yahoo.fr> wrote:
> Hello all,
> i'm trying to compile the Null application for jennic with the ba-elf-gcc compiler but I have these problems :
> ____________________________________________________________
> ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
> <commandline>: failed to preprocess /usr/lib/ncc/nesc_nx.h
> ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
> <commandline>: failed to preprocess /opt/tinyos-2.x/tos/system/tos.h
> ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
> <commandline>: failed to preprocess /opt/tinyos-2.x/tos/system/TinySchedulerC
> $
> kBasic'
> ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
> <commandline>: failed to preprocess NullAppC.nc
> make: *** [exe0] Error 1
> ______________________________________________________________
>
> can someone help me to fix these problems ?
> Thanks.
>
>
>      ____________________________________________________________________________________________
> Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et vos réactions !
> http://blog.mail.yahoo.fr
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
~Kevin


      ______________________________________________________________________________ 
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !



More information about the Tinyos-help mailing list