sslsniff error during "make": Makefile:294: recipe for target 'SSLConnectionManager.o' failed

Asked by Lefteris

Greetings to all,
                            Trying to install sslsniff, i get an error during "make".

System: $ uname -a
Linux XPS-M1330 4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Boost version: $ dpkg -s libboost-dev | grep 'Version'
Version: 1.58.0.0ubuntu1

Make error: $ make
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sslsniff\" -DVERSION=\"0.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -ggdb -g -O2 -MT SSLConnectionManager.o -MD -MP -MF .deps/SSLConnectionManager.Tpo -c -o SSLConnectionManager.o SSLConnectionManager.cpp
In file included from SSLBridge.hpp:41:0,
                 from HTTPSBridge.hpp:24,
                 from FirefoxUpdater.hpp:23,
                 from FirefoxAddonUpdater.hpp:26,
                 from SSLConnectionManager.cpp:20:
certificate/Certificate.hpp: In member function ‘std::__cxx11::string Certificate::parseNameFromOCSPUrl(std::__cxx11::string&)’:
certificate/Certificate.hpp:60:37: warning: overflow in implicit constant conversion [-Woverflow]
     else forwardSlash = std::string::npos;
                                     ^
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::acceptIncomingConnection()’:
SSLConnectionManager.cpp:47:74: error: ‘boost::asio::ip::tcp::acceptor {aka class boost::asio::basic_socket_acceptor<boost::asio::ip::tcp>}’ has no member named ‘io_service’
   boost::shared_ptr<ip::tcp::socket> socket(new ip::tcp::socket(acceptor.io_service()));
                                                                          ^
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::shuttleConnection(boost::shared_ptr<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >, boost::asio::ip::tcp::endpoint&)’:
SSLConnectionManager.cpp:79:78: error: ‘boost::asio::ip::tcp::acceptor {aka class boost::asio::basic_socket_acceptor<boost::asio::ip::tcp>}’ has no member named ‘io_service’
   Bridge::ptr bridge = RawBridge::create(clientSocket, destination, acceptor.io_service());
                                                                              ^
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::interceptUpdate(boost::shared_ptr<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >, boost::asio::ip::tcp::endpoint&, bool)’:
SSLConnectionManager.cpp:98:17: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
     std::string error = errorStream.str();
                 ^
SSLConnectionManager.cpp:95:32: note: ‘SSLConnectionError& error’ previously declared here
   } catch (SSLConnectionError &error) {
                                ^
SSLConnectionManager.cpp:103:17: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
     std::string error = errorStream.str();
                 ^
SSLConnectionManager.cpp:100:36: note: ‘FirefoxUpdateException& error’ previously declared here
   } catch (FirefoxUpdateException &error) {
                                    ^
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::interceptAddon(boost::shared_ptr<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >, boost::asio::ip::tcp::endpoint&, bool)’:
SSLConnectionManager.cpp:123:17: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
     std::string error = errorStream.str();
                 ^
SSLConnectionManager.cpp:120:32: note: ‘SSLConnectionError& error’ previously declared here
   } catch (SSLConnectionError &error) {
                                ^
SSLConnectionManager.cpp:128:17: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
     std::string error = errorStream.str();
                 ^
SSLConnectionManager.cpp:125:36: note: ‘FirefoxUpdateException& error’ previously declared here
   } catch (FirefoxUpdateException &error) {
                                    ^
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::interceptSSL(boost::shared_ptr<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >, boost::asio::ip::tcp::endpoint&, bool)’:
SSLConnectionManager.cpp:137:41: error: ‘boost::asio::ip::tcp::acceptor {aka class boost::asio::basic_socket_acceptor<boost::asio::ip::tcp>}’ has no member named ‘io_service’
   ip::tcp::socket serverSocket(acceptor.io_service());
                                         ^
SSLConnectionManager.cpp:154:19: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
       std::string error = errorStream.str();
                   ^
SSLConnectionManager.cpp:151:34: note: ‘SSLConnectionError& error’ previously declared here
     } catch (SSLConnectionError &error) {
                                  ^
Makefile:294: recipe for target 'SSLConnectionManager.o' failed
make: *** [SSLConnectionManager.o] Error 1

I am not that experienced in Linux. Can you please let me know what am I missing here?

In addition, I found out I can install sslsniff from the software center. What is the difference with the source version?

My regards to all,

Lef.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sslsniff Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

The source version is the source code by the project. The packages in software centre are the source code already compiled and packaged for you like a Windows installer. They install the application for you so you don't have to compile.

Can you help with this problem?

Provide an answer of your own, or ask Lefteris for more information if necessary.

To post a message you must log in.