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

error: ‘curl_multi_wait’ was not declared in this scope #12

Closed
War3Evo opened this issue Sep 16, 2014 · 5 comments
Closed

error: ‘curl_multi_wait’ was not declared in this scope #12

War3Evo opened this issue Sep 16, 2014 · 5 comments

Comments

@War3Evo
Copy link

War3Evo commented Sep 16, 2014

I'm using Debian Wheezy 7.5

in the curlcpp-master/build folder...
after I issue the command: cmake ..
and then I issue this command: make # -j2

This is the error I get:

curlcpp-master/src/curl_multi.cpp: In member function ‘void curl::curl_multi::wait(curl::curl_waitfd_, unsigned int, int, int_)’:
curlcpp-master/src/curl_multi.cpp:130:93: error: ‘curl_multi_wait’ was not declared in this scope
make[2]: *** [src/CMakeFiles/curlcpp.dir/curl_multi.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/curlcpp.dir/all] Error 2
make: *** [all] Error 2

@JosephP91
Copy link
Owner

I had the same error on the same Debian version. Are you sure to have the latests cmake and libcurl versions?

@War3Evo
Copy link
Author

War3Evo commented Sep 16, 2014

dpkg -l | grep curl

ii curl 7.26.0-1+wheezy10 amd64 command line tool for transferring data with URL syntax
ii libcurl3:amd64 7.26.0-1+wheezy10 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii libcurl3:i386 7.26.0-1+wheezy10 i386 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii libcurl3-gnutls:amd64 7.26.0-1+wheezy10 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)
ii libcurl3-gnutls:i386 7.26.0-1+wheezy10 i386 easy-to-use client-side URL transfer library (GnuTLS flavour)
ii libcurl4-openssl-dev 7.26.0-1+wheezy10 amd64 development files and documentation for libcurl (OpenSSL flavour)
ii php5-curl 5.4.4-14+deb7u14 amd64 CURL module for php5
ii python-pycurl 7.19.0-5 amd64 Python bindings to libcurl

dpkg -l | grep cmake

ii cmake 2.8.9-1 amd64 cross-platform, open-source make system
ii cmake-data 2.8.9-1 all CMake data files (modules, templates and documentation)

I have the highest versions for packages for debian:

https://packages.debian.org/search?keywords=libcurl3

7.38 is only offered for Jessie.

is right location? http://curl.haxx.se/download.html

https://packages.debian.org/search?suite=default&section=all&arch=any&searchon=names&keywords=cmake

3.0.2 of cmake requires download and manual install :(

is this the right location? http://www.cmake.org/download/

What versions do you have?

@War3Evo
Copy link
Author

War3Evo commented Sep 16, 2014

Things I did to solve this issue:

add this to my /etc/apt/sources.list

hash-tag jessie
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

Then I issue this command:

sudo aptitude -t jessie install curl

then i also issued this command:

sudo aptitude -t jessie install libcurl4-openssl-dev

then I also issued this command:

sudo aptitude -t jessie install g++

^^ So had to update a bunch of stuff to jessie to get 7.38.0-1 of libcurl.

The fix ended up being the need of 7.38.0-1 version of curl and libcurl. Please post on your main page that your wrapper requires libcurl version 7.38.0-1

@War3Evo War3Evo closed this as completed Sep 16, 2014
@JosephP91
Copy link
Owner

Sure, thank you! :)

@War3Evo
Copy link
Author

War3Evo commented Sep 16, 2014

On a side note.. I dont recommend upgrading to Jessie if you are using Steam. I've also heard Jessie's Nvidia isn't working too!

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

2 participants