You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/06/21 06:26:53 UTC

[GitHub] [rocketmq-client-cpp] WanZixin commented on issue #355: Failed to build Boost.Build build engine

WanZixin commented on issue #355:
URL: https://github.com/apache/rocketmq-client-cpp/issues/355#issuecomment-864763719


    @ifplusor This is the error printed by the terminal after I run the `build.sh` script.
   ```
   libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./compat -I./include -I./include -fPIC -I/Users/wanzixin/software/rocketmq-client-cpp/bin/include -fPIC **-I/Users/wanzixin/software/rocketmq-client-cpp/bin/include** -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 -o bufferevent_openssl.o
   bufferevent_openssl.c:106:3: error: incomplete definition of type 'struct bio_st'
           b->init = 0;
           ~^
   ### /Users/wanzixin/software/rocketmq-client-cpp/bin/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;
           ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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.*/
           ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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;
           ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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) {
               ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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)
                       ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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)
                                  ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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);
                                            ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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;
                   ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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;
                   ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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;
                   ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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)
                ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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);
                                         ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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;
                                       ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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)
                ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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;
                                       ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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;
                         ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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;
                   ~^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/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 = {
                     ^
   /Users/wanzixin/software/rocketmq-client-cpp/bin/include/openssl/bio.h:249: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
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org