In file included from /usr/include/openssl/ssl.h:179,
from tls_openssl.c:23:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "context"
/usr/include/openssl/kssl.h:160: parse error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:163: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before "atime"
/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before "enctype"
In file included from tls_openssl.c:23:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
tls_openssl.c: In function `tls_connection_get_keys':
tls_openssl.c:1786: dereferencing pointer to incomplete type
tls_openssl.c:1786: dereferencing pointer to incomplete type
tls_openssl.c:1790: dereferencing pointer to incomplete type
tls_openssl.c:1791: dereferencing pointer to incomplete type
tls_openssl.c:1792: dereferencing pointer to incomplete type
tls_openssl.c:1794: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_resumed':
tls_openssl.c:2014: dereferencing pointer to incomplete type
tls_openssl.c: In function `tls_connection_get_keyblock_size':
tls_openssl.c:2285: dereferencing pointer to incomplete type
tls_openssl.c:2286: dereferencing pointer to incomplete type
tls_openssl.c:2287: dereferencing pointer to incomplete type
tls_openssl.c:2290: dereferencing pointer to incomplete type
tls_openssl.c:2294: dereferencing pointer to incomplete type
make: *** [tls_openssl.o] Error 1
------------------------------------
solve:
$ CPPFLAGS=-I/usr/kerberos/include
$ export CPPFLAGS
$ make
------
reference:
http://www.cjsdn.net/post/view?bid=11&id=138287&sty=1&tpg=10&age=0
4 則留言:
張貼留言