-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'make' encounter error #11
Comments
It's left over from the udhcp port. Just remove the offending line and you should be fine. |
hi. yudeMacBook-Air:tunsocks-by-russdill brite$ make how to fix it? |
Looks like there are some more linux'isms lurking. You'll have to do some work cleaning them up for it to compile. |
hi. i removed line 130 from lwip-libevent/netif/slirpif_udp.c ,and "make" again, encountered another error: i removed line 273 from lwip-libevent/netif/udptapif.c ,and "make" again, encountered another error: it shows: does this error:"fatal error: 'linux/if_tun.h' file not found" mean that i cannot solve it at all? |
same |
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?
The text was updated successfully, but these errors were encountered: