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

Cannot compile node plugin #122

Open
faucct opened this issue Apr 30, 2016 · 1 comment
Open

Cannot compile node plugin #122

faucct opened this issue Apr 30, 2016 · 1 comment

Comments

@faucct
Copy link
Contributor

faucct commented Apr 30, 2016

Scanning dependencies of target node
[ 25%] Building CXX object node/CMakeFiles/node.dir/src/isolate/process.cpp.o
[ 27%] Building CXX object node/CMakeFiles/node.dir/src/isolate/process/archive.cpp.o
[ 29%] Building CXX object node/CMakeFiles/node.dir/src/isolate/process/spooler.cpp.o
[ 31%] Building CXX object node/CMakeFiles/node.dir/src/module.cpp.o
[ 34%] Building CXX object node/CMakeFiles/node.dir/src/node.cpp.o
[ 36%] Building CXX object node/CMakeFiles/node.dir/src/node/app.cpp.o
/var/chef/cache/cocaine-plugins/node/src/node/app.cpp: In member function ‘std::shared_ptr<cocaine::overseer_t> state::base_t::overseer() const’:
/var/chef/cache/cocaine-plugins/node/src/node/app.cpp:206:15: error: reference to ‘error_t’ is ambiguous
         throw error_t("invalid state");
               ^
In file included from /usr/include/c++/4.8/cerrno:41:0,
                 from /usr/include/c++/4.8/ext/string_conversions.h:44,
                 from /usr/include/c++/4.8/bits/basic_string.h:2815,
                 from /usr/include/c++/4.8/string:52,
                 from /var/chef/cache/cocaine-plugins/node/include/cocaine/detail/service/node/app.hpp:3,
                 from /var/chef/cache/cocaine-plugins/node/src/node/app.cpp:1:
/usr/include/errno.h:68:13: note: candidates are: typedef int error_t
 typedef int error_t;
             ^
In file included from /usr/include/cocaine/common.hpp:54:0,
                 from /var/chef/cache/cocaine-plugins/node/include/cocaine/detail/service/node/app.hpp:5,
                 from /var/chef/cache/cocaine-plugins/node/src/node/app.cpp:1:
/usr/include/cocaine/errors.hpp:99:8: note:                 struct cocaine::error::error_t
 struct error_t:
        ^
/var/chef/cache/cocaine-plugins/node/src/node/app.cpp:207:5: warning: no return statement in function returning non-void [-Wreturn-type]
     }
     ^
make[2]: *** [node/CMakeFiles/node.dir/src/node/app.cpp.o] Error 1
make[1]: *** [node/CMakeFiles/node.dir/all] Error 2
make: *** [all] Error 2
@faucct faucct closed this as completed Apr 30, 2016
@faucct
Copy link
Contributor Author

faucct commented Apr 30, 2016

Moving further:

[ 25%] Building CXX object node/CMakeFiles/node.dir/src/node/slave/state/spawning.cpp.o
/var/chef/cache/cocaine-plugins/node/src/node/slave/state/spawning.cpp: In member function ‘void cocaine::spawning_t::spawn(long unsigned int)’:
/var/chef/cache/cocaine-plugins/node/src/node/slave/state/spawning.cpp:63:37: error: ‘const class cocaine::quote_t’ has no member named ‘endpoints’
     const auto endpoints = locator->endpoints();
                                     ^
make[2]: *** [node/CMakeFiles/node.dir/src/node/slave/state/spawning.cpp.o] Error 1
make[1]: *** [node/CMakeFiles/node.dir/all] Error 2
make: *** [all] Error 2

@faucct faucct reopened this Apr 30, 2016
3Hren added a commit that referenced this issue Apr 5, 2017
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

1 participant