Openssl64-bit Compilation
The environment is a WIN2003 64-bit system, VC2008, Qt4.7.4 source code, the configure parameter is
Plain Text code?
| 12345678910111213 |
-platform win32-msvc2008 -opensource-debug -debug-and-release-no-phonon -fast -nomake examples -nomake demos -no-dsp -no-vcproj -no-cetest -no-s60 -qt-sql-odbc -qt-sql-sqlite -plugin-sql-odbc -plugin-sql-sqlite-no-qt3support -no-opengl -no-openvg -no-incredibuild-xge-openssl |
Then an error occurs during nmake:
Plain Text code?
| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
D: \ qt \ 4.7.4 \ src \ network \ ssl \ qsslcertificate_p.h (96): error C4430: Missing type description-Assume It is int. Note: C ++ does not support default intd:\qt\4.7.4\src\network\ssl\qsslcertificate_p.h(96) : warning C4183: “QSslCertFicate_from_X509 ": The return type is missing. It is assumed that it is a member function that returns" int ".d:\qt\4.7.4\src\network\ssl\qsslcertificate_p.h(97) : error C2923: “QList”:“SslCertificate "is not a valid template type variable of the parameter" T" D: \ qt \ 4.7.4 \ src \ network \ ssl \ qsslcertificate_p.h (96): see "QSslCertifiAte statementd:\qt\4.7.4\src\network\ssl\qsslcertificate_p.h(98) : error C2923: “QList”:“SslCertificate "is not a valid template type variable of the parameter" T" D: \ qt \ 4.7.4 \ src \ network \ ssl \ qsslcertificate_p.h (96): see "QSslCertifiAte statementD: \ qt \ 4.7.4 \ src \ network \ ssl \ qsslcertificate_p.h (99): error C4430: Missing type description-Assume It is int. Note: C ++ does not support default intD: \ qt \ 4.7.4 \ src \ network \ ssl \ qsslcertificate_p.h (99): error C2143: syntax error: MissingLess "," (before)Ssl \ qsslsocket_openssl.cpp (181): error C2143: syntax error: ";" missing (in "QSslSocEtBackendPrivate: Front of QSslCipher_from_SSL_CIPHER)Ssl \ qsslsocket_openssl.cpp (181): error C4430: The type specifier is missing-it is assumed to be int. Note:: C ++ does not support default intSsl \ qsslsocket_openssl.cpp (182): error C4430: The type specifier is missing-it is assumed to be int. Note:: C ++ does not support default intSsl \ qsslsocket_openssl.cpp (183): error C2146: syntax error: Missing ";" (in the identifier "c"Before ph)Ssl \ qsslsocket_openssl.cpp (183): error C2065: "ciph": Undeclared identifier....D: \ qt \ 4.7.4 \ src \ network \ ssl \ qsslsocket_openssl_p.h (91): error C4430: Missing type description-It is assumed to be int. Note: C ++ does not support default intD: \ qt \ 4.7.4 \ src \ network \ ssl \ qsslsocket_openssl_p.h (91): error C2061: syntax error:Identifier "QSslSocket"Generating code...NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 9.0\ VC \ BIN \ amd64 \ cl. EXE ": return code" 0x2"Stop.NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 9.0\ VC \ BIN \ amd64 \ nmake.exe "": return code "0x2"NMAKE: fatal error U1077: "" C: \ Program ": return code" 0x2"Stop.NMAKE: fatal error U1077: "cd": return code "0x2"Stop.NMAKE: fatal error U1077: "" C: \ Program ": return code" 0x2"Stop. |
Problems encountered during openssl101d compilation and installation in Linux: Rescue
1. Read the INSTALL document.
2. make clean
3. Try again
./Config -- prefix =/usr/local -- openssldir =/usr/local/openssl
Make; make test; make install
OPenSSL compilation problems
You can remove the compilation option/WX.