Skip to content

NDK Compile Error #1

Description

@sosnet

Hello,
I just downloaded your code and tried to compile with ndk and I get following errors:

Compile thumb  : arpspoof <= arp.c
.../jni/arpspoof/arp.c:12:20: error: config.h: No such file or directory
.../jni/arpspoof/arp.c:39:39: error: libnet.h: No such file or directory
.../jni/arpspoof/arp.c:40:38: error: droid.h: No such file or directory
In file included from .../jni/arpspoof/arp.c:41:
.../jni/arpspoof/arp.h:14: error: expected ')' before 'ip'
.../jni/arpspoof/arp.c:97: error: expected ')' before 'ip'
/cygdrive/d/android-ndk/build/core/build-binary.mk:240: recipe for target `/cygdrive/d/.../obj/local/armeabi/objs/arpspoof/arpspoof/arp.o' failed
make: *** [/cygdrive/d/.../obj/local/armeabi/objs/arpspoof/arpspoof/arp.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions