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

error on the make command while installing #32

Open
rick8808 opened this issue Jul 31, 2019 · 0 comments
Open

error on the make command while installing #32

rick8808 opened this issue Jul 31, 2019 · 0 comments

Comments

@rick8808
Copy link

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,
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:52: warning: overflow in conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ [-Woverflow]
else forwardSlash = std::string::npos;
^~~~
certificate/Certificate.hpp: In member function ‘void Certificate::parseOCSPUrls(X509*)’:
certificate/Certificate.hpp:82:61: warning: ‘unsigned char* ASN1_STRING_data(ASN1_STRING*)’ is deprecated [-Wdeprecated-declarations]
unsigned char * data = ASN1_STRING_data(ad->location->d.ia5);
^
In file included from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/pem.h:13,
from SSLBridge.hpp:26,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
/usr/include/openssl/asn1.h:554:1: note: declared here
DEPRECATEDIN_1_1_0(unsigned char ASN1_STRING_data(ASN1_STRING x))
^~~~~~~~~~~~~~~~~~
In file included from SSLBridge.hpp:41,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
certificate/Certificate.hpp:82:61: warning: ‘unsigned char
ASN1_STRING_data(ASN1_STRING
)’ is deprecated [-Wdeprecated-declarations]
unsigned char * data = ASN1_STRING_data(ad->location->d.ia5);
^
In file included from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/pem.h:13,
from SSLBridge.hpp:26,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
/usr/include/openssl/asn1.h:554:1: note: declared here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING x))
^~~~~~~~~~~~~~~~~~
In file included from SSLBridge.hpp:41,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
certificate/Certificate.hpp: In member function ‘void Certificate::parseCommonName(X509
)’:
certificate/Certificate.hpp:95:39: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
std::string distinguishedName(cert->name);
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/pem.h:14,
from SSLBridge.hpp:26,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
/usr/include/openssl/ossl_typ.h:120:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509;
^~~~~~~
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::acceptIncomingConnection()’:
SSLConnectionManager.cpp:47:74: error: ‘boost::asio::ip::tcp::acceptor’ {aka ‘class boost::asio::basic_socket_acceptorboost::asio::ip::tcp’} has no member named ‘io_service’; did you mean ‘get_service’?
boost::shared_ptrip::tcp::socket socket(new ip::tcp::socket(acceptor.io_service()));
^~~~~~~~~~
get_service
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::shuttleConnection(boost::shared_ptr<boost::asio::basic_stream_socketboost::asio::ip::tcp >, boost::asio::ip::tcp::endpoint&)’:
SSLConnectionManager.cpp:79:78: error: ‘boost::asio::ip::tcp::acceptor’ {aka ‘class boost::asio::basic_socket_acceptorboost::asio::ip::tcp’} has no member named ‘io_service’; did you mean ‘get_service’?
Bridge::ptr bridge = RawBridge::create(clientSocket, destination, acceptor.io_service());
^~~~~~~~~~
get_service
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::interceptUpdate(boost::shared_ptr<boost::asio::basic_stream_socketboost::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_socketboost::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_socketboost::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_acceptorboost::asio::ip::tcp’} has no member named ‘io_service’; did you mean ‘get_service’?
ip::tcp::socket serverSocket(acceptor.io_service());
^~~~~~~~~~
get_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) {
^~~~~
make: *** [Makefile:294: SSLConnectionManager.o] Error 1

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