Skip to content
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

Build error - do not seem to have socketpair as part of components #13

Closed
ponnappatallac opened this issue Apr 25, 2017 · 5 comments
Closed

Comments

@ponnappatallac
Copy link

I followed the instruction on building libcurl (Thank you for the detail steps and video). However I seem to be getting the following error :
/home/user/esp/libcurl4/components/curl/lib/curl_ntlm_wb.c: In function 'Curl_ntlm_wb_cleanup':
/home/user/esp/libcurl4/components/curl/lib/curl_ntlm_wb.c:91:9: error: implicit declaration of function 'kill' [-Werror=implicit-function-declaration]
kill(conn->ntlm_auth_hlpr_pid, SIGTERM);
^
/home/user/esp/libcurl4/components/curl/lib/curl_ntlm_wb.c: In function 'ntlm_wb_init':
/home/user/esp/libcurl4/components/curl/lib/curl_ntlm_wb.c:187:6: error: implicit declaration of function 'socketpair' [-Werror=implicit-function-declaration]
if(socketpair(AF_UNIX, SOCK_STREAM, 0, sockfds)) {
^
/home/user/esp/libcurl4/components/curl/lib/curl_ntlm_wb.c:187:17: error: 'AF_UNIX' undeclared (first use in this function)
if(socketpair(AF_UNIX, SOCK_STREAM, 0, sockfds)) {
^
/home/user/esp/libcurl4/components/curl/lib/curl_ntlm_wb.c:187:17: note: each undeclared identifier is reported only once for each function it appears in

@mgleason
Copy link

mgleason commented May 8, 2017

Same here...

@nkolban
Copy link
Owner

nkolban commented May 8, 2017

Thanks guys. Sorry for the delay in getting back to y'all. I have updated the project sample files here and all should now work. The addition was

#define CURL_DISABLE_NTLM 1

into lib/curl_config.h

Many thanks to @mgleason for spending live time helping me debug this.

@ponnappatallac Please check that it works for you now and let me know.

@ponnappatallac
Copy link
Author

ponnappatallac commented May 9, 2017 via email

@nkolban
Copy link
Owner

nkolban commented Jul 7, 2017

May we close this issue?

@mgleason
Copy link

yes (from my viewpoint)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants