zeromq / czmqpp

C++ wrapper for czmq. Aims to be minimal, simple and consistent.
Other
45 stars 27 forks source link

make failed #44

Open botoph4 opened 1 year ago

botoph4 commented 1 year ago
CXX      src/authenticator.lo
In file included from ./include/czmq++/authenticator.hpp:24,
                 from src/authenticator.cpp:20:
./include/czmq++/context.hpp:35:5: error: ‘zctx_t’ does not name a type; did you mean ‘zrex_t’?
   35 |     zctx_t* self();
      |     ^~~~~~
      |     zrex_t
./include/czmq++/context.hpp:38:5: error: ‘zctx_t’ does not name a type; did you mean ‘zrex_t’?
   38 |     zctx_t* self_;
      |     ^~~~~~
      |     zrex_t
src/authenticator.cpp: In constructor ‘czmqpp::authenticator::authenticator(czmqpp::context&)’:
src/authenticator.cpp:27:27: error: ‘class czmqpp::context’ has no member named ‘self’
   27 |     : self_(zauth_new(ctx.self()))
      |                           ^~~~
src/authenticator.cpp:27:13: error: ‘zauth_new’ was not declared in this scope; did you mean ‘zauth_test’?
   27 |     : self_(zauth_new(ctx.self()))
      |             ^~~~~~~~~
      |             zauth_test
src/authenticator.cpp: In destructor ‘czmqpp::authenticator::~authenticator()’:
src/authenticator.cpp:33:5: error: ‘zauth_destroy’ was not declared in this scope; did you mean ‘zuuid_destroy’?
   33 |     zauth_destroy(&self_);
      |     ^~~~~~~~~~~~~
      |     zuuid_destroy
src/authenticator.cpp: In member function ‘void czmqpp::authenticator::allow(const string&)’:
src/authenticator.cpp:43:5: error: ‘zauth_allow’ was not declared in this scope
   43 |     zauth_allow(self_, address.c_str());
      |     ^~~~~~~~~~~
src/authenticator.cpp: In member function ‘void czmqpp::authenticator::deny(const string&)’:
src/authenticator.cpp:47:5: error: ‘zauth_deny’ was not declared in this scope; did you mean ‘zauth_test’?
   47 |     zauth_deny(self_, address.c_str());
      |     ^~~~~~~~~~
      |     zauth_test
src/authenticator.cpp: In member function ‘void czmqpp::authenticator::configure_plain(const string&, const string&)’:
src/authenticator.cpp:52:5: error: ‘zauth_configure_plain’ was not declared in this scope; did you mean ‘configure_plain’?
   52 |     zauth_configure_plain(self_, domain.c_str(), filename.c_str());
      |     ^~~~~~~~~~~~~~~~~~~~~
      |     configure_plain
src/authenticator.cpp: In member function ‘void czmqpp::authenticator::configure_curve(const string&, const string&)’:
src/authenticator.cpp:57:5: error: ‘zauth_configure_curve’ was not declared in this scope; did you mean ‘configure_curve’?
   57 |     zauth_configure_curve(self_, domain.c_str(), location.c_str());
      |     ^~~~~~~~~~~~~~~~~~~~~
      |     configure_curve
src/authenticator.cpp: In member function ‘void czmqpp::authenticator::set_verbose(bool)’:
src/authenticator.cpp:61:5: error: ‘zauth_set_verbose’ was not declared in this scope; did you mean ‘zloop_set_verbose’?
   61 |     zauth_set_verbose(self_, verbose);
      |     ^~~~~~~~~~~~~~~~~
      |     zloop_set_verbose
src/authenticator.cpp: At global scope:
src/authenticator.cpp:64:1: fatal error: opening dependency file src/.deps/authenticator.Tpo: Permission denied
   64 | } // namespace czmqpp
      | ^
compilation terminated.
Makefile:609: recipe for target 'src/authenticator.lo' failed
make: *** [src/authenticator.lo] Error 1