hi.
yudeMacBook-Air:tunsocks-by-russdill brite$ make
depbase=echo lwip-udhcpd/dhcpd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';
gcc -DPACKAGE_NAME="tunsocks" -DPACKAGE_TARNAME="tunsocks" -DPACKAGE_VERSION="1.0" -DPACKAGE_STRING="tunsocks\ 1.0" -DPACKAGE_BUGREPORT="russ.dill@gmail.com" -DPACKAGE_URL="https://github.com/russdill/tunsocks\" -DPACKAGE="tunsocks" -DVERSION="1.0" -DHAVE_PCAP=1 -I. -I./lwip/src/include -I./lwip/src/include/ipv4 -I./lwip/src/include/ipv6 -I./lwip-libevent/include -I./lwip-udhcpd -I./lwip-nat/include -I./include -Wall -Og -g -DUSE_PCAP -g -O2 -MT lwip-udhcpd/dhcpd.o -MD -MP -MF $depbase.Tpo -c -o lwip-udhcpd/dhcpd.o lwip-udhcpd/dhcpd.c &&
mv -f $depbase.Tpo $depbase.Po
lwip-udhcpd/dhcpd.c:24:10: fatal error: 'netinet/ether.h' file not found
#include <netinet/ether.h>
^
1 error generated.
make: *** [lwip-udhcpd/dhcpd.o] Error 1
yudeMacBook-Air:tunsocks-by-russdill brite$
how to fix it?
hi.
yudeMacBook-Air:tunsocks-by-russdill brite$ make
depbase=
echo lwip-udhcpd/dhcpd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';gcc -DPACKAGE_NAME="tunsocks" -DPACKAGE_TARNAME="tunsocks" -DPACKAGE_VERSION="1.0" -DPACKAGE_STRING="tunsocks\ 1.0" -DPACKAGE_BUGREPORT="russ.dill@gmail.com" -DPACKAGE_URL="https://github.com/russdill/tunsocks\" -DPACKAGE="tunsocks" -DVERSION="1.0" -DHAVE_PCAP=1 -I. -I./lwip/src/include -I./lwip/src/include/ipv4 -I./lwip/src/include/ipv6 -I./lwip-libevent/include -I./lwip-udhcpd -I./lwip-nat/include -I./include -Wall -Og -g -DUSE_PCAP -g -O2 -MT lwip-udhcpd/dhcpd.o -MD -MP -MF $depbase.Tpo -c -o lwip-udhcpd/dhcpd.o lwip-udhcpd/dhcpd.c &&
mv -f $depbase.Tpo $depbase.Po
lwip-udhcpd/dhcpd.c:24:10: fatal error: 'netinet/ether.h' file not found
#include <netinet/ether.h>
^
1 error generated.
make: *** [lwip-udhcpd/dhcpd.o] Error 1
yudeMacBook-Air:tunsocks-by-russdill brite$
how to fix it?