securesocketfunneling / ssf

Secure Socket Funneling - Network tool and toolkit - TCP and UDP port forwarding, SOCKS proxy, remote shell, standalone and cross platform
https://securesocketfunneling.github.io/ssf/
Other
1.59k stars 235 forks source link

Cross Compiler Error in use_future.hpp #64

Open Whinegum opened 6 years ago

Whinegum commented 6 years ago

Hi,

I'm trying to build ssf for a ARM target architecture using the arm-linux-gnueabi toolchain containing version 5.4.0 of arm-linux-gnueabi-g++.

Unfortunately, I always get the following error messages:

ssf_dependencies/build_boost/include/boost/asio/impl/use_future.hpp:56:13: error: ‘make_exception_ptr’ is not a member of ‘std’ std::make_exception_ptr( ^

ssf_dependencies/build_boost/include/boost/asio/impl/use_future.hpp:89:17: error: invalid use of incomplete type ‘class std::promise<void>’ promise_->set_exception( ^ Does anyone have an idea how to fix that?

Thank you very much and best regards!

Whinegum commented 6 years ago

Finally, I was able to bypass this problem by using a newer vesion of g++. Later on, I got the message that the fille gssapi.h could not be found. After installing the libkrb header files, the compile-process finished successfully. But I'm not sure if this is the right way. On my target system there is no kerberos library installed. Do I have to crosscompile it as well? And if so, if there an easy war for doing this?