Created
January 19, 2016 21:30
-
-
Save amyreese/023145dc59de27b28627 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jreese@jreese-mbp ~/workspace/znc-push +f2069f2 » make curl=yes | |
CXXFLAGS=" -DPUSHVERSION=\"v1.0.0-117-gf2069f2\" -DUSE_CURL -lcurl" LIBS=" -DUSE_CURL -lcurl" \ | |
znc-buildmod push.cpp | |
Building "push.so" for ZNC 1.7.x... push.cpp:1774:5: error: no matching function for call to 'make_curl_request' | |
make_curl_request(service_host, service_url, service_auth, params, headers, use_port, use_ssl, use_post, options["proxy"], options["proxy_ssl_verify"] != "no", options["debug"] == "on"... | |
^~~~~~~~~~~~~~~~~ | |
push.cpp:78:10: note: candidate function not viable: requires 11 arguments, but 12 were provided | |
CURLcode make_curl_request(const CString& service_host, const CString& service_url, | |
^ | |
push.cpp:1914:11: error: no matching function for call to 'curl_slist_append' | |
hlist = curl_slist_append(hlist, header->first + ": " + header->second); | |
^~~~~~~~~~~~~~~~~ | |
/usr/include/curl/curl.h:2028:32: note: candidate function not viable: no known conversion from 'basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' to 'const char *' for 2nd argument | |
CURL_EXTERN struct curl_slist *curl_slist_append(struct curl_slist *, | |
^ | |
2 errors generated. | |
[ !! ] Error while building "push.so" | |
make: *** [push.so] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment