Hi All
I am finally able to do a make of the oscilloscope example but in order to
see my results on the java based GUI I need to do a make in the java
directory. I am getting the following error stack :
/usr/lib/ncc/nesc_nx.h:16:22: error: inttypes.h: No such file or directory
/usr/lib/ncc/nesc_nx.h:235: syntax error before `__nesc_ntoh_uint8'
/usr/lib/ncc/nesc_nx.h:240: syntax error before `__nesc_hton_uint8'
/usr/lib/ncc/nesc_nx.h:242: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:242: warning: data definition has no type or storage
class
/usr/lib/ncc/nesc_nx.h:243: syntax error before `return'
/usr/lib/ncc/nesc_nx.h:246: syntax error before `__nesc_ntoh_leuint8'
/usr/lib/ncc/nesc_nx.h:251: syntax error before `__nesc_hton_leuint8'
/usr/lib/ncc/nesc_nx.h:253: redefinition of `base'
/usr/lib/ncc/nesc_nx.h:242: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:253: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:253: warning: data definition has no type or storage
class
/usr/lib/ncc/nesc_nx.h:254: syntax error before `return'
/usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_ntoh_int8'
/usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_hton_int8'
/usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_ntoh_leint8'
/usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_hton_leint8'
/usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_bf_decode8'
/usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:258: syntax error before `if'
/usr/lib/ncc/nesc_nx.h:258: `uint8_t' undeclared here (not in a
function)r/lib/ncc/nesc_nx.h:271: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:272: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:272: warning: data definition has no type or storage
class
/usr/lib/ncc/nesc_nx.h:273: syntax error before `return'
/usr/lib/ncc/nesc_nx.h:276: syntax error before `__nesc_ntoh_leuint16'
/usr/lib/ncc/nesc_nx.h:326: syntax error before `__nesc_ntoh_int32'
/usr/lib/ncc/nesc_nx.h:326: syntax error before `__nesc_hton_int32'
/usr/lib/ncc/nesc_nx.h:390: syntax error before `nx_uint16_t'
/usr/lib/ncc/nesc_nx.h:391: syntax error before `nx_uint32_t'
/usr/lib/ncc/nesc_nx.h:392: syntax error before `nx_uint64_t'
/usr/lib/ncc/nesc_nx.h:395: syntax error before `nxle_int8_t'
/usr/lib/ncc/nesc_nx.h:396: syntax error before `nxle_int16_t'
/usr/lib/ncc/nesc_nx.h:401: syntax error before `nxle_uint32_t'
/usr/lib/ncc/nesc_nx.h:402: syntax error before `nxle_uint64_t'
/opt/tinyos-2.1.0/tos/system/tos.h:5:22: error: inttypes.h: No such file or
directory
/opt/tinyos-2.1.0/tos/system/tos.h:17:19: error: ctype.h: No such file or
directory
/opt/tinyos-2.1.0/tos/system/tos.h:23: syntax error before `bool'
/opt/tinyos-2.1.0/tos/system/tos.h:26: syntax error before `nx_bool'
/opt/tinyos-2.1.0/tos/system/tos.h:27: syntax error before `TOS_NODE_ID'
In file included from /opt/tinyos-2.1.0/tos/system/TinySchedulerC.nc:36:
In interface `Scheduler':
/opt/tinyos-2.1.0/tos/interfaces/Scheduler.nc:54: only commands and events
can be defined in interfaces
/opt/tinyos-2.1.0/tos/interfaces/Scheduler.nc:54: syntax error before
`runNextTask'
In file included from /opt/tinyos-2.1.0/tos/interfaces/TaskBasic.nc:42,
from /opt/tinyos-2.1.0/tos/system/TinySchedulerC.nc:37:
In C file:
/opt/tinyos-2.1.0/tos/types/TinyError.h:56: syntax error before `error_t'
/opt/tinyos-2.1.0/tos/types/TinyError.h:58: syntax error before `ecombine'
In file included from /opt/tinyos-2.1.0/tos/system/TinySchedulerC.nc:37:
In interface `TaskBasic':
/opt/tinyos-2.1.0/tos/interfaces/TaskBasic.nc:56: only commands and events
can be defined in interfaces
/opt/tinyos-2.1.0/tos/interfaces/TaskBasic.nc:56: syntax error before
`postTask'
In component `TinySchedulerC':
/opt/tinyos-2.1.0/tos/system/TinySchedulerC.nc:37: syntax error before
`uint8_t'
In file included from /opt/tinyos-2.1.0/tos/system/SchedulerBasicP.nc:41,
from /opt/tinyos-2.1.0/tos/system/TinySchedulerC.nc:40:
In C file:
/opt/tinyos-2.1.0/tos/platforms/null/hardware.h:7: syntax error before
`__nesc_atomic_t'
/opt/tinyos-2.1.0/tos/platforms/null/hardware.h:8: syntax error before
`mcu_power_t'
/opt/tinyos-2.1.0/tos/platforms/null/hardware.h:10: syntax error before
`__nesc_atomic_start'
/opt/tinyos-2.1.0/tos/platforms/null/hardware.h:14: syntax error before `x'
In file included from /opt/tinyos-2.1.0/tos/system/TinySchedulerC.nc:40:
In component `SchedulerBasicP':
/opt/tinyos-2.1.0/tos/system/SchedulerBasicP.nc:45: syntax error before
`uint8_t'
In file included from /opt/tinyos-2.1.0/tos/system/TinySchedulerC.nc:40:
/opt/tinyos-2.1.0/tos/system/SchedulerBasicP.nc:56: syntax error before
`m_head'
/opt/tinyos-2.1.0/tos/system/SchedulerBasicP.nc:57: syntax error before
`m_tail'
/opt/tinyos-2.1.0/tos/system/SchedulerBasicP.nc:58: syntax error before
`m_next'
/opt/tinyos-2.1.0/tos/system/SchedulerBasicP.nc:67: syntax error before
`popTask'
/opt/tinyos-2.1.0/tos/system/SchedulerBasicP.nc:72: `m_next' undeclared here
(not in a function)
/opt/tinyos-2.1.0/tos/system/SchedulerBasicP.nc:72: subscripted value is
neither array nor pointer
/opt/tinyos-2.1.0/tos/system/SchedulerBasicP.nc:72: warning: data definition
has no type or storage class
/opt/tinyos-2.1.0/tos/system/SchedulerBasicP.nc:73: syntax error before `if'
SchedulerBasicP: `TaskBasic.error_t' not implemented
SchedulerBasicP: `Scheduler.init' not implemented
SchedulerBasicP: `Scheduler.taskLoop' not implemented
SchedulerBasicP: `Scheduler.bool' not implemented
In C file:
<commandline>: Scheduler `TinySchedulerC' has no scheduling interface named
`TaskBasic'
../Oscilloscope.h:28: syntax error before `nx_uint16_t'
../Oscilloscope.h:28: warning: no semicolon at end of struct or union
../Oscilloscope.h:29: syntax error before `interval'
../Oscilloscope.h:30: syntax error before `id'
../Oscilloscope.h:31: syntax error before `count'
../Oscilloscope.h:32: syntax error before `readings'
../Oscilloscope.h:33: warning: data definition has no type or storage class
failed to parse message file ../Oscilloscope.h
make: *** [OscilloscopeMsg.java] Error 1
Can someone tell me what is majorly wrong in my method ?
I am just running the predefined examples.
Would really appreciate your help.
Regards
Akankshu
--
First they ignore you, then they laugh at you, then they fight you, then you
win.
- Mahatma Gandhi
--
First they ignore you, then they laugh at you, then they fight you, then you
win.
- Mahatma Gandhi
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help