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

Не работает сборка докер-образа с zeromq 4.3.4 #63

Open
gojmpz opened this issue Aug 12, 2021 · 0 comments
Open

Comments

@gojmpz
Copy link
Contributor

gojmpz commented Aug 12, 2021

Проблема сборки появляется начиная с версии 4.3.1.

Dockerfile:
...
ENV LIBZMQ_VER 4.3.4
...

In file included from src/mailbox_safe.hpp:43,
                 from src/mailbox_safe.cpp:31:
src/condition_variable.hpp:129:10: error: 'condition_variable_any' in namespace 'std' does not name a type
     std::condition_variable_any _cv;
          ^~~~~~~~~~~~~~~~~~~~~~
src/condition_variable.hpp:129:5: note: 'std::condition_variable_any' is defined in header ''; did you forget to '#include '?
src/condition_variable.hpp:98:1:
+#include 
 
src/condition_variable.hpp:129:5:
     std::condition_variable_any _cv;
     ^~~
src/condition_variable.hpp: In member function 'int zmq::condition_variable_t::wait(zmq::mutex_t*, int)':
src/condition_variable.hpp:111:13: error: '_cv' was not declared in this scope
             _cv.wait (
             ^~~
src/condition_variable.hpp:111:13: note: suggested alternative: 'recv'
             _cv.wait (
             ^~~
             recv
src/condition_variable.hpp:113:20: error: '_cv' was not declared in this scope
         } else if (_cv.wait_for (*mutex_, std::chrono::milliseconds (timeout_))
                    ^~~
src/condition_variable.hpp:113:20: note: suggested alternative: 'recv'
         } else if (_cv.wait_for (*mutex_, std::chrono::milliseconds (timeout_))
                    ^~~
                    recv
src/condition_variable.hpp:114:28: error: 'std::cv_status' has not been declared
                    == std::cv_status::timeout) {
                            ^~~~~~~~~
src/condition_variable.hpp: In member function 'void zmq::condition_variable_t::broadcast()':
src/condition_variable.hpp:125:9: error: '_cv' was not declared in this scope
         _cv.notify_all ();
         ^~~
src/condition_variable.hpp:125:9: note: suggested alternative: 'recv'
         _cv.notify_all ();
         ^~~
         recv
make[1]: *** [Makefile:5574: src/libzmq_la-mailbox_safe.lo] Error 1

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

No branches or pull requests

2 participants