AnhTVc / OpenVPN-IOS

Build OpenVPN source for IOS
GNU General Public License v3.0
124 stars 53 forks source link

error build-libpcap.sh #16

Open aminerol opened 6 years ago

aminerol commented 6 years ago

it return error in this line /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -O -fno-common -g -O0 -D__APPLE_USE_RFC_3542 -arch i386 -fPIE -miphoneos-version-min=6.0 -I/Users/MYUSER/Downloads/OpenVPN-IOS-master/dependencies/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk -I. -DHAVE_CONFIG_H -DU="attribute((unused))" -g -O0 -D__APPLE_USE_RFC_3542 -arch i386 -fPIE -miphoneos-version-min=6.0 -I/Users/MYUSER/Downloads/OpenVPN-IOS-master/dependencies/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk -c ./pcap-bpf.c

AND THIS IS THE ERROR In file included from ./pcap-bpf.c:106: /Users/MYUSER/Downloads/OpenVPN-IOS-master/dependencies/include/net/bpf.h:75:10: fatal error: 'pcap/export-defs.h' file not found

include <pcap/export-defs.h>

     ^~~~~~~~~~~~~~~~~~~~

1 error generated. make: [pcap-bpf.o] Error 1 make: Waiting for unfinished jobs....