libtool: link: ( cd ".libs" && rm -f "
libevent_pthreads.la" && ln -s "../
libevent_pthreads.la" "
libevent_pthreads.la" )
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -I./include -I./include -g -O2 -Wall -fno-strict-aliasing -Wno-deprecated-declarations -D_THREAD_SAFE -MT bufferevent_openssl.lo -MD -MP -MF .deps/bufferevent_openssl.Tpo -c -o bufferevent_openssl.lo bufferevent_openssl.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -I./include -I./include -g -O2 -Wall -fno-strict-aliasing -Wno-deprecated-declarations -D_THREAD_SAFE -MT bufferevent_openssl.lo -MD -MP -MF .deps/bufferevent_openssl.Tpo -c bufferevent_openssl.c -fno-common -DPIC -o .libs/bufferevent_openssl.o
bufferevent_openssl.c:106:3: error: incomplete definition of type 'struct bio_st'
b->init = 0;
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:107:3: error: incomplete definition of type 'struct bio_st'
b->num = -1;
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:108:3: error: incomplete definition of type 'struct bio_st'
b->ptr = NULL; /* We'll be putting the bufferevent in this field.*/
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:109:3: error: incomplete definition of type 'struct bio_st'
b->flags = 0;
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:119:7: error: incomplete definition of type 'struct bio_st'
if (b->shutdown) {
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:120:8: error: incomplete definition of type 'struct bio_st'
if (b->init && b->ptr)
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:120:19: error: incomplete definition of type 'struct bio_st'
if (b->init && b->ptr)
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:121:22: error: incomplete definition of type 'struct bio_st'
bufferevent_free(b->ptr);
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:122:4: error: incomplete definition of type 'struct bio_st'
b->init = 0;
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:123:4: error: incomplete definition of type 'struct bio_st'
b->flags = 0;
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:124:4: error: incomplete definition of type 'struct bio_st'
b->ptr = NULL;
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:140:8: error: incomplete definition of type 'struct bio_st'
if (!b->ptr)
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:143:33: error: incomplete definition of type 'struct bio_st'
input = bufferevent_get_input(b->ptr);
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:159:31: error: incomplete definition of type 'struct bio_st'
struct bufferevent *bufev = b->ptr;
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:165:8: error: incomplete definition of type 'struct bio_st'
if (!b->ptr)
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:191:31: error: incomplete definition of type 'struct bio_st'
struct bufferevent *bufev = b->ptr;
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:196:10: error: incomplete definition of type 'struct bio_st'
ret = b->shutdown;
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:199:4: error: incomplete definition of type 'struct bio_st'
b->shutdown = (int)num;
~^
/usr/local/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st'
typedef struct bio_st BIO;
^
bufferevent_openssl.c:228:19: error: variable has incomplete type 'BIO_METHOD' (aka 'struct bio_method_st')
static BIO_METHOD methods_bufferevent = {
^
/usr/local/include/openssl/bio.h:247:16: note: forward declaration of 'struct bio_method_st'
typedef struct bio_method_st BIO_METHOD;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [bufferevent_openssl.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2