Kevin - it looks like you're missing the header files for the android
client. You should have a script named get_libfko_files.sh under the
./android/project/jni/libfwknop/ directory. Make sure you execute the script
which will copy the required .c and .h files from the main distribution
"lib" directory. For more details see the README file under the libfwknop
directory.
Cheers,
Max
>
> I'm on Fedora 14 (x86_64).
>
> Followed the instructions in android/README religiously.
> Using svn version 310.
>
> $ java -version
> java version "1.6.0_23"
> Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
> Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)
> $ javac -version
> javac 1.6.0_23
>
> NDK: r5b
> SDK: r09
>
> I couldn't get netbeans installed, so since it was optional I bailed
> on that.
>
> I had to add a line to android/project/build.properties:
>
> assets.dir=/home/layer/tmp/assets
>
> or I would get this error message:
>
> -res-compile:
> [exec] ERROR: asset directory 'assets' does not exist
>
> Here's my current error:
>
> -pre-jar:
> [exec] Gdbserver : [arm-linux-androideabi-4.4.3]
libs/armeabi/gdbserver
> [exec] Gdbsetup : libs/armeabi/gdb.setup
> [exec] Compile thumb : fwknop <= fwknop_client.c
> [exec]
>
/home/layer/src/import/fwknop-310/trunk/android/project/jni/./fwknop/fwknop_client.c:29:17:
> error: fko.h: No such file or directory
> [exec]
>
/home/layer/src/import/fwknop-310/trunk/android/project/jni/./fwknop/fwknop_client.c:
In
> function 'Java_com_max2idea_android_fwknop_Fwknop_sendSPAPacket':
> [exec]
>
/home/layer/src/import/fwknop-310/trunk/android/project/jni/./fwknop/fwknop_client.c:45:
> error: 'fko_ctx_t' undeclared (first use in this function)
> [exec]
>
/home/layer/src/import/fwknop-310/trunk/android/project/jni/./fwknop/fwknop_client.c:45:
> error: (Each undeclared identifier is reported only once
> [exec]
>
/home/layer/src/import/fwknop-310/trunk/android/project/jni/./fwknop/fwknop_client.c:45:
> error: for each function it appears in.)
> [exec]
>
/home/layer/src/import/fwknop-310/trunk/android/project/jni/./fwknop/fwknop_client.c:45:
> error: expected ';' before 'ctx'
> [exec]
>
/home/layer/src/import/fwknop-310/trunk/android/project/jni/./fwknop/fwknop_client.c:109:
> error: 'ctx' undeclared (first use in this function)
> [exec]
>
/home/layer/src/import/fwknop-310/trunk/android/project/jni/./fwknop/fwknop_client.c:110:
> error: 'FKO_SUCCESS' undeclared (first use in this function)
> [exec] make: ***
>
[/home/layer/src/import/fwknop-310/trunk/android/project/obj/local/armeabi/objs-debug/fwknop/./fwknop/fwknop_client.o]
> Error 1
> [exec] Result: 2
> [copy] Copying 2 files to
/home/layer/src/import/fwknop-310/trunk/android/project/lib/lib/armeabi
>
> Ideas?
>
> Thanks.
>
> Kevin
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Fwknop-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss