This is the error I got when I run sudo make instead of make:

make: *** No rule to make target
`/home/raz/local/src/tinyos-2.x/tos/lib/serial/Serial.h', needed by
`serialpacket.h'.  Stop.

It is confusing. I don't know why /home/raz/local appear here.


---------- Forwarded message ----------
From: Nghia Tran <[email protected]>
Date: Sat, Oct 2, 2010 at 3:38 PM
Subject: Error when compiling C-based Serialforwarder
To: [email protected]


Hi everyone,

After going to /opt/tinyos-2.1.1/support/sdk/sf I run these commands:

./bootstrap
./configure
make

However after the 'make' command, I get this error:

mig -o serialpacket.h -c-prefix=spacket
c /opt/tinyos-2.1.1/tos/lib/serial/Serial.h serial_packet
-D_POSIX_C_SOURCE
warning: Cannot determine AM type for serial_packet
         (Looking for definition of AM_SERIAL_PACKET)
failed to create serialpacket.h
make: *** [serialpacket.h] Error 1


Does anybody know how to fix this problem ?
Thank you.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to