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

src/ssl.c:404:9: error: unknown type name 'COMP_METHOD' #65

Closed
hdatma opened this issue Dec 23, 2015 · 3 comments
Closed

src/ssl.c:404:9: error: unknown type name 'COMP_METHOD' #65

hdatma opened this issue Dec 23, 2015 · 3 comments

Comments

@hdatma
Copy link

hdatma commented Dec 23, 2015

The following holds for https://luarocks.org/modules/luarocks/luasec,
which is the most downloaded code, and is one year old.

src/ssl.c:404:9: error: unknown type name 'COMP_METHOD'; did you mean 'CONF_METHOD'?
const COMP_METHOD *comp;
^~~~~~~~~~~
CONF_METHOD
/opt/share/libressl/include/openssl/conf.h:86:31: note: 'CONF_METHOD' declared here
typedef struct conf_method_st CONF_METHOD;
^
1 error generated.

Error: Build error: Failed compiling object src/ssl.o

note:

search -cv COMP_METHOD /opt/share/libressl
/opt/share/libressl/include/openssl/comp.h:14:typedef struct comp_method_st {
/opt/share/libressl/include/openssl/comp.h:26:} COMP_METHOD;
/opt/share/libressl/include/openssl/comp.h:29: COMP_METHOD *meth;
/opt/share/libressl/include/openssl/comp.h:39:COMP_CTX *COMP_CTX_new(COMP_METHOD *meth);
/opt/share/libressl/include/openssl/comp.h:45:COMP_METHOD *COMP_rle(void );
/opt/share/libressl/include/openssl/comp.h:46:COMP_METHOD *COMP_zlib(void );

@daurnimator
Copy link
Contributor

Duplicate of issue #29. Fixed via #30.

@hdatma
Copy link
Author

hdatma commented Dec 23, 2015

The problem is the absence of the fix in the mainstream distribution via luarocks,
which is one year old.

@brunoos
Copy link
Member

brunoos commented Dec 24, 2015

Email sent to luarocks requesting update.

@brunoos brunoos closed this as completed Dec 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants