Bill Shupp wrote:
[EMAIL PROTECTED] wrote:
Hello!
In following the Toaster how-to guide, I've run across the follow
error while compiling the netqmail binaries --
In file included from qmail-remote.c:53:
tls.h:4:25: openssl/ssl.h: No such file or directory
In file included from qmail-remote.c:53:
tls.h:7: error: parse error before '*' token
tls.h:7: warning: data definition has no type or storage class
tls.h:9: error: parse error before '*' token
In file included from qmail-remote.c:54:
ssl_timeoutio.h:4:25: openssl/ssl.h: No such file or directory
ssl_timeoutio.h:8:3: #error "Need OpenSSL version at least 0.9.6"
In file included from qmail-remote.c:54:
ssl_timeoutio.h:11: error: parse error before "SSL"
ssl_timeoutio.h:12: error: parse error before "SSL"
ssl_timeoutio.h:13: error: parse error before "SSL"
ssl_timeoutio.h:15: error: parse error before "SSL"
ssl_timeoutio.h:16: error: parse error before "SSL"
ssl_timeoutio.h:19: error: parse error before "SSL"
qmail-remote.c:55:29: openssl/x509v3.h: No such file or directory
qmail-remote.c: In function `quit':
qmail-remote.c:263: error: request for member `state' in something
not a structure or union
qmail-remote.c:263: error: `SSL_ST_BEFORE' undeclared (first use in
this function)
qmail-remote.c:263: error: (Each undeclared identifier is reported
only once
qmail-remote.c:263: error: for each function it appears in.)
qmail-remote.c:264: error: `SSL_ST_OK' undeclared (first use in this
function)
qmail-remote.c: At top level:
qmail-remote.c:347: error: parse error before "X509_STORE_CTX"
qmail-remote.c: In function `tls_init':
qmail-remote.c:352: error: `SSL' undeclared (first use in this function)
qmail-remote.c:352: error: `myssl' undeclared (first use in this
function)
qmail-remote.c:353: error: `SSL_CTX' undeclared (first use in this
function)
qmail-remote.c:353: error: `ctx' undeclared (first use in this function)
qmail-remote.c:393: error: `SSL_VERIFY_PEER' undeclared (first use in
this function)
qmail-remote.c:399: error: `SSL_FILETYPE_PEM' undeclared (first use
in this function)
qmail-remote.c:443: error: `X509' undeclared (first use in this
function)
qmail-remote.c:443: error: `peercert' undeclared (first use in this
function)
qmail-remote.c:444: error: `GENERAL_NAME' undeclared (first use in
this function)
qmail-remote.c:444: error: `gens' undeclared (first use in this
function)
qmail-remote.c:447: error: `X509_V_OK' undeclared (first use in this
function)
qmail-remote.c:449: warning: passing arg 2 of `tls_quit' makes
pointer from integer without a cast
qmail-remote.c:461: error: `NID_subject_alt_name' undeclared (first
use in this function)
qmail-remote.c:465: error: syntax error before '*' token
qmail-remote.c:466: error: `gn' undeclared (first use in this function)
qmail-remote.c:466: error: `GEN_DNS' undeclared (first use in this
function)
qmail-remote.c:469: error: `GENERAL_NAME_free' undeclared (first use
in this function)
qmail-remote.c:475: error: `X509_NAME' undeclared (first use in this
function)
qmail-remote.c:475: error: `subj' undeclared (first use in this
function)
qmail-remote.c:476: error: `NID_commonName' undeclared (first use in
this function)
qmail-remote.c:478: error: syntax error before '*' token
qmail-remote.c:479: error: `s' undeclared (first use in this function)
qmail-remote.c: In function `main':
qmail-remote.c:655: warning: return type of `main' is not `int'
make: *** [qmail-remote.o] Error 1
Within the error, it states must be using at least OpenSSL 0.9.6. I
am using OpenSSL 0.9.7. This is installing on a Debian "Unstable".
Any suggestions or work-arounds?
You need libssl-dev.
Bill
Thanks for the quick response!! Any other gotcha's I may need to know
as far as packages or debian specific issues?
Thanks again!
Christopher Davis