-
Notifications
You must be signed in to change notification settings - Fork 862
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
cant compilation In function ‘red_recv_udp_pkt’: #28
Comments
Have you tried |
I'm sorry I have compiled it by adding the three line followed to redsocks.h: And their have define in "in.h" in my ubuntu system. $lsb_release -a $dpkg -l | grep -- -dev |
The reason behind lacking macros is old version of eglibc headers in Ubuntu lucid (10.04 LTS): |
c -g -O2 -std=gnu99 -Wall -c -o utils.o utils.c
utils.c: In function ‘red_recv_udp_pkt’:
utils.c:58: error: ‘IP_ORIGDSTADDR’ undeclared (first use in this function)
utils.c:58: error: (Each undeclared identifier is reported only once
utils.c:58: error: for each function it appears in.)
darkk-redsocks-070bd77.zip
libevent 2.0.xx
ubuntu i386
The text was updated successfully, but these errors were encountered: