Hello I follow the "Mote-PC serial communication and SerialForwarder" lesson, trying to run TestSerial on micaz,mib520 tinyos2.1.0 (ubuntu hardly).
- cd /opt/tinyos-2.x/apps/tests/TestSerial - make micaz install mib520,/dev/ttyUSB0 I have a large list of errors? What is the problem please? thanks PS : blink and sense work well and also my own application, libc6-dev and build-essential are already installed..... The errors : mkdir -p build/micaz mig java -target=null -I/opt/tinyos-2.1.0/tos/lib/T2Hack -DIDENT_APPNAME=\"TestSerialAppC\" -DIDENT_USERNAME=\"soane\" -DIDENT_HOSTNAME=\"Cancoon\" -DIDENT_USERHASH=0x5ed782a6L -DIDENT_TIMESTAMP=0x48d254fbL -DIDENT_UIDHASH=0x3100b040L -java-classname=TestSerialMsg TestSerial.h test_serial_msg -o TestSerialMsg.java /usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or directory /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) /usr/lib/ncc/nesc_nx.h:258: `msg' undeclared here (not in a function) /usr/lib/ncc/nesc_nx.h:258: subscripted value is neither array nor pointer /usr/lib/ncc/nesc_nx.h:258: `length' undeclared here (not in a function) /usr/lib/ncc/nesc_nx.h:258: warning: data definition has no type or storage class /usr/lib/ncc/nesc_nx.h:258: syntax error before `++' /usr/lib/ncc/nesc_nx.h:258: syntax error before `|=' /usr/lib/ncc/nesc_nx.h:258: syntax error before `*' /usr/lib/ncc/nesc_nx.h: In function `__nesc_bf_encode8': /usr/lib/ncc/nesc_nx.h:258: `offset' undeclared (first use in this function) /usr/lib/ncc/nesc_nx.h:258: (Each undeclared identifier is reported only once /usr/lib/ncc/nesc_nx.h:258: for each function it appears in.) /usr/lib/ncc/nesc_nx.h:258: `length' undeclared (first use in this function) /usr/lib/ncc/nesc_nx.h:258: `msg' undeclared (first use in this function) /usr/lib/ncc/nesc_nx.h:258: subscripted value is neither array nor pointer /usr/lib/ncc/nesc_nx.h:258: subscripted value is neither array nor pointer /usr/lib/ncc/nesc_nx.h:258: subscripted value is neither array nor pointer /usr/lib/ncc/nesc_nx.h:258: subscripted value is neither array nor pointer /usr/lib/ncc/nesc_nx.h:258: subscripted value is neither array nor pointer /usr/lib/ncc/nesc_nx.h:258: subscripted value is neither array nor pointer /usr/lib/ncc/nesc_nx.h:258: subscripted value is neither array nor pointer /usr/lib/ncc/nesc_nx.h: At top level: /usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_ntohbf_uint8' /usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_ntohbf_int8' /usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_htonbf_uint8' /usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_htonbf_int8' /usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_bfle_decode8' /usr/lib/ncc/nesc_nx.h:258: redefinition of `byte_offset' /usr/lib/ncc/nesc_nx.h:258: previous declaration of `byte_offset' /usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function) /usr/lib/ncc/nesc_nx.h:258: redefinition of `bit_offset' /usr/lib/ncc/nesc_nx.h:258: previous declaration of `bit_offset' /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: syntax error before `+=' /usr/lib/ncc/nesc_nx.h:258: syntax error before `+=' /usr/lib/ncc/nesc_nx.h:258: syntax error before `*' ..................................... _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
