kovan_module_p.cpp:83:2: error: '::close' has not been declared #1

Open
ryanvade opened this Issue Mar 7, 2013 · 0 comments

Comments

Projects
None yet
1 participant

ryanvade commented Mar 7, 2013

I have tried many different solutions to no avail. I am running Arch Linux 64bit. All errors:
[ 1%] Building CXX object CMakeFiles/kovan.dir/src/kovan_module_p.cpp.o
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp: In member function 'void Private::KovanModule::close()':
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:83:2: error: '::close' has not been declared
make[2]: *** [CMakeFiles/kovan.dir/src/kovan_module_p.cpp.o] Error 1
make[1]: *** [CMakeFiles/kovan.dir/all] Error 2
make: *** [all] Error 2
make for libkovan failed.

IF I edit kovan_module_p.hpp I get this:
In file included from /build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:1:0:
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:45:22: error: 'Command' was not declared in this scope
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:45:29: error: template argument 1 is invalid
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:45:29: error: template argument 2 is invalid
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:45:44: error: invalid type in declaration before ';' token
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:60:19: error: 'Command' does not name a type
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:60:28: error: ISO C++ forbids declaration of 'command' with no type [-fpermissive]
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:61:8: error: 'bool Private::KovanModule::send(const CommandVector&)' cannot be overloaded
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:60:8: error: with 'bool Private::KovanModule::send(const int&)'
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:63:13: error: 'State' has not been declared
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:65:16: error: 'State' has not been declared
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:66:27: error: 'State' does not name a type
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:66:34: error: ISO C++ forbids declaration of 'state' with no type [-fpermissive]
/build/kiss-platform/common/libkovan/src/kovan_module_p.hpp:72:10: error: 'Packet' does not name a type
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp: In member function 'void Private::KovanModule::close()':
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:83:2: error: '::close' has not been declared
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp: At global scope:
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:99:30: error: 'Command' does not name a type
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:99:39: error: ISO C++ forbids declaration of 'command' with no type [-fpermissive]
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp: In member function 'bool Private::KovanModule::send(const int&)':
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:101:38: error: expression list treated as compound expression in functional cast [-fpermissive]
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:101:38: warning: left operand of comma operator has no effect [-Wunused-value]
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp: At global scope:
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:104:6: error: redefinition of 'bool Private::KovanModule::send(const CommandVector&)'
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:99:6: error: 'bool Private::KovanModule::send(const int&)' previously defined here
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:122:24: error: 'bool Private::KovanModule::recv' is not a static member of 'class Private::KovanModule'
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:122:24: error: 'State' was not declared in this scope
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:122:31: error: 'state' was not declared in this scope
/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:123:1: error: expected ',' or ';' before '{' token
make[2]: *** [CMakeFiles/kovan.dir/src/kovan_module_p.cpp.o] Error 1
make[1]: *** [CMakeFiles/kovan.dir/all] Error 2
make: *** [all] Error 2
make for libkovan failed.

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