[Tinyos-help] c serial forwarder in tinyos-2.x

Philip Levis pal at cs.stanford.edu
Tue Jul 4 17:35:57 PDT 2006


On Jul 4, 2006, at 5:26 PM, Avinash Sridharan wrote:

> The ncc --version output is :
> ncc: 1.2
> nescc: 1.2.2
> gcc: gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.   
> There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
> PURPOSE.
>
> Output of make:
> mig -o serialpacket.h -c-prefix=spacket c /home/asridhar/ 
> developement/sandbox/latest/tinyos-2.x//tos/lib/serial/Serial.h  
> serial_packet
> gcc: unrecognized option '-c-prefix=spacket'
> warning: Cannot determine AM type for serial_packet
>          (Looking for definition of AM_SERIAL_PACKET)
> Unknown tool c
> make: *** [serialpacket.h] Error 2
>

David G., correct me if I'm wrong, but I think you need a new nescc.  
mig just calls nescc-mig.

Phil



More information about the Tinyos-help mailing list