Hello ,
I have a probelm that I think is because of the makefile,
but I would like to compile a code which is in
Tinyos-2 apps,i.e. TestSerial application
more precisely if I launch this command :
"make tmote"
I have this error:
mkdir -p build/telosb
mig java -target=null -I/opt/tinyos-2.1.0/tos/lib/T2Hack
-DIDENT_APPNAME=\"TestSerialAppC\" -DIDENT_USERNAME=\"behnaz\"
-DIDENT_HOSTNAME=\"m60\" -DIDENT_USERHASH=0x7f44f735L
-DIDENT_TIMESTAMP=0x48e4c2deL -DIDENT_UIDHASH=0x8a499559L
-java-classname=TestSerialMsg TestSerial.h test_serial_msg -o
TestSerialMsg.java
/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 `*'
/usr/lib/ncc/nesc_nx.h: In function `__nesc_bfle_encode8':
/usr/lib/ncc/nesc_nx.h:258: `offset' undeclared (first use in this function)
/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_leuint8'
/usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_ntohbf_leint8'
/usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_htonbf_leuint8'
/usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_htonbf_leint8'
/usr/lib/ncc/nesc_nx.h:264: syntax error before `__nesc_ntoh_uint16'
/usr/lib/ncc/nesc_nx.h:269: syntax error before `__nesc_hton_uint16'
/usr/lib/ncc/nesc_nx.h:271: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:253: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:271: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:271: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:272: conflicting types for `base'
/usr/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:281: syntax error before `__nesc_hton_leuint16'
/usr/lib/ncc/nesc_nx.h:283: redefinition of `base'
/usr/lib/ncc/nesc_nx.h:272: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:283: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:283: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:284: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:283: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:284: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:284: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:285: syntax error before `return'
/usr/lib/ncc/nesc_nx.h:288: syntax error before `__nesc_ntoh_int16'
/usr/lib/ncc/nesc_nx.h:288: syntax error before `__nesc_hton_int16'
/usr/lib/ncc/nesc_nx.h:288: syntax error before `__nesc_ntoh_leint16'
/usr/lib/ncc/nesc_nx.h:288: syntax error before `__nesc_hton_leint16'
/usr/lib/ncc/nesc_nx.h:289: syntax error before `__nesc_bf_decode16'
/usr/lib/ncc/nesc_nx.h:289: redefinition of `byte_offset'
/usr/lib/ncc/nesc_nx.h:258: previous declaration of `byte_offset'
/usr/lib/ncc/nesc_nx.h:289: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:289: redefinition of `bit_offset'
/usr/lib/ncc/nesc_nx.h:258: previous declaration of `bit_offset'
/usr/lib/ncc/nesc_nx.h:289: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:289: syntax error before `if'
/usr/lib/ncc/nesc_nx.h:289: redefinition of `x'
/usr/lib/ncc/nesc_nx.h:258: previous declaration of `x'
/usr/lib/ncc/nesc_nx.h:289: `uint16_t' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:289: `msg' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: `length' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:289: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:289: syntax error before `++'
/usr/lib/ncc/nesc_nx.h:289: syntax error before `|='
/usr/lib/ncc/nesc_nx.h:289: syntax error before `*'
/usr/lib/ncc/nesc_nx.h: In function `__nesc_bf_encode16':
/usr/lib/ncc/nesc_nx.h:289: `offset' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:289: `length' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:289: `msg' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h: At top level:
/usr/lib/ncc/nesc_nx.h:289: syntax error before `__nesc_ntohbf_uint16'
/usr/lib/ncc/nesc_nx.h:289: syntax error before `__nesc_ntohbf_int16'
/usr/lib/ncc/nesc_nx.h:289: syntax error before `__nesc_htonbf_uint16'
/usr/lib/ncc/nesc_nx.h:289: syntax error before `__nesc_htonbf_int16'
/usr/lib/ncc/nesc_nx.h:289: syntax error before `__nesc_bfle_decode16'
/usr/lib/ncc/nesc_nx.h:289: redefinition of `byte_offset'
/usr/lib/ncc/nesc_nx.h:289: previous declaration of `byte_offset'
/usr/lib/ncc/nesc_nx.h:289: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:289: redefinition of `bit_offset'
/usr/lib/ncc/nesc_nx.h:289: previous declaration of `bit_offset'
/usr/lib/ncc/nesc_nx.h:289: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:289: redefinition of `count'
/usr/lib/ncc/nesc_nx.h:258: previous declaration of `count'
/usr/lib/ncc/nesc_nx.h:289: syntax error before `if'
/usr/lib/ncc/nesc_nx.h:289: syntax error before `+='
/usr/lib/ncc/nesc_nx.h:289: syntax error before `+='
/usr/lib/ncc/nesc_nx.h:289: syntax error before `*'
/usr/lib/ncc/nesc_nx.h: In function `__nesc_bfle_encode16':
/usr/lib/ncc/nesc_nx.h:289: `offset' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:289: `length' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:289: `msg' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:289: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h: At top level:
/usr/lib/ncc/nesc_nx.h:289: syntax error before `__nesc_ntohbf_leuint16'
/usr/lib/ncc/nesc_nx.h:289: syntax error before `__nesc_ntohbf_leint16'
/usr/lib/ncc/nesc_nx.h:289: syntax error before `__nesc_htonbf_leuint16'
/usr/lib/ncc/nesc_nx.h:289: syntax error before `__nesc_htonbf_leint16'
/usr/lib/ncc/nesc_nx.h:294: syntax error before `__nesc_ntoh_uint32'
/usr/lib/ncc/nesc_nx.h:301: syntax error before `__nesc_hton_uint32'
/usr/lib/ncc/nesc_nx.h:303: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:284: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:303: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:303: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:304: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:303: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:304: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:304: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:305: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:304: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:305: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:305: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:306: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:305: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:306: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:306: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:307: syntax error before `return'
/usr/lib/ncc/nesc_nx.h:310: syntax error before `__nesc_ntoh_leuint32'
/usr/lib/ncc/nesc_nx.h:317: syntax error before `__nesc_hton_leuint32'
/usr/lib/ncc/nesc_nx.h:319: redefinition of `base'
/usr/lib/ncc/nesc_nx.h:306: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:319: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:319: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:320: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:319: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:320: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:320: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:321: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:320: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:321: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:321: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:322: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:321: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:322: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:322: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:323: syntax error before `return'
/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:326: syntax error before `__nesc_ntoh_leint32'
/usr/lib/ncc/nesc_nx.h:326: syntax error before `__nesc_hton_leint32'
/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_bf_decode32'
/usr/lib/ncc/nesc_nx.h:327: redefinition of `byte_offset'
/usr/lib/ncc/nesc_nx.h:289: previous declaration of `byte_offset'
/usr/lib/ncc/nesc_nx.h:327: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:327: redefinition of `bit_offset'
/usr/lib/ncc/nesc_nx.h:289: previous declaration of `bit_offset'
/usr/lib/ncc/nesc_nx.h:327: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:327: syntax error before `if'
/usr/lib/ncc/nesc_nx.h:327: redefinition of `x'
/usr/lib/ncc/nesc_nx.h:289: previous declaration of `x'
/usr/lib/ncc/nesc_nx.h:327: `uint32_t' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:327: `msg' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: `length' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:327: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:327: syntax error before `++'
/usr/lib/ncc/nesc_nx.h:327: syntax error before `|='
/usr/lib/ncc/nesc_nx.h:327: syntax error before `*'
/usr/lib/ncc/nesc_nx.h: In function `__nesc_bf_encode32':
/usr/lib/ncc/nesc_nx.h:327: `offset' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:327: `length' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:327: `msg' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h: At top level:
/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_ntohbf_uint32'
/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_ntohbf_int32'
/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_htonbf_uint32'
/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_htonbf_int32'
/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_bfle_decode32'
/usr/lib/ncc/nesc_nx.h:327: redefinition of `byte_offset'
/usr/lib/ncc/nesc_nx.h:327: previous declaration of `byte_offset'
/usr/lib/ncc/nesc_nx.h:327: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:327: redefinition of `bit_offset'
/usr/lib/ncc/nesc_nx.h:327: previous declaration of `bit_offset'
/usr/lib/ncc/nesc_nx.h:327: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:327: redefinition of `count'
/usr/lib/ncc/nesc_nx.h:289: previous declaration of `count'
/usr/lib/ncc/nesc_nx.h:327: syntax error before `if'
/usr/lib/ncc/nesc_nx.h:327: syntax error before `+='
/usr/lib/ncc/nesc_nx.h:327: syntax error before `+='
/usr/lib/ncc/nesc_nx.h:327: syntax error before `*'
/usr/lib/ncc/nesc_nx.h: In function `__nesc_bfle_encode32':
/usr/lib/ncc/nesc_nx.h:327: `offset' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:327: `length' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:327: `msg' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:327: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h: At top level:
/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_ntohbf_leuint32'
/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_ntohbf_leint32'
/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_htonbf_leuint32'
/usr/lib/ncc/nesc_nx.h:327: syntax error before `__nesc_htonbf_leint32'
/usr/lib/ncc/nesc_nx.h:332: syntax error before `__nesc_ntoh_uint64'
/usr/lib/ncc/nesc_nx.h:343: syntax error before `__nesc_hton_uint64'
/usr/lib/ncc/nesc_nx.h:345: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:322: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:345: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:345: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:346: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:345: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:346: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:346: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:347: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:346: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:347: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:347: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:348: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:347: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:348: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:348: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:349: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:348: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:349: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:349: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:350: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:349: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:350: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:350: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:351: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:350: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:351: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:351: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:352: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:351: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:352: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:352: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:353: syntax error before `return'
/usr/lib/ncc/nesc_nx.h:356: syntax error before `__nesc_ntoh_leuint64'
/usr/lib/ncc/nesc_nx.h:367: syntax error before `__nesc_hton_leuint64'
/usr/lib/ncc/nesc_nx.h:369: redefinition of `base'
/usr/lib/ncc/nesc_nx.h:352: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:369: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:369: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:370: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:369: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:370: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:370: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:371: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:370: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:371: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:371: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:372: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:371: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:372: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:372: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:373: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:372: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:373: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:373: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:374: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:373: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:374: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:374: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:375: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:374: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:375: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:375: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:376: conflicting types for `base'
/usr/lib/ncc/nesc_nx.h:375: previous declaration of `base'
/usr/lib/ncc/nesc_nx.h:376: `value' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:376: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:377: syntax error before `return'
/usr/lib/ncc/nesc_nx.h:380: syntax error before `__nesc_ntoh_int64'
/usr/lib/ncc/nesc_nx.h:380: syntax error before `__nesc_hton_int64'
/usr/lib/ncc/nesc_nx.h:380: syntax error before `__nesc_ntoh_leint64'
/usr/lib/ncc/nesc_nx.h:380: syntax error before `__nesc_hton_leint64'
/usr/lib/ncc/nesc_nx.h:381: syntax error before `__nesc_bf_decode64'
/usr/lib/ncc/nesc_nx.h:381: redefinition of `byte_offset'
/usr/lib/ncc/nesc_nx.h:327: previous declaration of `byte_offset'
/usr/lib/ncc/nesc_nx.h:381: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:381: redefinition of `bit_offset'
/usr/lib/ncc/nesc_nx.h:327: previous declaration of `bit_offset'
/usr/lib/ncc/nesc_nx.h:381: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:381: syntax error before `if'
/usr/lib/ncc/nesc_nx.h:381: redefinition of `x'
/usr/lib/ncc/nesc_nx.h:327: previous declaration of `x'
/usr/lib/ncc/nesc_nx.h:381: `uint64_t' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:381: `msg' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: `length' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:381: warning: data definition has no type or
storage class
/usr/lib/ncc/nesc_nx.h:381: syntax error before `++'
/usr/lib/ncc/nesc_nx.h:381: syntax error before `|='
/usr/lib/ncc/nesc_nx.h:381: syntax error before `*'
/usr/lib/ncc/nesc_nx.h: In function `__nesc_bf_encode64':
/usr/lib/ncc/nesc_nx.h:381: `offset' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:381: `length' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:381: `msg' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h: At top level:
/usr/lib/ncc/nesc_nx.h:381: syntax error before `__nesc_ntohbf_uint64'
/usr/lib/ncc/nesc_nx.h:381: syntax error before `__nesc_ntohbf_int64'
/usr/lib/ncc/nesc_nx.h:381: syntax error before `__nesc_htonbf_uint64'
/usr/lib/ncc/nesc_nx.h:381: syntax error before `__nesc_htonbf_int64'
/usr/lib/ncc/nesc_nx.h:381: syntax error before `__nesc_bfle_decode64'
/usr/lib/ncc/nesc_nx.h:381: redefinition of `byte_offset'
/usr/lib/ncc/nesc_nx.h:381: previous declaration of `byte_offset'
/usr/lib/ncc/nesc_nx.h:381: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:381: redefinition of `bit_offset'
/usr/lib/ncc/nesc_nx.h:381: previous declaration of `bit_offset'
/usr/lib/ncc/nesc_nx.h:381: `offset' undeclared here (not in a function)
/usr/lib/ncc/nesc_nx.h:381: redefinition of `count'
/usr/lib/ncc/nesc_nx.h:327: previous declaration of `count'
/usr/lib/ncc/nesc_nx.h:381: syntax error before `if'
/usr/lib/ncc/nesc_nx.h:381: syntax error before `+='
/usr/lib/ncc/nesc_nx.h:381: syntax error before `+='
/usr/lib/ncc/nesc_nx.h:381: syntax error before `*'
/usr/lib/ncc/nesc_nx.h: In function `__nesc_bfle_encode64':
/usr/lib/ncc/nesc_nx.h:381: `offset' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:381: `length' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:381: `msg' undeclared (first use in this function)
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h:381: subscripted value is neither array nor pointer
/usr/lib/ncc/nesc_nx.h: At top level:
/usr/lib/ncc/nesc_nx.h:381: syntax error before `__nesc_ntohbf_leuint64'
/usr/lib/ncc/nesc_nx.h:381: syntax error before `__nesc_ntohbf_leint64'
/usr/lib/ncc/nesc_nx.h:381: syntax error before `__nesc_htonbf_leuint64'
/usr/lib/ncc/nesc_nx.h:381: syntax error before `__nesc_htonbf_leint64'
/usr/lib/ncc/nesc_nx.h:385: syntax error before `nx_int8_t'
/usr/lib/ncc/nesc_nx.h:386: syntax error before `nx_int16_t'
/usr/lib/ncc/nesc_nx.h:387: syntax error before `nx_int32_t'
/usr/lib/ncc/nesc_nx.h:388: syntax error before `nx_int64_t'
/usr/lib/ncc/nesc_nx.h:389: syntax error before `nx_uint8_t'
/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:397: syntax error before `nxle_int32_t'
/usr/lib/ncc/nesc_nx.h:398: syntax error before `nxle_int64_t'
/usr/lib/ncc/nesc_nx.h:399: syntax error before `nxle_uint8_t'
/usr/lib/ncc/nesc_nx.h:400: syntax error before `nxle_uint16_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:13:20: error: string.h: No such
file or directory
/opt/tinyos-2.1.0/tos/system/tos.h:14:20: error: stdlib.h: No such
file or directory
/opt/tinyos-2.1.0/tos/system/tos.h:15:18: error: math.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'
TestSerial.h:6: syntax error before `nx_uint16_t'
TestSerial.h:6: warning: no semicolon at end of struct or union
TestSerial.h:7: warning: data definition has no type or storage class
failed to parse message file TestSerial.h
make: *** [TestSerialMsg.java] Error 1
Here is the makefile content:
COMPONENT=TestSerialAppC
BUILD_EXTRA_DEPS += TestSerial.class
CLEAN_EXTRA = *.class TestSerialMsg.java
CFLAGS += -I$(TOSDIR)/lib/T2Hack
TestSerial.class: $(wildcard *.java) TestSerialMsg.java
javac -target 1.4 -source 1.4 *.java
TestSerialMsg.java:
mig java -target=null $(CFLAGS) -java-classname=TestSerialMsg
TestSerial.h test_serial_msg -o $@
include $(MAKERULES)
I am wondering if there is sth wrong with the Makefile?
thanks and regards,
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help