Home > Mobile >  Jni type definition is incomplete
Jni type definition is incomplete

Time:11-26

Struct lifnum * ifn;

Void * AF_UNSPEC;
& Ifn - & gt; Lifn_family=AF_UNSPEC;


Error: incomplete definition of type 'struct lifnum'

CodePudding user response:

Compile libpcap - 1.9.1 jni code stuck here, which is lifnum header file defined? Didn't define this structure? Beginners do not understand,,, ask everybody to give directions under the

CodePudding user response:

How to determine structure defined? How to write?

CodePudding user response:

WpdPack static library with android - studio64 compiled libjpcap. The so called tip can't find method

In the function ` Java_org_vinuxproject_sonic_PacketCapture_findDevice ':
Undefined reference to ` pcap_findalldevs'

What is wrong,,,?
  • Related