[Tinyos-help] c serial forwarder in tinyos-2.x
Avinash Sridharan
avinash.sridharan at gmail.com
Tue Jul 4 17:26:38 PDT 2006
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
Thanks and regards,
Avinash
On 7/4/06, Philip Levis <pal at cs.stanford.edu> wrote:
>
>
> On Jul 4, 2006, at 3:12 PM, Avinash Sridharan wrote:
>
> > Hi All,
> > In order to compile the latest c serial forwarder in tinyos-2.x
> > what is the version of nesc(mig) that is required. I believe I have
> > nesc 1.2.2 and hence this might be causing a problem with the
> > compilation ?
> >
>
> Can you send the error you see as well as the result of 'ncc --version'?
>
> Phil
>
--
Phd Dept. of Electrical Engineering
University of Southern California
http://www-scf.usc.edu/~asridhar <http://www-scf.usc.edu/%7Easridhar>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060704/7203c576/attachment.html
More information about the Tinyos-help
mailing list