Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please update source preprocessor directives to allow successful Android NDK build #35

Closed
truedat101 opened this issue Apr 18, 2015 · 4 comments

Comments

@truedat101
Copy link

On my fork at: https://github.com/IoTone/CCN-lite-droid , I can attempt to build with the Android NDK, but fail. I would like to start supporting the ccn-lite code base on Android. I am working on the cistlv branch of ccn-lite.

ndk-build on a Liinux Host

Android NDK: WARNING: Unsupported source file extensions in jni/ccn-lite/src/Android.mk for module ccn-lite    
Android NDK:   util/ccnl-socket.c)    
Compile thumb  : ccn-lite <= ccnl-core.c
jni/ccn-lite/src/ccnl-core.c:30: warning: 'struct ccnl_face_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:30: warning: its scope is only this definition or declaration, which is probably not what you want
jni/ccn-lite/src/ccnl-core.c:30: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:32: warning: 'struct ccnl_prefix_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:34: warning: 'struct ccnl_content_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:34: warning: 'struct ccnl_prefix_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:49: error: expected ')' before '*' token
jni/ccn-lite/src/ccnl-core.c:73: warning: 'struct sockaddr' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:73: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_get_face_or_create':
jni/ccn-lite/src/ccnl-core.c:80: warning: implicit declaration of function 'DEBUGMSG'
jni/ccn-lite/src/ccnl-core.c:80: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:80: error: (Each undeclared identifier is reported only once
jni/ccn-lite/src/ccnl-core.c:80: error: for each function it appears in.)
jni/ccn-lite/src/ccnl-core.c:81: warning: implicit declaration of function 'ccnl_addr2ascii'
jni/ccn-lite/src/ccnl-core.c:81: error: 'sockunion' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:81: error: expected expression before ')' token
jni/ccn-lite/src/ccnl-core.c:83: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:83: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:85: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:89: warning: implicit declaration of function 'ccnl_addr_cmp'
jni/ccn-lite/src/ccnl-core.c:89: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:89: error: expected expression before ')' token
jni/ccn-lite/src/ccnl-core.c:90: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:90: warning: implicit declaration of function 'CCNL_NOW'
jni/ccn-lite/src/ccnl-core.c:96: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:97: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:97: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:103: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:105: error: 'VERBOSE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:106: error: expected expression before ')' token
jni/ccn-lite/src/ccnl-core.c:108: warning: implicit declaration of function 'ccnl_calloc'
jni/ccn-lite/src/ccnl-core.c:108: error: invalid application of 'sizeof' to incomplete type 'struct ccnl_face_s' 
jni/ccn-lite/src/ccnl-core.c:111: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:112: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:115: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:116: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:116: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:118: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:118: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:118: error: 'CCNL_FACE_FLAGS_REFLECT' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:119: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:119: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:119: error: 'CCNL_FACE_FLAGS_FWDALLI' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:123: warning: implicit declaration of function 'memcpy'
jni/ccn-lite/src/ccnl-core.c:123: warning: incompatible implicit declaration of built-in function 'memcpy'
jni/ccn-lite/src/ccnl-core.c:123: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:125: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:126: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:127: warning: implicit declaration of function 'DBL_LINKED_LIST_ADD'
jni/ccn-lite/src/ccnl-core.c:127: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:129: warning: implicit declaration of function 'TRACEOUT'
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:134: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_face_remove':
jni/ccn-lite/src/ccnl-core.c:140: error: 'DEBUG' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:143: warning: implicit declaration of function 'ccnl_sched_destroy'
jni/ccn-lite/src/ccnl-core.c:143: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:144: warning: implicit declaration of function 'ccnl_frag_destroy'
jni/ccn-lite/src/ccnl-core.c:144: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:146: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:147: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:149: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:150: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:150: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:151: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:152: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:154: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:155: warning: implicit declaration of function 'ccnl_free'
jni/ccn-lite/src/ccnl-core.c:157: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:159: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:160: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:163: warning: implicit declaration of function 'ccnl_interest_remove'
jni/ccn-lite/src/ccnl-core.c:163: warning: assignment makes pointer from integer without a cast
jni/ccn-lite/src/ccnl-core.c:167: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:168: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:170: warning: implicit declaration of function 'free_prefix'
jni/ccn-lite/src/ccnl-core.c:170: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:171: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:174: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:177: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:178: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:179: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:180: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:183: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:183: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:184: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:186: warning: implicit declaration of function 'DBL_LINKED_LIST_REMOVE'
jni/ccn-lite/src/ccnl-core.c:186: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:195: warning: 'struct ccnl_if_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_interface_cleanup':
jni/ccn-lite/src/ccnl-core.c:198: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:200: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:201: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:202: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:202: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:202: error: 'CCNL_MAX_IF_QLEN' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:203: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:205: warning: implicit declaration of function 'ccnl_close_socket'
jni/ccn-lite/src/ccnl-core.c:205: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_interface_CTS':
jni/ccn-lite/src/ccnl-core.c:216: error: storage size of 'req' isn't known
jni/ccn-lite/src/ccnl-core.c:218: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:219: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:219: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:221: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:223: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:223: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:224: warning: incompatible implicit declaration of built-in function 'memcpy'
jni/ccn-lite/src/ccnl-core.c:225: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:225: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:225: error: 'CCNL_MAX_IF_QLEN' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:226: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:228: warning: implicit declaration of function 'ccnl_ll_TX'
jni/ccn-lite/src/ccnl-core.c:216: warning: unused variable 'req'
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:240: error: expected declaration specifiers or '...' before 'sockunion'
jni/ccn-lite/src/ccnl-core.c:240: warning: 'struct ccnl_buf_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:240: warning: 'struct ccnl_if_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:240: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_interface_enqueue':
jni/ccn-lite/src/ccnl-core.c:244: warning: implicit declaration of function 'TRACEIN'
jni/ccn-lite/src/ccnl-core.c:245: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:247: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:248: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:250: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:250: error: 'CCNL_MAX_IF_QLEN' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:251: error: 'WARNING' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:255: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:255: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:255: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:256: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:257: warning: incompatible implicit declaration of built-in function 'memcpy'
jni/ccn-lite/src/ccnl-core.c:257: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:257: error: 'dest' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:257: error: 'sockunion' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:258: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:259: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:260: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:270: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_face_dequeue':
jni/ccn-lite/src/ccnl-core.c:273: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:274: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:274: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:276: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:277: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:278: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:279: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:279: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:280: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:281: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:282: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_face_CTS_done':
jni/ccn-lite/src/ccnl-core.c:289: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:298: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:298: error: conflicting types for 'ccnl_face_CTS'
jni/ccn-lite/src/ccnl-core.c:30: note: previous declaration of 'ccnl_face_CTS' was here
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_face_CTS':
jni/ccn-lite/src/ccnl-core.c:301: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:301: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:303: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:303: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:303: error: 'CCNL_FRAG_NONE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:304: warning: passing argument 1 of 'ccnl_face_dequeue' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:270: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:307: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:307: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:307: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:307: warning: passing argument 3 of 'ccnl_interface_enqueue' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:238: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:307: warning: passing argument 5 of 'ccnl_interface_enqueue' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:238: note: expected 'struct ccnl_buf_s *' but argument is of type 'struct ccnl_buf_s *'
jni/ccn-lite/src/ccnl-core.c:307: error: too many arguments to function 'ccnl_interface_enqueue'
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:332: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_face_enqueue':
jni/ccn-lite/src/ccnl-core.c:335: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:336: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:336: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:336: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:338: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:338: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:339: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:339: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:339: warning: implicit declaration of function 'memcmp'
jni/ccn-lite/src/ccnl-core.c:339: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:339: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:339: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:340: error: 'VERBOSE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:344: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:344: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:345: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:346: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:348: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:349: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:361: warning: passing argument 1 of 'ccnl_face_CTS' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:298: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:372: warning: 'struct ccnl_pkt_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:372: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_interest_new':
jni/ccn-lite/src/ccnl-core.c:375: error: invalid application of 'sizeof' to incomplete type 'struct ccnl_interest_s' 
jni/ccn-lite/src/ccnl-core.c:376: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:377: warning: implicit declaration of function 'ccnl_prefix_to_path'
jni/ccn-lite/src/ccnl-core.c:377: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:378: warning: implicit declaration of function 'ccnl_suite2str'
jni/ccn-lite/src/ccnl-core.c:378: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:381: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:382: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:384: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:384: error: 'CCNL_PIT_COREPROPAGATES' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:385: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:386: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:387: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_interest_append_pending':
jni/ccn-lite/src/ccnl-core.c:396: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:397: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:399: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:399: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:400: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:401: error: 'DEBUG' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:402: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:407: error: invalid application of 'sizeof' to incomplete type 'struct ccnl_pendint_s' 
jni/ccn-lite/src/ccnl-core.c:411: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:412: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:414: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:416: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:421: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_interest_propagate':
jni/ccn-lite/src/ccnl-core.c:430: error: 'DEBUG' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:436: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:436: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:437: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:441: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:441: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:441: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:443: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:443: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:443: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:447: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:447: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:447: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:447: error: 'CMP_LONGEST' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:450: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:451: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:454: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:454: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:454: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:455: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:455: error: 'CCNL_FACE_FLAGS_REFLECT' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:458: warning: implicit declaration of function 'ccnl_nfn_monitor'
jni/ccn-lite/src/ccnl-core.c:458: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:458: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:460: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:460: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:461: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:462: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:462: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:462: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:462: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:463: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:464: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:464: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:464: warning: implicit declaration of function 'ccnl_buf_new'
jni/ccn-lite/src/ccnl-core.c:464: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:464: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:464: warning: passing argument 1 of 'ccnl_face_enqueue' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:331: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:484: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:484: error: conflicting types for 'ccnl_interest_remove'
jni/ccn-lite/src/ccnl-core.c:163: note: previous implicit declaration of 'ccnl_interest_remove' was here
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_interest_remove':
jni/ccn-lite/src/ccnl-core.c:493: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:500: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:501: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:502: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:503: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:505: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:506: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:508: warning: implicit declaration of function 'free_packet'
jni/ccn-lite/src/ccnl-core.c:508: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:514: warning: 'struct ccnl_pkt_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_interest_isSame':
jni/ccn-lite/src/ccnl-core.c:516: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:516: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:517: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:517: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:517: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:517: error: 'CMP_EXACT' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:520: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:554: warning: 'struct ccnl_pkt_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:554: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_content_new':
jni/ccn-lite/src/ccnl-core.c:557: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:558: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:560: error: invalid application of 'sizeof' to incomplete type 'struct ccnl_content_s' 
jni/ccn-lite/src/ccnl-core.c:562: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:563: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:565: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:554: warning: unused parameter 'ccnl'
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:571: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_content_remove':
jni/ccn-lite/src/ccnl-core.c:574: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:576: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:577: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:580: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:581: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:582: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:583: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:588: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:593: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_content_add2cache':
jni/ccn-lite/src/ccnl-core.c:596: error: 'DEBUG' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:597: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:597: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:598: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:599: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:599: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:602: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:609: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:610: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:610: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:613: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:613: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:614: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:614: error: 'CCNL_CONTENT_FLAGS_STATIC' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:615: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:616: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:618: warning: passing argument 1 of 'ccnl_content_remove' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:571: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:620: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:621: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:629: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_content_serve_pending':
jni/ccn-lite/src/ccnl-core.c:634: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:636: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:636: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:637: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:637: error: 'CCNL_FACE_FLAGS_SERVED' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:639: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:642: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:645: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:694: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:699: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:700: error: 'WARNING' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:701: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:701: error: 'CCNL_CONTENT_FLAGS_STATIC' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:702: warning: passing argument 1 of 'ccnl_interest_remove' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:484: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:708: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:708: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:709: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:711: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:712: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:713: error: 'DEBUG' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:714: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:716: error: 'VERBOSE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:717: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:717: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:718: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:718: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:719: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:719: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:720: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:720: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:720: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:720: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:720: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:720: warning: passing argument 1 of 'ccnl_face_enqueue' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:331: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:722: warning: implicit declaration of function 'ccnl_app_RX'
jni/ccn-lite/src/ccnl-core.c:724: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:727: warning: passing argument 1 of 'ccnl_interest_remove' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:484: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_do_ageing':
jni/ccn-lite/src/ccnl-core.c:736: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:737: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:738: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:739: error: 'time_t' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:739: error: expected ';' before 't'
jni/ccn-lite/src/ccnl-core.c:740: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:740: error: 't' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:743: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:743: error: 'CCNL_CONTENT_TIMEOUT' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:744: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:744: error: 'CCNL_CONTENT_FLAGS_STATIC' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:745: warning: passing argument 1 of 'ccnl_content_remove' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:571: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:747: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:751: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:751: error: 'CCNL_INTEREST_TIMEOUT' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:752: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:752: error: 'CCNL_MAX_INTEREST_RETRANSMIT' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:753: error: 'DEBUG' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:754: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:755: warning: passing argument 1 of 'ccnl_interest_remove' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:484: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:759: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:760: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:764: warning: passing argument 1 of 'ccnl_interest_propagate' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:421: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:766: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:767: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:771: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:771: error: 'CCNL_FACE_FLAGS_STATIC' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:772: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:772: error: 'CCNL_FACE_TIMEOUT' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:773: warning: passing argument 1 of 'ccnl_face_remove' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:134: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:776: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:733: warning: unused parameter 'dummy'
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:781: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_nonce_find_or_append':
jni/ccn-lite/src/ccnl-core.c:785: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:787: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:787: warning: left-hand operand of comma expression has no effect
jni/ccn-lite/src/ccnl-core.c:787: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:787: warning: left-hand operand of comma expression has no effect
jni/ccn-lite/src/ccnl-core.c:788: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:788: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:788: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:788: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:788: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:790: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:793: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:793: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:795: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:795: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:796: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:797: error: 'CCNL_MAX_NONCES' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:798: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:799: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:806: warning: 'struct ccnl_pkt_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:806: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_nonce_isDup':
jni/ccn-lite/src/ccnl-core.c:808: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:806: warning: unused parameter 'relay'
In file included from jni/ccn-lite/src/ccnl-core.c:828:
jni/ccn-lite/src/ccnl-pkt-switch.c: In function 'ccnl_enc2str':
jni/ccn-lite/src/ccnl-pkt-switch.c:47: error: 'CCNL_ENC_CCNB' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:48: error: 'CCNL_ENC_NDN2013' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:49: error: 'CCNL_ENC_CCNX2014' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:50: error: 'CCNL_ENC_CISCO2015' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:51: error: 'CCNL_ENC_IOT2014' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:52: error: 'CCNL_ENC_LOCALRPC' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c: In function 'ccnl_enc2suite':
jni/ccn-lite/src/ccnl-pkt-switch.c:64: error: 'CCNL_ENC_CCNB' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:64: error: 'CCNL_SUITE_CCNB' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:65: error: 'CCNL_ENC_NDN2013' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:65: error: 'CCNL_SUITE_NDNTLV' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:66: error: 'CCNL_ENC_CCNX2014' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:66: error: 'CCNL_SUITE_CCNTLV' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:67: error: 'CCNL_ENC_CISCO2015' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:67: error: 'CCNL_SUITE_CISTLV' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:68: error: 'CCNL_ENC_IOT2014' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:68: error: 'CCNL_SUITE_IOTTLV' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:69: error: 'CCNL_ENC_LOCALRPC' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-switch.c:69: error: 'CCNL_SUITE_LOCALRPC' undeclared (first use in this function)
In file included from jni/ccn-lite/src/ccnl-core.c:831:
jni/ccn-lite/src/ccnl-pkt-ccntlv.c: In function 'ccnl_ccntlv_dehead':
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:81: warning: implicit declaration of function 'ntohs'
jni/ccn-lite/src/ccnl-pkt-ccntlv.c: In function 'ccnl_ccntlv_bytes2pkt':
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:98: error: 'DEBUG' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:100: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:102: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:104: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:104: error: 'CCNL_SUITE_CCNTLV' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:104: error: 'CCNL_MAX_NAME_COMP' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:109: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:116: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:117: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:118: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:128: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:138: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:138: warning: implicit declaration of function 'ccnl_malloc'
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:141: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:142: error: 'WARNING' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:145: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:146: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:146: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:147: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:147: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:148: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:151: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:152: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:152: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:153: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:153: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:154: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:160: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:160: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:180: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:189: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:190: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:202: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:203: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:204: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:207: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:208: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:208: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:208: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:209: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:210: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:210: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:210: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:211: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:212: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:212: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ccntlv.c:212: error: dereferencing pointer to incomplete type
In file included from jni/ccn-lite/src/ccnl-core.c:832:
jni/ccn-lite/src/ccnl-pkt-cistlv.c: In function 'ccnl_cistlv_bytes2pkt':
jni/ccn-lite/src/ccnl-pkt-cistlv.c:86: error: 'DEBUG' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-cistlv.c:89: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:91: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-cistlv.c:93: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:93: error: 'CCNL_SUITE_CISTLV' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-cistlv.c:93: error: 'CCNL_MAX_NAME_COMP' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-cistlv.c:98: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:105: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:106: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:107: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:117: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:127: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:130: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:131: error: 'WARNING' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-cistlv.c:134: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:135: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:135: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:136: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:136: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:137: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:140: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:141: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:141: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:142: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:142: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:143: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:149: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:149: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:164: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:170: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:171: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:183: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:184: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:185: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:188: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:189: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:189: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:189: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:190: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:191: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:191: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:191: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:192: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:193: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:193: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-cistlv.c:193: error: dereferencing pointer to incomplete type
In file included from jni/ccn-lite/src/ccnl-core.c:834:
jni/ccn-lite/src/ccnl-pkt-ndntlv.c: In function 'ccnl_ndntlv_varlenint':
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:41: error: 'uint16_t' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:41: error: expected expression before ')' token
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:45: warning: implicit declaration of function 'ntohl'
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:45: error: 'uint32_t' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:45: error: expected expression before ')' token
jni/ccn-lite/src/ccnl-pkt-ndntlv.c: In function 'ccnl_ndntlv_bytes2pkt':
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:86: error: 'DEBUG' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:88: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:90: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:91: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:91: error: 'CCNL_SUITE_NDNTLV' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:91: error: 'CCNL_MAX_NAME_COMP' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:96: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:98: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:99: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:100: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:101: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:110: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:115: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:117: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:120: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:122: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:122: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:123: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:123: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:124: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:129: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:129: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:149: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:153: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:156: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:159: error: 'WARNING' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:169: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:172: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:175: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:176: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:197: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:214: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:215: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:216: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:219: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:220: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:220: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:220: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:221: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:222: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:222: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:222: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:223: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:224: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:224: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-pkt-ndntlv.c:224: error: dereferencing pointer to incomplete type
In file included from jni/ccn-lite/src/ccnl-core.c:837:
jni/ccn-lite/src/ccnl-core-fwd.c: At top level:
jni/ccn-lite/src/ccnl-core-fwd.c:26: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core-fwd.c: In function 'ccnl_fwd_handleContent':
jni/ccn-lite/src/ccnl-core-fwd.c:30: error: 'DEBUG' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-fwd.c:30: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:42: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:42: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:43: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:43: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:43: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:43: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:43: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:43: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:43: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:46: warning: passing argument 1 of 'ccnl_content_new' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:554: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core-fwd.c:46: warning: passing argument 2 of 'ccnl_content_new' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:554: note: expected 'struct ccnl_pkt_s **' but argument is of type 'struct ccnl_pkt_s **'
jni/ccn-lite/src/ccnl-core-fwd.c:58: warning: passing argument 1 of 'ccnl_content_serve_pending' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:629: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core-fwd.c:61: warning: implicit declaration of function 'free_content'
jni/ccn-lite/src/ccnl-core-fwd.c:64: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:66: warning: passing argument 1 of 'ccnl_content_add2cache' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:593: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core-fwd.c:25: warning: unused parameter 'from'
jni/ccn-lite/src/ccnl-core-fwd.c: In function 'ccnl_pkt_fwdOK':
jni/ccn-lite/src/ccnl-core-fwd.c:79: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c: At top level:
jni/ccn-lite/src/ccnl-core-fwd.c:97: error: expected declaration specifiers or '...' before 'cMatchFct'
jni/ccn-lite/src/ccnl-core-fwd.c:97: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core-fwd.c: In function 'ccnl_fwd_handleInterest':
jni/ccn-lite/src/ccnl-core-fwd.c:102: error: 'DEBUG' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-fwd.c:103: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:104: warning: passing argument 1 of 'ccnl_nonce_isDup' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:806: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core-fwd.c:104: warning: passing argument 2 of 'ccnl_nonce_isDup' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:806: note: expected 'struct ccnl_pkt_s *' but argument is of type 'struct ccnl_pkt_s *'
jni/ccn-lite/src/ccnl-core-fwd.c:119: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:119: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:120: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:120: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:122: warning: implicit declaration of function 'cMatch'
jni/ccn-lite/src/ccnl-core-fwd.c:126: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:127: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:127: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:128: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:129: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:129: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:129: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:129: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-fwd.c:129: warning: passing argument 1 of 'ccnl_face_enqueue' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:331: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core-fwd.c:143: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:143: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core-fwd.c:144: warning: passing argument 2 of 'ccnl_interest_isSame' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:514: note: expected 'struct ccnl_pkt_s *' but argument is of type 'struct ccnl_pkt_s *'
jni/ccn-lite/src/ccnl-core-fwd.c:156: warning: passing argument 1 of 'ccnl_interest_new' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:371: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core-fwd.c:156: warning: passing argument 3 of 'ccnl_interest_new' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:371: note: expected 'struct ccnl_pkt_s **' but argument is of type 'struct ccnl_pkt_s **'
jni/ccn-lite/src/ccnl-core-fwd.c:163: warning: passing argument 1 of 'ccnl_interest_propagate' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:421: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:839: error: 'CCNL_SUITE_LAST' undeclared here (not in a function)
jni/ccn-lite/src/ccnl-core.c:843: warning: 'struct sockaddr' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c:843: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_core_RX':
jni/ccn-lite/src/ccnl-core.c:848: error: 'dispatchFct' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:848: error: expected ';' before 'dispatch'
jni/ccn-lite/src/ccnl-core.c:850: error: 'DEBUG' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:852: warning: passing argument 1 of 'ccnl_get_face_or_create' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:72: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:852: warning: passing argument 3 of 'ccnl_get_face_or_create' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:72: note: expected 'struct sockaddr *' but argument is of type 'struct sockaddr *'
jni/ccn-lite/src/ccnl-core.c:862: warning: implicit declaration of function 'ccnl_pkt2suite'
jni/ccn-lite/src/ccnl-core.c:865: error: 'WARNING' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:870: error: 'dispatch' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:872: error: 'ERROR' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:876: warning: implicit declaration of function 'dispatch'
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_core_addToCleanup':
jni/ccn-lite/src/ccnl-core.c:924: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c: At top level:
jni/ccn-lite/src/ccnl-core.c:929: warning: 'struct ccnl_relay_s' declared inside parameter list
jni/ccn-lite/src/ccnl-core.c: In function 'ccnl_core_cleanup':
jni/ccn-lite/src/ccnl-core.c:933: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core.c:935: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:936: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:936: warning: passing argument 1 of 'ccnl_interest_remove' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:484: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:937: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:938: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:938: warning: passing argument 1 of 'ccnl_face_remove' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:134: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:939: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:940: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:941: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:942: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:943: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:945: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:946: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:946: warning: passing argument 1 of 'ccnl_content_remove' from incompatible pointer type
jni/ccn-lite/src/ccnl-core.c:571: note: expected 'struct ccnl_relay_s *' but argument is of type 'struct ccnl_relay_s *'
jni/ccn-lite/src/ccnl-core.c:947: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:948: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:949: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:950: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:952: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:953: error: dereferencing pointer to incomplete type
jni/ccn-lite/src/ccnl-core.c:956: error: dereferencing pointer to incomplete type
In file included from jni/ccn-lite/src/ccnl-core-util.c:26,
                 from jni/ccn-lite/src/ccnl-core.c:966:
jni/ccn-lite/src/ccnl-core.h: At top level:
jni/ccn-lite/src/ccnl-core.h:46: error: field 'sa' has incomplete type
jni/ccn-lite/src/ccnl-core.h:50: error: field 'ip4' has incomplete type
jni/ccn-lite/src/ccnl-core.h:80: error: 'CCNL_MAX_IF_QLEN' undeclared here (not in a function)
jni/ccn-lite/src/ccnl-core.h:85: error: expected specifier-qualifier-list before 'time_t'
In file included from jni/ccn-lite/src/ccnl-core.c:966:
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_is_local_addr':
jni/ccn-lite/src/ccnl-core-util.c:196: error: 'AF_INET' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c:197: warning: implicit declaration of function 'htonl'
jni/ccn-lite/src/ccnl-core-util.c: At top level:
jni/ccn-lite/src/ccnl-core-util.c:230: error: conflicting types for 'ccnl_suite2str'
jni/ccn-lite/src/ccnl-core.c:378: note: previous implicit declaration of 'ccnl_suite2str' was here
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_suite2str':
jni/ccn-lite/src/ccnl-core-util.c:230: warning: unused parameter 'suite'
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_suite2defaultPort':
jni/ccn-lite/src/ccnl-core-util.c:256: warning: unused parameter 'suite'
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_prefix_new':
jni/ccn-lite/src/ccnl-core-util.c:290: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c: In function 'hex2int':
jni/ccn-lite/src/ccnl-core-util.c:309: warning: implicit declaration of function 'tolower'
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_pkt_mkComponent':
jni/ccn-lite/src/ccnl-core-util.c:362: warning: incompatible implicit declaration of built-in function 'memcpy'
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_pkt_prependComponent':
jni/ccn-lite/src/ccnl-core-util.c:372: warning: implicit declaration of function 'strlen'
jni/ccn-lite/src/ccnl-core-util.c:372: warning: incompatible implicit declaration of built-in function 'strlen'
jni/ccn-lite/src/ccnl-core-util.c:374: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c:378: warning: incompatible implicit declaration of built-in function 'memcpy'
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_URItoComponents':
jni/ccn-lite/src/ccnl-core-util.c:416: error: 'CCNL_MAX_NAME_COMP' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c:432: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_URItoPrefix':
jni/ccn-lite/src/ccnl-core-util.c:442: error: 'CCNL_MAX_NAME_COMP' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c:446: error: 'TRACE' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c:449: warning: incompatible implicit declaration of built-in function 'strlen'
jni/ccn-lite/src/ccnl-core-util.c:459: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c:476: warning: assignment makes pointer from integer without a cast
jni/ccn-lite/src/ccnl-core-util.c:504: warning: assignment makes pointer from integer without a cast
jni/ccn-lite/src/ccnl-core-util.c:443: warning: unused variable 'complens'
jni/ccn-lite/src/ccnl-core-util.c:442: warning: unused variable 'compvect'
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_prefix_dup':
jni/ccn-lite/src/ccnl-core-util.c:529: warning: assignment makes pointer from integer without a cast
jni/ccn-lite/src/ccnl-core-util.c:532: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c:538: warning: incompatible implicit declaration of built-in function 'memcpy'
jni/ccn-lite/src/ccnl-core-util.c:543: warning: assignment makes pointer from integer without a cast
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_prefix_appendCmp':
jni/ccn-lite/src/ccnl-core-util.c:562: error: 'CCNL_MAX_NAME_COMP' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c:573: warning: incompatible implicit declaration of built-in function 'memcpy'
In file included from jni/ccn-lite/src/ccnl-core.c:966:
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_prefix_addChunkNum':
jni/ccn-lite/src/ccnl-core-util.c:598: error: 'WARNING' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c: At top level:
jni/ccn-lite/src/ccnl-core-util.c:739: warning: conflicting types for 'free_packet'
jni/ccn-lite/src/ccnl-core.c:508: note: previous implicit declaration of 'free_packet' was here
jni/ccn-lite/src/ccnl-core-util.c: In function 'free_packet':
jni/ccn-lite/src/ccnl-core-util.c:761: error: 'CCNL_SUITE_CISTLV' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c:762: error: 'CCNL_SUITE_IOTTLV' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c: At top level:
jni/ccn-lite/src/ccnl-core-util.c:776: error: conflicting types for 'ccnl_addr2ascii'
jni/ccn-lite/src/ccnl-core.c:81: note: previous implicit declaration of 'ccnl_addr2ascii' was here
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_addr2ascii':
jni/ccn-lite/src/ccnl-core-util.c:790: error: 'AF_INET' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c:791: warning: implicit declaration of function 'sprintf'
jni/ccn-lite/src/ccnl-core-util.c:791: warning: incompatible implicit declaration of built-in function 'sprintf'
jni/ccn-lite/src/ccnl-core-util.c:791: warning: implicit declaration of function 'inet_ntoa'
jni/ccn-lite/src/ccnl-core-util.c:803: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c: In function 'ccnl_prefix_to_path_detailed':
jni/ccn-lite/src/ccnl-core-util.c:821: error: 'NULL' undeclared (first use in this function)
jni/ccn-lite/src/ccnl-core-util.c:875: warning: incompatible implicit declaration of built-in function 'sprintf'
jni/ccn-lite/src/ccnl-core-util.c:815: warning: unused parameter 'ccntlv_skip'
jni/ccn-lite/src/ccnl-core-util.c:816: warning: unused parameter 'call_slash'
make: *** [obj/local/armeabi/objs/ccn-lite/ccnl-core.o] Error 1

ndk-build on a windows host:

:app:ndkBuild
Android NDK: WARNING: Unsupported source file extensions in jni/ccn-lite/src/Android.mk for module ccn-lite    
Android NDK:   util/ccnl-socket.c)    
make.exe: Entering directory `C:/Users/DavidJ/AndroidStudioProjects/CCN-lite-droid/app/src/main'
[armeabi] Compile thumb  : ccn-lite <= ccn-lite-lnxkernel.c

In file included from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:18:0,
                 from jni/ccn-lite/src/ccnl-os-includes.h:75,
                 from jni/ccn-lite/src/ccn-lite-lnxkernel.c:46:
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/time.h:20:2: error: unknown type name 'time_t'
  time_t tv_sec;
  ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/time.h:26:2: error: unknown type name 'time_t'
  time_t tv_sec;
  ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/time.h:27:2: error: unknown type name 'suseconds_t'
  suseconds_t tv_usec;
  ^
In file included from jni/ccn-lite/src/ccnl-os-includes.h:75:0,
                 from jni/ccn-lite/src/ccn-lite-lnxkernel.c:46:
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:42: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:42: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:42: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:42: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:74: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:74: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:74: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:74: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:93: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:93: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:93: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:106: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:106: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:106: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:106: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:71:29: note: in expansion of macro 'TICK_NSEC'
 #if !((NSEC_PER_SEC << 2) / TICK_NSEC << SEC_JIFFIE_SC - 2 & 0x80000000)
                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:87:33: error: division by zero in #if
 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC)
                                 ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:91:33: error: division by zero in #if
 #elif HZ > USEC_PER_SEC && !(HZ % USEC_PER_SEC)
                                 ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:95:33: error: division by zero in #if
 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC)
                                 ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:99:33: error: division by zero in #if
 #elif HZ > USEC_PER_SEC && !(HZ % USEC_PER_SEC)
                                 ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:42: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:42: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:42: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:42: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:74: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:74: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:74: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:74: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:93: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:93: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:93: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:106: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:106: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:106: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:106: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:15: error: division by zero in #if
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
               ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:102:30: error: division by zero in #if
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:105:8: error: division by zero in #if
 #if HZ % USER_HZ == 0
        ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:42: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:42: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:42: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:42: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:74: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:74: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:74: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:74: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:93: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:93: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:93: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                             ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:106: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:106: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:106: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:40:41: error: division by zero in #if
 #define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)  
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:44:106: note: in definition of macro 'SH_DIV'
 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH))   + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
                                                                                                          ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:16: note: in expansion of macro 'SH_DIV'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:46:41: note: in expansion of macro 'LATCH'
 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8))
                                         ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:50:46: note: in expansion of macro 'ACTHZ'
 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8))
                                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:5: note: in expansion of macro 'TICK_NSEC'
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
     ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:15: error: division by zero in #if
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
               ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:108:30: error: division by zero in #if
 #if TICK_NSEC % NSEC_PER_SEC / USER_HZ == 0
                              ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/jiffies.h:111:18: error: division by zero in #if
 #if NSEC_PER_SEC % USER_HZ == 0
                  ^
In file included from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/lockdep.h:16:0,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/spinlock_types.h:15,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/spinlock.h:32,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/module.h:16,
                 from jni/ccn-lite/src/ccnl-os-includes.h:77,
                 from jni/ccn-lite/src/ccn-lite-lnxkernel.c:46:
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/list.h:15:2: warning: #warning "don't include kernel headers in userspace" [-Wcpp]
 #warning "don't include kernel headers in userspace"
  ^
In file included from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/arch/hardware.h:20:0,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/hardware.h:15,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/arch/irqs.h:236,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/irq.h:15,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/hardirq.h:17,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/hardirq.h:18,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm-generic/local.h:16,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/local.h:12,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/module.h:26,
                 from jni/ccn-lite/src/ccnl-os-includes.h:77,
                 from jni/ccn-lite/src/ccn-lite-lnxkernel.c:46:
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/arch/io.h:34:16: error: unknown type name 'u16'
 typedef struct { volatile u16 offset[256]; } __regbase16;
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/arch/io.h:38:16: error: unknown type name 'u8'
 typedef struct { volatile u8 offset[4096]; } __regbase8;
                ^
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/arch/io.h:42:16: error: unknown type name 'u32'
 typedef struct { volatile u32 offset[4096]; } __regbase32;
                ^
In file included from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/hardware.h:15:0,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/arch/irqs.h:236,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/irq.h:15,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/hardirq.h:17,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/hardirq.h:18,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm-generic/local.h:16,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/local.h:12,
                 from C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/linux/module.h:26,
                 from jni/ccn-lite/src/ccnl-os-includes.h:77,
                 from jni/ccn-lite/src/ccn-lite-lnxkernel.c:46:
C:/tools/android-ndk-r10d/platforms/android-3/arch-arm/usr/include/asm/arch/hardware.h:148:21: fatal error: omap730.h: No such file or directory
 #include "omap730.h"
                     ^
compilation terminated.
make.exe: *** [obj/local/armeabi/objs/ccn-lite/ccn-lite-lnxkernel.o] Error 1

make.exe: Leaving directory `C:/Users/DavidJ/AndroidStudioProjects/CCN-lite-droid/app/src/main'
:app:ndkBuild FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:ndkBuild'.
> Process 'command 'ndk-build.cmd'' finished with non-zero exit value 2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
@truedat101 truedat101 changed the title Please update build to allow successful Android NDK build Please update source preprocessor directives to allow successful Android NDK build Apr 18, 2015
@truedat101
Copy link
Author

I will need to walk through the errors to see exactly what is missing in the NDK r10 and what proposed changes either in source dependencies or preprocessor directives to make a successful build.

@truedat101
Copy link
Author

I've updated the issue to provide the build output on a linux host as well as on a windows host. Theoretically, it should be equally possible to build on a Windows host for an Android target. However, path name length can be a problem.

@blacksheeep
Copy link
Contributor

You cannot build on windows. On linux should work fine with V2

@truedat101
Copy link
Author

Ok, sounds good, I guess it's never too late to provide a good answer : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants