Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Build error #439

Open
geekscrapy opened this issue Jul 4, 2018 · 0 comments
Open

Build error #439

geekscrapy opened this issue Jul 4, 2018 · 0 comments

Comments

@geekscrapy
Copy link

On running make and installing libmsgpack-dev :

# make
[  1%] Automatic moc for target veles_base
[  1%] Built target veles_base_automoc
[  1%] Generating msgpack-venv/lib/site-packages/six.py
Requirement already satisfied (use --upgrade to upgrade): pbr>=1.3 in ./msgpack-venv/lib/python3.5/site-packages (from -r /home/x/veles/python/requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): six==1.10.0 in ./msgpack-venv/lib/python3.5/site-packages (from -r /home/x/veles/python/requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): msgpack-python==0.4.8 in ./msgpack-venv/lib/python3.5/site-packages (from -r /home/x/veles/python/requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): pyOpenSSL in ./msgpack-venv/lib/python3.5/site-packages (from -r /home/x/veles/python/requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): cryptography>=2.2.1 in ./msgpack-venv/lib/python3.5/site-packages (from pyOpenSSL->-r /home/x/veles/python/requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): idna>=2.1 in ./msgpack-venv/lib/python3.5/site-packages (from cryptography>=2.2.1->pyOpenSSL->-r /home/x/veles/python/requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): asn1crypto>=0.21.0 in ./msgpack-venv/lib/python3.5/site-packages (from cryptography>=2.2.1->pyOpenSSL->-r /home/x/veles/python/requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.7 in ./msgpack-venv/lib/python3.5/site-packages (from cryptography>=2.2.1->pyOpenSSL->-r /home/x/veles/python/requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): pycparser in ./msgpack-venv/lib/python3.5/site-packages (from cffi>=1.7->cryptography>=2.2.1->pyOpenSSL->-r /home/x/veles/python/requirements.txt (line 4))
You are using pip version 8.1.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[  2%] Built target cpp_python_gen
[  3%] Building CXX object CMakeFiles/veles_base.dir/src/client/dbif.cc.o
In file included from /home/x/veles/include/client/networkclient.h:32:0,
                 from /home/x/veles/include/client/dbif.h:28,
                 from /home/x/veles/src/client/dbif.cc:18:
/home/x/veles/include/network/msgpackwrapper.h:38:16: error: ‘msgpack::object_handle’ has not been declared
       msgpack::object_handle* handle) {
                ^
/home/x/veles/include/network/msgpackwrapper.h: In static member function ‘static std::shared_ptr<veles::proto::MsgpackMsg> veles::messages::MsgpackWrapper::parseMessage(int*)’:
/home/x/veles/include/network/msgpackwrapper.h:39:35: error: request for member ‘get’ in ‘* handle’, which is of non-class type ‘int’
     msgpack::object obj = handle->get();
                                   ^
/home/x/veles/include/network/msgpackwrapper.h: In member function ‘std::shared_ptr<veles::proto::MsgpackMsg> veles::messages::MsgpackWrapper::loadMessage(QTcpSocket*)’:
/home/x/veles/include/network/msgpackwrapper.h:51:5: error: ‘object_handle’ is not a member of ‘msgpack’
     msgpack::object_handle handle;
     ^
/home/x/veles/include/network/msgpackwrapper.h:52:19: error: ‘handle’ was not declared in this scope
     if (unp_.next(handle)) {
                   ^
/home/x/veles/include/network/msgpackwrapper.h:63:21: error: ‘handle’ was not declared in this scope
       if (unp_.next(handle)) {
                     ^
CMakeFiles/veles_base.dir/build.make:133: recipe for target 'CMakeFiles/veles_base.dir/src/client/dbif.cc.o' failed
make[2]: *** [CMakeFiles/veles_base.dir/src/client/dbif.cc.o] Error 1
CMakeFiles/Makefile2:868: recipe for target 'CMakeFiles/veles_base.dir/all' failed
make[1]: *** [CMakeFiles/veles_base.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
# uname -a
Host 4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
# gcc -v
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)
# make -v
GNU Make 4.1

What package would I be missing? TIA!

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

No branches or pull requests

1 participant