tinyos / nesc

Master nesc repository
GNU General Public License v2.0
100 stars 53 forks source link

nesC internal error #53

Open Hazel90 opened 5 years ago

Hazel90 commented 5 years ago

Hello, I have this error when I try to do the make command when installing tinyos on Ubuntu 18.04:

make[4]: Entering directory '/home/sar/tinyos-main/tools/tinyos/python/message' nescc-mig -o SerialPacket.py -python-classname=SerialPacket python ../../../../tos/lib/serial/Serial.h serial_packet -I../../../../tos/lib/serial -I../../../../tos/types nesC: Internal error. Please submit an issue to the GitHub repository at https://github.com/tinyos/nesc failed to parse message file ../../../../tos/lib/serial/Serial.h Makefile:544: recipe for target 'SerialPacket.py' failed make[4]: *** [SerialPacket.py] Error 1 make[4]: Leaving directory '/home/sar/tinyos-main/tools/tinyos/python/message' Makefile:499: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/sar/tinyos-main/tools/tinyos/python' Makefile:364: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/sar/tinyos-main/tools/tinyos' Makefile:425: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/sar/tinyos-main/tools' Makefile:358: recipe for target 'all' failed make: *** [all] Error 2 How to fix this? Thank you.

ytlw commented 5 years ago

Maybe you can reinstall tinyos through http://tinyprod.net/repos/debian/
it was just updated yesterday.

cire831 commented 5 years ago

what version of nesc are you running?

dpkg -l nesc (thats -(ell))