-
Notifications
You must be signed in to change notification settings - Fork 16
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
Undefined reference to '__dn_expand' #1
Comments
Hi, Hmm, I found that manually adding "-lresolv" to the end of the GCC line in the Makefile works - however, "-lresolv" is already party of the LIB line, so I'm not sure why it didn't work there?
Cheers, |
Hey Victor! Try adding the path to libresolv.a. This works for me: gcc -DHAVE_ERR -DHAVE_SEND -g -Wall -o sods sods.c sods_handler.c sods_dns.c sods_io.c sods_q.c sods_sock.c sods_priv.c sods_err.c base32.c base64.c /usr/lib/x86_64-linux-gnu/libresolv.a |
Just saw your update, thanks! That is even better! I will update the configure script. |
Hi,
I'm attempting to compile sods on Ubuntu 11.10 (AMD64), and I am getting the following error:
Any ideas?
Cheers,
Victor
The text was updated successfully, but these errors were encountered: