【发布时间】:2014-01-31 05:27:46
【问题描述】:
我在这里使用这个网站。 http://retroshare.sourceforge.net/wiki/index.php/Win32CompileLibrariesMingw#Compile_OpenSSL
我遇到了一个问题。错误是
In file included from /usr/include/w32api/windows.h:95:0, from sqlite3.c:9607:
/cygdrive/c/sqlcipher-2.2.0/../openssl-1.0.1c/include/openssl/ossl_typ.h:153:29: error: expected ‘)’ before numeric constant typedef struct X509_name_st X509_NAME;
/cygdrive/c/sqlcipher-2.2.0/../openssl-1.0.1c/include/openssl/ossl_typ.h:199:33: error: expected ‘)’ before numeric constant typedef struct ocsp_response_st OCSP_RESPONSE;
Makefile:573: recipe for target 'sqlite3.lo' failed
make: *** [sqlite3.lo] Error 1
我打开 ossl_typ.h 文件发现其中只有 1 行,因此我无法追踪错误。感谢您的帮助!
【问题讨论】:
-
这是我的 ossl_typ.h 文件.. dropbox.com/s/myia2mcdnwk73dz/ossl_typ.h
-
哈!你有那些指示工作吗?首先编译器假设它是
i686-w64-mingw32-gcc,在我修复它之后我得到了tcl8.6.0/generic/tclPort.h:25:28: fatal error: tclUnixPort.h: No such file or directory。这只是试图编译tcl8.6! -
@Michael 大声笑.. 我确实开始工作了.. 但毕竟我认为我浪费了我的时间.. 所以我创建了一个加密文件并用它来编码和解码我的细节SQLite 文件...