Giter Site home page Giter Site logo

cn-uofbasel / ccn-lite Goto Github PK

View Code? Open in Web Editor NEW
74.0 18.0 63.0 16.26 MB

CCN-lite, a lightweight implementation of the CCNx protocol and its variations

License: ISC License

Makefile 0.56% C 93.84% Python 1.89% Shell 0.56% Java 1.52% CMake 1.58% Dockerfile 0.06%
icn ndn ccnx ccnx-protocol iot-platform networking interoperability ccn-forwarder ccn-lite

ccn-lite's People

Contributors

basilkohler avatar benpicco avatar blacksheeep avatar cgundogan avatar chrysn avatar cmarxer avatar dimamansour avatar drummerb avatar fzi-haxel avatar jf87 avatar jpfender avatar kaspar030 avatar lukasbeck avatar mahdibaghbani avatar maribu avatar marvsz avatar mfrey avatar michelrottleuthner avatar miri64 avatar oleghahm avatar peterkietzmann avatar r0estir0bbe avatar s3lph avatar smlng avatar thmeyerch avatar tschudin avatar wufucious avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ccn-lite's Issues

Makefile flags

I took the idea with the USE_XXX flags from the git Makefile. So in general, this method of providing different features for the build (and documenting them as a comment) seems to be standard practice.
They also use negative flags with the format NO_XXX.

ccn-lite-simplenfn creates malformed nfn interests

Interest should contain @x and x (correct abstraction for forwarding), but missing

call 2 /func/f1 /data/d1
--> should be: /data/d1 @x call 2 /func/f1 x
bit it acutal is: /data/d1 call 2 /func/f1, which cannot be interpreted correctly by the abstract machine.
Furthermore, reformating on the client side is against the NFN idea.

Memory leak in ccnl_prefix_to_path

The function ccnl_prefix_to_path is used in many places inside a DEBUGMSG macro. Unfortunately, ccnl_prefix_to_path calls malloc() and returns the allocated buffer, but since this buffer gets only printed, it will never be freed again.

cleanup of test skripts

Started this work with demo-relay (and demo-relay-fetch which should be unified later).

Still a lot of old, untested stuff:

  • fragmentation
  • interop-SYNCoEth-XLLX-a
  • interop-peering-LXXL
  • test-digest

EthernetV2_0.h Include Issue - Ardruino

I am working on CCN-Lite for Arduino Uno. I have downloaded EthernetV2 libraries but have a problem including them in the project.
Can someone guide me in this process?

Regards,
Umair

buffer overwrite problem in ccn-lite-peek.c

I ran into a problem with a buffer overwrite problem (ccntlv branch on Ubuntu Linux). Couldn't find the cause; here's the workaround:

@@ -200,11 +199,11 @@


 // ----------------------------------------------------------------------
+unsigned char out[8096];

 int
 main(int argc, char *argv[])
 {
-    unsigned char out[64*1024];
     int cnt, len, opt, sock = 0, suite = CCNL_SUITE_NDNTLV;
     char *udp = NULL, *ux = NULL;
     struct sockaddr sa;

how to differenciate between a chunked content object and a "singe" content object in fetch?

Since CCNTLV does only exact matches, it is not possible to just send the name and expect either a "single" content object or a chunk.

Suggestion:
CCNTLV -> every content object is a junk (single content object only one chunk 0) -> request always with c=0
NDNTLV -> normal name for single objects and chunk names for chunked objects -> first request with normal name and expect either a single object or a chunk object

the cache in ccn-lite (python ,API )

I try to use python API to build my own application (https://github.com/cn-uofbasel/ccn-lite/tree/master/test/py)

but I found that after I changed (Https://github.com/cn-uofbasel/ccn-lite/blob/master/src/py/pubfunc/myNamedFunctions.py) the myNamedFunctions.py file, I still get the same content from the function.

for example : change def returnHelloWorld():
return "Hello World" to return "others"

after changed the return value, I still got the same reply("Hello world", not "others").
then I checked the log , if " face_remove relay=****** " is done, my changes in myNamedFunctions.py will soon become available
I also stopped add content to cache in "ccnl-core.c"
how to eliminate the old return value after I changed the myNamedFunctions.py ?
I need help.

is_content_local_available for chunk names

The abstract machine does not differentiate a name representing content from the a chunked content object name. The local content search therefore fails for chunked content objects (no exact match for non-chunk name).

ccnl_prefix_new takes cnt but sets the field compcnt to zero

The function ccnl_prefix_new in ccnl-util is used to create and allocate the fields for a prefix.
it allocates the memory, but it do set the field compcnt to the number of allocated components.

However some utilities take usage of this, so it cannot be changed directly.

For ccnl_nfnprefix_mkComputePrefix and ccnl_nfnprefix_mkCallPrefix the field compcnt was not set. This part i fixed by setting the field manually. But it would be better to set the field by the function ccnl_prefix_new.

[patch] ccn-lite-relay: simultaneously use IPv4 and IPv6

Hi!

We had the need for relaying CCN messages between IPv4 and IPv6, so I made the attached modifications to ccn-lite-relay.c and needed support files to enable simultaneous use of IPv4 and IPv6.

This "works for me", but is by no means perfect. If you are interested in incorporating the code, but have feedback, I would be happy to make some further work on it. I have for instance deliberately not changed indentation in some places in order to minimise the diff.

(Let me know if it is more convenient for you to pull the code from my repo instead.)

Bengt

0001-WIP-on-enabling-use-of-UDP-IPv4-and-UDP-IPv6-faces-s.patch.txt
0002-Completed-changes-for-simultaneous-USE_IPV4-and-USE_.patch.txt

interest retransmit needs new nonce

in case an interest needs to get re-transmitted, its currently send again. But if nonces are enabled, it is dropped by any receiver who had seen the original interest.

reduce all branches to master

Having topic branches on the canonical repo creates stale code.

Please could a development contract be adopted which mandates all code goes into master via pull requests. Preferably adopting something like: http://rfc.zeromq.org/spec:22 . This approach in effect turns the codebase into a kind of wiki driven development, it gets more eyeballs using master and fixing errors as they happen. Much like the approach they use in OpenBSD.

Please throw away all these useless branches.

Travis not working anymore

A lot of test errors in travis. Requires Updating or removing runtime tests and focusing on build test.

Fail to compile with the master branch under Ubuntu 14.04

Hello. I am trying to compiling and install ccn-lite on my Ubuntu 14.04. My kernel version is 3.19.0-25-generic. I follow all instruction from https://github.com/cn-uofbasel/ccn-lite/blob/master/doc/README-kernel.md and https://github.com/cn-uofbasel/ccn-lite/blob/master/doc/README-unix.md. I set all parameters needed in my ~/.bashrc.

I am able to compile the 0.0.3 release version in my Ubuntu. But when I try the latest version of the master branch, something strange happen.

wufucious@wufucious:~/ccn-lite-master/src$ make all
*** Configuring for Linux ***
*** With Linux Kernel ***
make modules
*** Configuring for Linux ***
** With Linux Kernel ***
make[1]: Entering directory /home/wufucious/ccn-lite-master/src' make -C /lib/modules/uname -r/build M=pwdV=1 modules make[2]: Entering directory/usr/src/linux-headers-3.19.0-25-generic'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
echo >&2;
echo >&2 " ERROR: Kernel configuration is invalid.";
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it.";
echo >&2 ;
/bin/false)
mkdir -p /home/wufucious/ccn-lite-master/src/.tmp_versions ; rm -f /home/wufucious/ccn-lite-master/src/.tmp_versions/

make -f ./scripts/Makefile.build obj=/home/wufucious/ccn-lite-master/src
*** Configuring for Linux ***
*** With Linux Kernel ***
gcc -Wp,-MD,/home/wufucious/ccn-lite-master/src/.ccn-lite-lnxkernel.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -g -std=gnu99 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ccn_lite_lnxkernel)" -D"KBUILD_MODNAME=KBUILD_STR(ccn_lite_lnxkernel)" -c -o /home/wufucious/ccn-lite-master/src/.tmp_ccn-lite-lnxkernel.o /home/wufucious/ccn-lite-master/src/ccn-lite-lnxkernel.c
In file included from /home/wufucious/ccn-lite-master/src/ccn-lite-lnxkernel.c:49:0:
/home/wufucious/ccn-lite-master/src/ccnl-core.h:90:9: error: duplicate member ‘sock’
int sock;
^
In file included from /home/wufucious/ccn-lite-master/src/ccnl-os-time.c:25:0,
from /home/wufucious/ccn-lite-master/src/ccn-lite-lnxkernel.c:110:
/home/wufucious/ccn-lite-master/src/ccnl-headers.h:7:22: fatal error: sys/time.h: No such file or directory
#include <sys/time.h>
^
compilation terminated.
make[3]: *** [/home/wufucious/ccn-lite-master/src/ccn-lite-lnxkernel.o] Error 1
make[2]: *** [module/home/wufucious/ccn-lite-master/src] Error 2
make[2]: Leaving directory /usr/src/linux-headers-3.19.0-25-generic' make[1]: *** [modules] Error 2 make[1]: Leaving directory/home/wufucious/ccn-lite-master/src'
make: *** [ccn-lite-lnxkernel] Error 2

Why? How to fix it?
Thanks very much.

Please update source preprocessor directives to allow successful Android NDK build

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

sendto failure in util/ccn-lite-peek.c

Here's a fix I had to make to util/ccn-lite-peek.c so the sendto call would work (ccntlv branch on Ubuntu Linux):

@@ -324,7 +323,7 @@

         len = mkInterest(prefix, &nonce, out, sizeof(out));

-        if (sendto(sock, out, len, 0, &sa, sizeof(sa)) < 0) {
+        if (sendto(sock, out, len, 0, (struct sockaddr*)&sa, sizeof(struct sockaddr_un)) < 0) {
             perror("sendto");
             myexit(1);
         }

explicitly name c standard

in the projects Makefile there's no -std=c99 so compiler behavior is not consistent. currently building with std=c99 fails due to missing includes.

the code is not fully complaint to C90, rather than C99 or C11

clang also refuses to compile

meaning of debug_level

Meaning of debug_level not documented or defined.

suggestion:

  • 1 fatal
  • 2 error
  • 3 warning
  • 4 info
  • 5 debug
  • 6 verbose

Inconsistent enduser API

  • mkContent, fillContent, fillContentWithHdr, ...
  • some function do not move content to the beginning of the buffer

Import inet.linklayer.IwiredNic

Am running omnet++ in windows

Error says imported NED type not found: 'inet.linklayer.IwiredNic'

and also theirs a problem in inet/common

changes in ccnl-ext-mgmt.c doesn't apply after first make

Hi,

We're trying to implement ccnl_mgmt_prefixunreg(ccnl, orig, prefix, from), and we are encountering an issue.

If we Make the project, everything runs as intended. If we then write changes in the ccnl-ext-mgmt.c file, and do a Make clean all, the changes we've made isn't reflected when the ccnl-lite-ctrl is ran.

Example:

Scenario 1:
We run
ccn-lite-ctrl -x /tmp/mgmt-relay-a.sock prefixreg /ndn $FACEID ndn2013
and get output


ccnx

prefixreg



prefixreg cmd worked
/ndn
70
6


Scenario 2:
We change the
cp = "prefixreg cmd worked"; // in ccnl-ext-mgmt.c
to
cp = "Change in string"; //// in ccnl-ext-mgmt.c
run Make clean all and then
ccn-lite-ctrl -x /tmp/mgmt-relay-a.sock prefixreg /ndn $FACEID ndn2013
and the output is still


ccnx

prefixreg



prefixreg cmd worked
/ndn
70
6


So changes we make in the ccnl-ext-mgmt.c isn't reflected during runtime. Altough if we do not Make project after we cloned it, do our editing, and then Make, our changes are reflected. So somehow it appears that the old code is run even after a Make clean all.

inconsistent naming convention

example: pkt-ccntlv-enc.c: ccnl_ccntlv_fillContentWithHdr instead of ccnl_ccntlv_fill_content_with_hdr

what should the convention be? Always a_b?

Very high inode usage for ccn-lite-flic in combination with ccn-lite-repo256

When ccn-lite-flic is used to transform larger files into the flic format in order to be served using ccn-lite-repo256, the inode usage increases rapidly. A test machine ran out of inodes (of the 5029888 available) multiple times while importing gigabytes of data into ccn-lite-repo256 which caused ccn-lite-flic to abort. This appears to be an inherent property of ccn-lite-repo256 since it creates a new file (and therefore uses an inode) for every packet it stores.

CCN-lite's git history is broken

As pointed out in #114 some changes were removed (accidentally). With some analysis I identified 871175a as the culprit. It merged timeout_prevention into master, but it seems like that merge conflicts were not resolved properly. Its parent that was previously master is 4cec945 and you can easily spot, that changes to certain files are not available anymore:

$ git log --oneline 4cec945 -- src/ccnl-core.c | grep a6045be # commit from #114
a6045be cache: remove oldest value and do not overrun
$ git log --oneline 871175a -- src/ccnl-core.c | grep a6045be | wc -l
0

why does a relay need a suite?

relay functionality is suite independant anyway.
suite mainly used to parse directory.

suggestion: -d ../dir/

dir/
|ccnx2014/
|__ndn2013/
|__ccnb/
|
...

Includes in ccnl-core-fwd.c

Hello!

I am trying to implement a broadcast message that sends interests from a relay (lets call it Relay A) to all neighbour nodes (only Relay B in this example), to which all Relay B would respond with another interest message so that faces can be created. I have for the time being created a management command in ccnl-ext-mgmt.c, which allows Relay A to contact Relay B with an interest through UDP. This works fine.

However, when i try to write similar code in ccnl-core-fwd.c to respond to Relay A, the compiler is returning errors saying "undefined reference to `ccntlv_mkInterest'". As far as I can see ccnl-ext-mgmt.c and ccnl-core-fwd.c have the same dependencies but this doesn't work anyway.

Do I need to include something in ccnl-core-fwd.c? What am I missing?

Best regards,
Andrew Aziz

Shutdown Android relay?

Hey guys,

In the Ubuntu implementation of ccn-lite you're able to shutdown the relay by setting the halt flag to 1.

But in the Android implementation the loop works differently.

How do you safely shut down the JNI instance of the Android relay?

Thanks
Max

more error messages

Example:missing implementation of suite should print a debug or error message instead of a silent return

Parsing %FD in names fails in NFN

An NFN interest containing %FD in the name is not correctly parsed by NFN/ccn-lite-relay.
When passing a reply message to scala, the encoding will be wrong.

To reproduce:

ccn-nfn-relay -v 99 -u 9000 -x /tmp/mgmt.sock

java -jar ./target/scala-2.10/nfn-assembly-0.2.0.jar -m /tmp/mgmt.sock -o 9000 -p 9001 -d -r /ndn/ch/unibas/NDNfit

ccn-lite-ctrl -x /tmp/mgmt.sock newUDPface any 128.97.98.8 6363

ccn-lite-ctrl -x /tmp/mgmt.sock prefixreg /org/openmhealth 9

ccn-lite-simplenfn -u 127.0.0.1/9000 "call 3 /ndn/ch/unibas/NDNfit/orgOpenmhealth_services_PointCount 'z8miG6uIvHZBqdXyExbd0BIyB1CGRzQQ81T6b2xHuc8qTKnopYFri3WEzeUt' '%fc%00%00%01%52%65%17%ba%c0'"

adding newUDP6face to ccn-lite-relay fail

Hello,

I start an ccn-lite-relay and use ccn-lite-ctrl to add UDP faces:
wufucious@sony:~/ccn-lite/src$ ccn-lite-relay -v trace -s ndn2013 -u 9998 -x /tmp/mgmt-relay-a.sock
[I] 0.0000: This is ccn-lite-relay, starting at Aug 30 19:51:49 2016
[I] 8.9e-0: ccnl-core: 2015-07-07
[I] 0.0001: compile time: Aug 30 2016 19:45:46
[I] 0.0001: compile options: CCNxDIGEST, DEBUG, DEBUG_MALLOC, ECHO, ETHERNET, HMAC256, HTTP_STATUS, LOGGING, MGMT, NFN_NSTRANS, SUITE_CCNB, SUITE_CCNTLV, SUITE_CISTLV, SUITE_IOTTLV, SUITE_LOCALRPC, SUITE_NDNTLV, UNIXSOCKET,
[I] 0.0001: configuring relay
[I] 0.0001: UDP interface (0.0.0.0/9998) configured
[I] 0.0002: HTTP status server listening at TCP port 6363
[I] 0.0003: UNIX interface (/tmp/mgmt-relay-a.sock) configured
[I] 0.0003: starting main event and IO loop
[I] 1.0010: local time is Tue Aug 30 19:51:50 2016
[V] 1.0010: ageing t=1
[V] 2.0030: ageing t=2
[V] 3.0040: ageing t=3
[V] 4.0050: ageing t=4
[V] 5.0060: ageing t=5
[D] 5.0890: ccnl_core_RX ifndx=1, 97 bytes
[T] 5.0890: ccnl_get_face_or_create src=/tmp/.ccn-light-ctrl-8706.sock
[V] 5.0890: found suitable interface 1 for /tmp/.ccn-light-ctrl-8706.sock
[<] 5.0890: ccnl_get_face_or_create() in ccnl-core.c:143
[D] 5.0890: face 1, peer=/tmp/.ccn-light-ctrl-8706.sock
[T] 5.0890: pkt2suite 1 210
[D] 5.0890: ccnl_ccnb_forwarder: 97B from face=0x15c46d0 (id=0.1)
[D] 5.0890: ccnb fwd (95 bytes left)
[T] 5.0890: ccnl_ccnb_extract
[I] 5.0890: incoming interest=</ccnx//newface/%04%ffffff82%01%ffffff9a%03%ffffffe5%05%ffffff82%04%ffffffca%ffffffbdnewface%000+%ffffffda%ffffff9dany%00%04%ffffffda%ffffff9517%00%04%ffffffe2%ffffffcdaaaa::100%00%04%ffffffea%ffffffa51001%000+%fffffff2%ffffffb50x0001%00%00%00%00>ccnb from=/tmp/.ccn-light-ctrl-8706.sock
[I] 5.0890: found a mgmt message
[T] 5.0890: ccnl_mgmt request "newface"
[T] 5.0890: ccnl_mgmt_handle "newface"
[T] 5.0890: ccnl_mgmt_newface from=0x15c46d0, ifndx=1
[T] 5.0890: adding IP face ip6src=any, proto=17, host=aaaa::100, port=1001
[T] 5.0890: ccnl_get_face_or_create src=aaaa::100/1001
[T] 5.0890: newface request for (macsrc=(null) ip6src=any proto=17 host=aaaa::100 port=1001 frag=(null) flags=0x0001) failed or was ignored
[D] 5.0890: ccnl_mgmt_send_return_split 109 bytes, 1 packet(s)
[T] 5.0890: enqueue 125 128 bytes
[T] 5.0890: enqueue face=0x15c46d0 (id=0.1) buf=0x15c4b30 len=128
[T] 5.0890: CTS face=0x15c46d0 sched=(nil)
[T] 5.0890: dequeue face=0x15c46d0 (id=0.1)
[T] 5.0890: enqueue interface=0x641da0 buf=0x15c4b30 len=128 (qlen=0)
[T] 5.0890: interface_CTS interface=0x641da0, qlen=1, sched=(nil)
[D] 5.0890: unix sendto /tmp/.ccn-light-ctrl-8706.sock returned 128
[V] 6.0070: ageing t=6
[D] 6.7010: ccnl_core_RX ifndx=1, 95 bytes
[T] 6.7010: ccnl_get_face_or_create src=/tmp/.ccn-light-ctrl-8708.sock
[V] 6.7010: found suitable interface 1 for /tmp/.ccn-light-ctrl-8708.sock
[<] 6.7010: ccnl_get_face_or_create() in ccnl-core.c:143
[D] 6.7010: face 2, peer=/tmp/.ccn-light-ctrl-8708.sock
[T] 6.7010: pkt2suite 1 210
[D] 6.7010: ccnl_ccnb_forwarder: 95B from face=0x15c4030 (id=0.2)
[D] 6.7010: ccnb fwd (93 bytes left)
[T] 6.7010: ccnl_ccnb_extract
[I] 6.7010: incoming interest=</ccnx//newface/%04%ffffff82%01%ffffff9a%03%ffffffd5%05%ffffff82%04%ffffffca%ffffffbdnewface%000+%ffffffd2%ffffff9dany%00%04%ffffffda%ffffff9517%00%04%ffffffe2%ffffffbd1.1.1.1%00%04%ffffffea%ffffffa51001%000+%fffffff2%ffffffb50x0001%00%00%00%00>ccnb from=/tmp/.ccn-light-ctrl-8708.sock
[I] 6.7010: found a mgmt message
[T] 6.7010: ccnl_mgmt request "newface"
[T] 6.7010: ccnl_mgmt_handle "newface"
[T] 6.7010: ccnl_mgmt_newface from=0x15c4030, ifndx=1
[T] 6.7010: adding IP face ip4src=any, proto=17, host=1.1.1.1, port=1001
[T] 6.7010: ccnl_get_face_or_create src=1.1.1.1/1001
[V] 6.7010: found suitable interface 0 for 1.1.1.1/1001
[<] 6.7010: ccnl_get_face_or_create() in ccnl-core.c:143
[T] 6.7010: adding a new face (id=3) worked!
[D] 6.7010: ccnl_mgmt_send_return_split 112 bytes, 1 packet(s)
[T] 6.7010: enqueue 128 131 bytes
[T] 6.7010: enqueue face=0x15c4030 (id=0.2) buf=0x15c6190 len=131
[T] 6.7010: CTS face=0x15c4030 sched=(nil)
[T] 6.7010: dequeue face=0x15c4030 (id=0.2)
[T] 6.7010: enqueue interface=0x641da0 buf=0x15c6190 len=131 (qlen=0)
[T] 6.7010: interface_CTS interface=0x641da0, qlen=1, sched=(nil)
[D] 6.7010: unix sendto /tmp/.ccn-light-ctrl-8708.sock returned 131
[V] 7.0080: ageing t=7
[V] 8.0090: ageing t=8
[V] 9.0100: ageing t=9
[V] 10.0100: ageing t=10
^C

ccn-lite-ctrl command:
wufucious@sony:$ ccn-lite-ctrl -x /tmp/mgmt-relay-a.sock newUDPface any 1.1.1.1 1001 | ccn-lite-ccnb2xml


ccnx

newface



newface: newface cmd worked
any
17
1.1.1.1
1001
0x0001
3



wufucious@sony:
$
wufucious@sony:$ ccn-lite-ctrl -x /tmp/mgmt-relay-a.sock newUDP6face any aaaa::100 1001 | ccn-lite-ccnb2xml
`

ccnx

newface



newface: newface cmd failed
any
17
aaaa::100
1001
0x0001



wufucious@sony:
$ ccn-lite-ctrl -x /tmp/mgmt-relay-a.sock newUDPface any 1.1.1.1 1001 | ccn-lite-ccnb2xml


ccnx

newface



newface: newface cmd worked
any
17
1.1.1.1
1001
0x0001
3

`

The v4 face is added but the v6 failed. Any suggestions?

timeout and "continue computation" triggers a double free of the PIT entry

This trace shows that starting from face_remove, the PIT with address 0x1ffe790 is released twice:

[D] 18.0200: face_remove relay=0x644c40 face=0x1ffdb40
[T] 18.0200: before NFN interest_remove 0x0x2001280
[D] 18.0200: ccnl_nfn_interest_remove -1
[T] 18.0200: ccnl_interest_remove 0x2001280
[T] 18.0200: ccnl_nfn_continue_computation()
[V] 18.0200: ccnl_prefix_cmp (mode=0, nlen=3, plen=3, 3), name=nfn[/%00%01%00%04test/%00%01%00%04data/%00%01%00%0d(@x call 1 x)] prefix=nfn[/%00%01%00%04test/%00%01%00%04data/%00%01%00%0d(@x call 1 x)]: 0 ((nil))
[T] 18.0200: ccnl_nfn(0x644c40, (null), (nil), config=0x2000830)
[D] 18.0200: Namecomps: (null) 
[T] 18.0200: Krivine_reduction()
[I] 18.0200: Prog: FOX;TAILAPPLY
[D] 18.0200: Step 1 (1/0): FOX;TAILAPPLY
[D] 18.0200: ---to do: FOX <(null)>
[D] 18.0200: Checking if result was received
[D] 18.0200: choose_parameter(1)
[T] 18.0200: create_namecomps
[D] 18.0200: content local available
[D] 18.0200: exclude parameter: -1
[D] 18.0200: LOCAL PREFIX: nfn[/COMPUTE call 1 /test/data]
[T] 18.0200: ccnl_nfn_local_content_search(nfn[/COMPUTE call 1 /test/data], suite=ccnx2014)
[D] 18.0200: Searching local for content nfn[/COMPUTE call 1 /test/data]
[V] 18.0200: ccnl_prefix_cmp (mode=0, nlen=2, plen=2, 2), name=nfn[/%00%01%00%07COMPUTE/%00%01%00%11call 1 /test/data] prefix=/%00%01%00%04test/%00%01%00%04data: -1 ((nil))
[V] 18.0200: ccnl_prefix_cmp (mode=0, nlen=3, plen=2, 3), name=nfn[/%00%01%00%07COMPUTE/%00%01%00%11call 1 /test/data/%00%10%00%01%00] prefix=/%00%01%00%04test/%00%01%00%04data: -1 ((nil))
[V] 18.0200: ccnl_prefix_cmp (mode=0, nlen=3, plen=2, 3), name=nfn[/%00%01%00%04test/%00%01%00%04data/%00%01%00%0d(@x call 1 x)] prefix=nfn[/%00%01%00%07COMPUTE/%00%01%00%11call 1 /test/data]: -1 ((nil))
[D] 18.0200: choose_parameter(2)
[D] 18.0200: exclude parameter: -1
[D] 18.0200: Prefix local computation: nfn[/COMPUTE call 1 /test/data]
[T] 18.0200: nfn_query2interest(configID=-1)
[T] 18.0200: ccnl_pkt_prependComponent(1, NFN)
[T] 18.0200: ccnl_new_interest
[D] 18.0200: ccnl_interest_propagate
[V] 18.0200: ccnl_prefix_cmp (mode=2, nlen=1, plen=2, 1), name=/%00%01%00%07COMPUTE prefix=nfn[/%00%01%00%07COMPUTE/%00%01%00%11call 1 /test/data]: 1 ((nil))
[D] 18.0200:   ccnl_interest_propagate, rc=1/1
[D] 18.0200:   ccnl_interest_propagate, fwd==0x1ffe010
[T] 18.0200: enqueue face=0x1ffe330 (id=0.2) buf=0x2005850 len=63
[T] 18.0200: CTS face=0x1ffe330 sched=(nil)
[T] 18.0200: dequeue face=0x1ffe330 (id=0.2)
[T] 18.0200: enqueue interface=0x644c80 buf=0x2005850 len=63 (qlen=0)
[T] 18.0200: interface_CTS interface=0x644c80, qlen=1, sched=(nil)
[D] 18.0200: udp sendto 127.0.0.1/9002 returned 63
[D] 18.0200:  FOX continuation: TAILAPPLY
[D] 18.0200: Step 2 (1/0): TAILAPPLY
[D] 18.0200: ---to do: tailapply
[D] 18.0200: Step 3 (0/0): HALT
[I] 18.0200: end-of-computation (0/0)
[I] 18.0200: Computation finished: res:  size: 0 bytes. Running computations: 1
[T] 18.0200: ccnl_nfn_result2content(prefix=nfn[/test/data/(@x call 1 x)], suite=ccnx2014, contlen=0)
[D] 18.0200: mkSimpleContent (nfn[/test/data/(@x call 1 x)], 0 bytes)
[T] 18.0200: ccnl_pkt_prependComponent(1, NFN)
[T] 18.0200: ccnl_content_new2 0x2005850 <nfn[/test/data/(@x call 1 x)]>
[V] 18.0200: ccnl_prefix_cmp (mode=0, nlen=2, plen=3, 2), name=nfn[/%00%01%00%07COMPUTE/%00%01%00%11call 1 /test/data] prefix=nfn[/%00%01%00%04test/%00%01%00%04data/%00%01%00%0d(@x call 1 x)]: -1 ((nil))
[V] 18.0200: ccnl_prefix_cmp (mode=0, nlen=3, plen=3, 3), name=nfn[/%00%01%00%04test/%00%01%00%04data/%00%01%00%0d(@x call 1 x)] prefix=nfn[/%00%01%00%04test/%00%01%00%04data/%00%01%00%0d(@x call 1 x)]: 0 ((nil))
[T] 18.0200: ccnl_content_serve_pending
[V] 18.0200: ccnl_prefix_cmp (mode=0, nlen=3, plen=2, 3), name=nfn[/%00%01%00%04test/%00%01%00%04data/%00%01%00%0d(@x call 1 x)] prefix=nfn[/%00%01%00%07COMPUTE/%00%01%00%11call 1 /test/data]: -1 ((nil))
[V] 18.0200: ccnl_prefix_cmp (mode=0, nlen=3, plen=3, 3), name=nfn[/%00%01%00%04test/%00%01%00%04data/%00%01%00%0d(@x call 1 x)] prefix=nfn[/%00%01%00%04test/%00%01%00%04data/%00%01%00%0d(@x call 1 x)]: 0 ((nil))
[D] 18.0200:   forwarding content <nfn[/test/data/(@x call 1 x)]>
[V] 18.0200: --- Serve to face: 4 (pkt=0x2005850)
[T] 18.0200: enqueue face=0x1ffe430 (id=0.4) buf=0x1ffead0 len=62
[T] 18.0300: CTS face=0x1ffe430 sched=(nil)
[T] 18.0300: dequeue face=0x1ffe430 (id=0.4)
[T] 18.0300: enqueue interface=0x644c80 buf=0x1ffead0 len=62 (qlen=0)
[T] 18.0300: interface_CTS interface=0x644c80, qlen=1, sched=(nil)
[D] 18.0300: udp sendto 127.0.0.1/9000 returned 62
- - - ->
[T] 18.0300: ccnl_interest_remove 0x1ffe790
[D] 18.0300: ccnl_content_add2cache (1/-1) --> 0x2005a90 = nfn[/test/data/(@x call 1 x)]
[T] 18.0300: ccnl_nfn_freeConfiguration(0x2000830)
[<] 18.0300: ccnl_nfn() in ccnl-ext-nfn.c:267
[<] 18.0300: ccnl_nfn_continue_computation() in ccnl-ext-nfn.c:95
[<] 18.0300: ccnl_nfn_interest_remove() in ccnl-ext-nfncommon.c:568
- - - ->
[T] 18.0300: before NFN interest_remove 0x0x1ffe790
[D] 18.0300: ccnl_nfn_interest_remove 4
[T] 18.0300: ccnl_interest_remove 0x1ffe790
18.0300: @@@ memerror - free() at ccnl-core-util.c:610 does not find memory block 0x1ffdce0
18.0300: @@@ memerror - free() at ccnl-core-util.c:610 does not find memory block 0x1ffe660
18.0300: @@@ memerror - free() at ccnl-core-util.c:610 does not find memory block 0x1ffd160
18.0300: @@@ memerror - free() at ccnl-core-util.c:611 does not find memory block 0x1ffe0a0
18.0300: @@@ memerror - free() at ccnl-core-util.c:612 does not find memory block 0x1ffdc20
18.0300: @@@ memerror - free() at ccnl-core.c:525 does not find memory block 0x1ffe790
[<] 18.0300: ccnl_nfn_interest_remove() in ccnl-ext-nfncommon.c:568
[<] 18.0300: ccnl_face_remove() in ccnl-core.c:221

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.