Code Monkey home page Code Monkey logo

Comments (5)

lhelontra avatar lhelontra commented on June 12, 2024

Hi, put for me the full log.

from tensorflow-on-arm.

huzz avatar huzz commented on June 12, 2024

Thanks for your reply, here is the full log of the error:

ERROR: /home/huzefa/.cache/bazel/_bazel_root/8d1779a6ac504ff644c04935916f3004/external/boringssl/BUILD:128:1: C++ compilation of rule '@boringssl//:ssl' failed (Exit 1): aarch64-linux-gnu-gcc failed: error executing command 
  (cd /home/huzefa/.cache/bazel/_bazel_root/8d1779a6ac504ff644c04935916f3004/execroot/org_tensorflow && \
  exec env - \
    PATH=/home/huzefa/tensorflow-on-arm/build_tensorflow/sources//bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin \
    PWD=/proc/self/cwd \
    PYTHON_BIN_PATH=/usr/bin/python3.5 \
    PYTHON_LIB_PATH=/usr/local/lib/python3.5/dist-packages \
    TF_DOWNLOAD_CLANG=0 \
    TF_NEED_CUDA=0 \
    TF_NEED_OPENCL_SYCL=0 \
  /home/huzefa/tensorflow-on-arm/build_tensorflow/sources/toolchain/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections '-std=c++11' -isystem /usr/include -isystem /usr/include/aarch64-linux-gnu -MD -MF bazel-out/armeabi-opt/bin/external/boringssl/_objs/ssl/external/boringssl/src/ssl/ssl_buffer.pic.d '-frandom-seed=bazel-out/armeabi-opt/bin/external/boringssl/_objs/ssl/external/boringssl/src/ssl/ssl_buffer.pic.o' -fPIC -iquote external/boringssl -iquote bazel-out/armeabi-opt/genfiles/external/boringssl -iquote external/bazel_tools -iquote bazel-out/armeabi-opt/genfiles/external/bazel_tools -isystem external/boringssl/src/include -isystem bazel-out/armeabi-opt/genfiles/external/boringssl/src/include -isystem bazel-out/armeabi-opt/bin/external/boringssl/src/include '-march=armv8-a+crc+simd' '-mtune=cortex-a53' '-std=c++11' '-DS_IREAD=S_IRUSR' '-DS_IWRITE=S_IWUSR' -funsafe-math-optimizations -ftree-vectorize -fomit-frame-pointer -DRASPBERRY_PI -DOPENSSL_NO_ASM -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -no-canonical-prefixes -fno-canonical-system-headers -c external/boringssl/src/ssl/ssl_buffer.cc -o bazel-out/armeabi-opt/bin/external/boringssl/_objs/ssl/external/boringssl/src/ssl/ssl_buffer.pic.o)
In file included from external/boringssl/src/include/openssl/mem.h:60:0,
                 from external/boringssl/src/ssl/ssl_buffer.cc:24:
external/boringssl/src/include/openssl/base.h:240:13: error: conflicting declaration 'typedef int CRYPTO_THREADID'
 typedef int CRYPTO_THREADID;
             ^~~~~~~~~~~~~~~
In file included from /usr/include/openssl/bio.h:69:0,
                 from /usr/include/openssl/ssl.h:152,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/crypto.h:451:3: note: previous declaration as 'typedef struct crypto_threadid_st CRYPTO_THREADID'
 } CRYPTO_THREADID;
   ^~~~~~~~~~~~~~~
In file included from external/boringssl/src/include/openssl/mem.h:60:0,
                 from external/boringssl/src/ssl/ssl_buffer.cc:24:
external/boringssl/src/include/openssl/base.h:309:32: error: conflicting declaration 'typedef struct ecdsa_method_st ECDSA_METHOD'
 typedef struct ecdsa_method_st ECDSA_METHOD;
                                ^~~~~~~~~~~~
In file included from /usr/include/openssl/crypto.h:131:0,
                 from /usr/include/openssl/bio.h:69,
                 from /usr/include/openssl/ssl.h:152,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/ossl_typ.h:152:29: note: previous declaration as 'typedef struct ecdsa_method ECDSA_METHOD'
 typedef struct ecdsa_method ECDSA_METHOD;
                             ^~~~~~~~~~~~
In file included from external/boringssl/src/include/openssl/mem.h:60:0,
                 from external/boringssl/src/ssl/ssl_buffer.cc:24:
external/boringssl/src/include/openssl/base.h:310:29: error: conflicting declaration 'typedef struct ecdsa_sig_st ECDSA_SIG'
 typedef struct ecdsa_sig_st ECDSA_SIG;
                             ^~~~~~~~~
In file included from /usr/include/openssl/x509.h:87:0,
                 from /usr/include/openssl/pem.h:70,
                 from /usr/include/openssl/ssl.h:162,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/ecdsa.h:81:3: note: previous declaration as 'typedef struct ECDSA_SIG_st ECDSA_SIG'
 } ECDSA_SIG;
   ^~~~~~~~~
In file included from external/boringssl/src/include/openssl/mem.h:60:0,
                 from external/boringssl/src/ssl/ssl_buffer.cc:24:
external/boringssl/src/include/openssl/base.h:317:34: error: conflicting declaration 'typedef struct evp_encode_ctx_st EVP_ENCODE_CTX'
 typedef struct evp_encode_ctx_st EVP_ENCODE_CTX;
                                  ^~~~~~~~~~~~~~
In file included from /usr/include/openssl/pem.h:69:0,
                 from /usr/include/openssl/ssl.h:162,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/evp.h:482:3: note: previous declaration as 'typedef struct evp_Encode_Ctx_st EVP_ENCODE_CTX'
 } EVP_ENCODE_CTX;
   ^~~~~~~~~~~~~~
In file included from external/boringssl/src/include/openssl/mem.h:60:0,
                 from external/boringssl/src/ssl/ssl_buffer.cc:24:
external/boringssl/src/include/openssl/base.h:333:32: error: conflicting declaration 'typedef struct sha256_state_st SHA256_CTX'
 typedef struct sha256_state_st SHA256_CTX;
                                ^~~~~~~~~~
In file included from /usr/include/openssl/x509.h:107:0,
                 from /usr/include/openssl/pem.h:70,
                 from /usr/include/openssl/ssl.h:162,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/sha.h:139:3: note: previous declaration as 'typedef struct SHA256state_st SHA256_CTX'
 } SHA256_CTX;
   ^~~~~~~~~~
In file included from external/boringssl/src/include/openssl/mem.h:60:0,
                 from external/boringssl/src/ssl/ssl_buffer.cc:24:
external/boringssl/src/include/openssl/base.h:334:32: error: conflicting declaration 'typedef struct sha512_state_st SHA512_CTX'
 typedef struct sha512_state_st SHA512_CTX;
                                ^~~~~~~~~~
In file included from /usr/include/openssl/x509.h:107:0,
                 from /usr/include/openssl/pem.h:70,
                 from /usr/include/openssl/ssl.h:162,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/sha.h:191:3: note: previous declaration as 'typedef struct SHA512state_st SHA512_CTX'
 } SHA512_CTX;
   ^~~~~~~~~~
In file included from external/boringssl/src/include/openssl/mem.h:60:0,
                 from external/boringssl/src/ssl/ssl_buffer.cc:24:
external/boringssl/src/include/openssl/base.h:335:29: error: conflicting declaration 'typedef struct sha_state_st SHA_CTX'
 typedef struct sha_state_st SHA_CTX;
                             ^~~~~~~
In file included from /usr/include/openssl/x509.h:107:0,
                 from /usr/include/openssl/pem.h:70,
                 from /usr/include/openssl/ssl.h:162,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/sha.h:105:3: note: previous declaration as 'typedef struct SHAstate_st SHA_CTX'
 } SHA_CTX;
   ^~~~~~~
In file included from /usr/include/openssl/bio.h:69:0,
                 from /usr/include/openssl/ssl.h:152,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
external/boringssl/src/include/openssl/mem.h:79:22: error: 'void* CRYPTO_malloc' redeclared as different kind of symbol
 OPENSSL_EXPORT void *OPENSSL_malloc(size_t size);
                      ^
/usr/include/openssl/crypto.h:534:7: note: previous declaration 'void* CRYPTO_malloc(int, const char*, int)'
 void *CRYPTO_malloc(int num, const char *file, int line);
       ^~~~~~~~~~~~~
external/boringssl/src/include/openssl/mem.h:79:22: error: expected primary-expression before 'size'
 OPENSSL_EXPORT void *OPENSSL_malloc(size_t size);
                      ^
external/boringssl/src/include/openssl/mem.h:88:22: error: 'void* CRYPTO_realloc' redeclared as different kind of symbol
 OPENSSL_EXPORT void *OPENSSL_realloc(void *ptr, size_t new_size);
                      ^
/usr/include/openssl/crypto.h:537:7: note: previous declaration 'void* CRYPTO_realloc(void*, int, const char*, int)'
 void *CRYPTO_realloc(void *addr, int num, const char *file, int line);
       ^~~~~~~~~~~~~~
external/boringssl/src/include/openssl/mem.h:88:22: error: expected primary-expression before 'void'
 OPENSSL_EXPORT void *OPENSSL_realloc(void *ptr, size_t new_size);
                      ^
external/boringssl/src/include/openssl/mem.h:88:22: error: expected primary-expression before 'new_size'
 OPENSSL_EXPORT void *OPENSSL_realloc(void *ptr, size_t new_size);
                      ^
In file included from external/boringssl/src/ssl/ssl_buffer.cc:24:0:
external/boringssl/src/include/openssl/mem.h:99:20: error: conflicting declaration of C function 'int CRYPTO_memcmp(const void*, const void*, size_t)'
 OPENSSL_EXPORT int CRYPTO_memcmp(const void *a, const void *b, size_t len);
                    ^~~~~~~~~~~~~
In file included from /usr/include/openssl/bio.h:69:0,
                 from /usr/include/openssl/ssl.h:152,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/crypto.h:631:5: note: previous declaration 'int CRYPTO_memcmp(const volatile void*, const volatile void*, size_t)'
 int CRYPTO_memcmp(const volatile void *a, const volatile void *b, size_t len);
     ^~~~~~~~~~~~~
external/boringssl/src/include/openssl/mem.h:105:22: error: 'char* CRYPTO_strdup' redeclared as different kind of symbol
 OPENSSL_EXPORT char *OPENSSL_strdup(const char *s);
                      ^
/usr/include/openssl/crypto.h:535:7: note: previous declaration 'char* CRYPTO_strdup(const char*, const char*, int)'
 char *CRYPTO_strdup(const char *str, const char *file, int line);
       ^~~~~~~~~~~~~
external/boringssl/src/include/openssl/mem.h:105:22: error: expected primary-expression before 'const'
 OPENSSL_EXPORT char *OPENSSL_strdup(const char *s);
                      ^
external/boringssl/src/include/openssl/mem.h:105:22: error: expected ')' before 'const'
external/boringssl/src/include/openssl/mem.h: In static member function 'static void bssl::internal::DeleterImpl<char>::Free(char*)':
external/boringssl/src/include/openssl/mem.h:147:1: error: 'OPENSSL_free' was not declared in this scope
 BORINGSSL_MAKE_DELETER(char, OPENSSL_free)
 ^
external/boringssl/src/include/openssl/mem.h: In static member function 'static void bssl::internal::DeleterImpl<unsigned char>::Free(uint8_t*)':
external/boringssl/src/include/openssl/mem.h:148:1: error: 'OPENSSL_free' was not declared in this scope
 BORINGSSL_MAKE_DELETER(uint8_t, OPENSSL_free)
 ^
In file included from external/boringssl/src/ssl/../crypto/internal.h:112:0,
                 from external/boringssl/src/ssl/ssl_buffer.cc:26:
external/boringssl/src/include/openssl/ex_data.h: At global scope:
external/boringssl/src/include/openssl/ex_data.h:185:74: error: conflicting declaration 'typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA*, const CRYPTO_EX_DATA*, void**, int, long int, void*)'
                           void **from_d, int index, long argl, void *argp);
                                                                          ^
In file included from /usr/include/openssl/crypto.h:131:0,
                 from /usr/include/openssl/bio.h:69,
                 from /usr/include/openssl/ssl.h:152,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/ossl_typ.h:201:13: note: previous declaration as 'typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA*, CRYPTO_EX_DATA*, void*, int, long int, void*)'
 typedef int CRYPTO_EX_dup (CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from,
             ^~~~~~~~~~~~~
In file included from external/boringssl/src/ssl/../crypto/internal.h:112:0,
                 from external/boringssl/src/ssl/ssl_buffer.cc:26:
external/boringssl/src/include/openssl/ex_data.h:194:8: error: redefinition of 'struct crypto_ex_data_st'
 struct crypto_ex_data_st {
        ^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/bio.h:69:0,
                 from /usr/include/openssl/ssl.h:152,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/crypto.h:292:8: error: previous definition of 'struct crypto_ex_data_st'
 struct crypto_ex_data_st {
        ^~~~~~~~~~~~~~~~~
In file included from external/boringssl/src/ssl/../crypto/internal.h:114:0,
                 from external/boringssl/src/ssl/ssl_buffer.cc:26:
external/boringssl/src/include/openssl/thread.h:158:3: error: conflicting declaration 'typedef struct CRYPTO_dynlock CRYPTO_dynlock'
 } CRYPTO_dynlock;
   ^~~~~~~~~~~~~~
In file included from /usr/include/openssl/bio.h:69:0,
                 from /usr/include/openssl/ssl.h:152,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/crypto.h:265:3: note: previous declaration as 'typedef struct CRYPTO_dynlock CRYPTO_dynlock'
 } CRYPTO_dynlock;
   ^~~~~~~~~~~~~~
In file included from /usr/include/openssl/crypto.h:129:0,
                 from /usr/include/openssl/bio.h:69,
                 from /usr/include/openssl/ssl.h:152,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
external/boringssl/src/ssl/../crypto/internal.h:543:1: error: redefinition of 'struct stack_st_CRYPTO_EX_DATA_FUNCS'
 DECLARE_STACK_OF(CRYPTO_EX_DATA_FUNCS)
 ^
/usr/include/openssl/crypto.h:312:1: error: previous definition of 'struct stack_st_CRYPTO_EX_DATA_FUNCS'
 DECLARE_STACK_OF(CRYPTO_EX_DATA_FUNCS)
 ^
In file included from external/boringssl/src/ssl/ssl_buffer.cc:26:0:
external/boringssl/src/ssl/../crypto/internal.h:564:20: error: conflicting declaration of C function 'int CRYPTO_get_ex_new_index(CRYPTO_EX_DATA_CLASS*, int*, long int, void*, void (*)(void*, void*, CRYPTO_EX_DATA*, int, long int, void*))'
 OPENSSL_EXPORT int CRYPTO_get_ex_new_index(CRYPTO_EX_DATA_CLASS *ex_data_class,
                    ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/bio.h:69:0,
                 from /usr/include/openssl/ssl.h:152,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/crypto.h:410:5: note: previous declaration 'int CRYPTO_get_ex_new_index(int, long int, void*, int (*)(void*, void*, CRYPTO_EX_DATA*, int, long int, void*), int (*)(CRYPTO_EX_DATA*, CRYPTO_EX_DATA*, void*, int, long int, void*), void (*)(void*, void*, CRYPTO_EX_DATA*, int, long int, void*))'
 int CRYPTO_get_ex_new_index(int class_index, long argl, void *argp,
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from external/boringssl/src/ssl/ssl_buffer.cc:26:0:
external/boringssl/src/ssl/../crypto/internal.h:579:21: error: conflicting declaration of C function 'void CRYPTO_new_ex_data(CRYPTO_EX_DATA*)'
 OPENSSL_EXPORT void CRYPTO_new_ex_data(CRYPTO_EX_DATA *ad);
                     ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/bio.h:69:0,
                 from /usr/include/openssl/ssl.h:152,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/crypto.h:417:5: note: previous declaration 'int CRYPTO_new_ex_data(int, void*, CRYPTO_EX_DATA*)'
 int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
     ^~~~~~~~~~~~~~~~~~
In file included from external/boringssl/src/ssl/ssl_buffer.cc:26:0:
external/boringssl/src/ssl/../crypto/internal.h:583:21: error: conflicting declaration of C function 'void CRYPTO_free_ex_data(CRYPTO_EX_DATA_CLASS*, void*, CRYPTO_EX_DATA*)'
 OPENSSL_EXPORT void CRYPTO_free_ex_data(CRYPTO_EX_DATA_CLASS *ex_data_class,
                     ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/bio.h:69:0,
                 from /usr/include/openssl/ssl.h:152,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
/usr/include/openssl/crypto.h:420:6: note: previous declaration 'void CRYPTO_free_ex_data(int, void*, CRYPTO_EX_DATA*)'
 void CRYPTO_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
      ^~~~~~~~~~~~~~~~~~~
external/boringssl/src/ssl/internal.h: In function 'T* bssl::New(Args&& ...)':
external/boringssl/src/ssl/internal.h:190:13: error: there are no arguments to 'OPENSSL_malloc' that depend on a template parameter, so a declaration of 'OPENSSL_malloc' must be available [-fpermissive]
   void *t = OPENSSL_malloc(sizeof(T));
             ^
external/boringssl/src/ssl/internal.h:190:13: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from external/boringssl/src/ssl/ssl_buffer.cc:27:0:
external/boringssl/src/ssl/internal.h:192:26: error: expected primary-expression before ',' token
     OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE);
                          ^
external/boringssl/src/ssl/internal.h:192:48: error: there are no arguments to 'OPENSSL_PUT_ERROR' that depend on a template parameter, so a declaration of 'OPENSSL_PUT_ERROR' must be available [-fpermissive]
     OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE);
                                                ^
external/boringssl/src/ssl/internal.h: In member function 'bool bssl::Array<T>::Init(size_t)':
external/boringssl/src/ssl/internal.h:314:28: error: expected primary-expression before ',' token
       OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW);
                            ^
external/boringssl/src/ssl/internal.h:314:30: error: 'ERR_R_OVERFLOW' was not declared in this scope
       OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW);
                              ^~~~~~~~~~~~~~
external/boringssl/src/ssl/internal.h:314:44: error: there are no arguments to 'OPENSSL_PUT_ERROR' that depend on a template parameter, so a declaration of 'OPENSSL_PUT_ERROR' must be available [-fpermissive]
       OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW);
                                            ^
In file included from /usr/include/openssl/bio.h:69:0,
                 from /usr/include/openssl/ssl.h:152,
                 from external/boringssl/src/ssl/ssl_buffer.cc:15:
external/boringssl/src/ssl/internal.h:317:34: error: there are no arguments to 'OPENSSL_malloc' that depend on a template parameter, so a declaration of 'OPENSSL_malloc' must be available [-fpermissive]
     data_ = reinterpret_cast<T*>(OPENSSL_malloc(new_size * sizeof(T)));
                                  ^
In file included from external/boringssl/src/ssl/ssl_buffer.cc:27:0:
external/boringssl/src/ssl/internal.h:319:28: error: expected primary-expression before ',' token
       OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE);
                            ^
external/boringssl/src/ssl/internal.h:319:50: error: there are no arguments to 'OPENSSL_PUT_ERROR' that depend on a template parameter, so a declaration of 'OPENSSL_PUT_ERROR' must be available [-fpermissive]
       OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE);
                                                  ^
external/boringssl/src/ssl/internal.h: At global scope:
external/boringssl/src/ssl/internal.h:401:37: error: use of enum 'tls13_variant_t' without previous declaration
 bool ssl_is_resumption_variant(enum tls13_variant_t variant);
                                     ^~~~~~~~~~~~~~~
external/boringssl/src/ssl/internal.h:417:8: error: redefinition of 'struct ssl_cipher_st'
 struct ssl_cipher_st {
        ^~~~~~~~~~~~~
In file included from external/boringssl/src/ssl/ssl_buffer.cc:15:0:
/usr/include/openssl/ssl.h:418:8: error: previous definition of 'struct ssl_cipher_st'
 struct ssl_cipher_st {
        ^~~~~~~~~~~~~
In file included from external/boringssl/src/ssl/ssl_buffer.cc:27:0:
external/boringssl/src/ssl/internal.h:593:3: error: 'ScopedEVP_MD_CTX' does not name a type
   ScopedEVP_MD_CTX hash_;
   ^~~~~~~~~~~~~~~~
external/boringssl/src/ssl/internal.h:596:3: error: 'ScopedEVP_MD_CTX' does not name a type
   ScopedEVP_MD_CTX md5_;
   ^~~~~~~~~~~~~~~~
external/boringssl/src/ssl/internal.h:879:6: error: use of enum 'ssl_private_key_result_t' without previous declaration
 enum ssl_private_key_result_t ssl_private_key_sign(
      ^~~~~~~~~~~~~~~~~~~~~~~~
external/boringssl/src/ssl/internal.h:883:6: error: use of enum 'ssl_private_key_result_t' without previous declaration
 enum ssl_private_key_result_t ssl_private_key_decrypt(SSL_HANDSHAKE *hs,
      ^~~~~~~~~~~~~~~~~~~~~~~~
external/boringssl/src/ssl/internal.h:909:3: error: 'SSL_custom_ext_add_cb' does not name a type
   SSL_custom_ext_add_cb add_callback;
   ^~~~~~~~~~~~~~~~~~~~~
external/boringssl/src/ssl/internal.h:911:3: error: 'SSL_custom_ext_free_cb' does not name a type
   SSL_custom_ext_free_cb free_callback;
   ^~~~~~~~~~~~~~~~~~~~~~
external/boringssl/src/ssl/internal.h:912:3: error: 'SSL_custom_ext_parse_cb' does not name a type
   SSL_custom_ext_parse_cb parse_callback;
   ^~~~~~~~~~~~~~~~~~~~~~~
external/boringssl/src/ssl/internal.h:919:1: error: expected constructor, destructor, or type conversion before 'namespace'
 namespace bssl {
 ^~~~~~~~~
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 497.264s, Critical Path: 34.93s
INFO: 1736 processes: 1736 local.
FAILED: Build did NOT complete successfully


from tensorflow-on-arm.

lhelontra avatar lhelontra commented on June 12, 2024

This errors probably was caused by libssl-dev installed. Cross-compilation includes /usr/include/.
I suggest compiling tensorflow on docker or you can removes the libssl-dev.

from tensorflow-on-arm.

huzz avatar huzz commented on June 12, 2024

I removed libssl-dev and tried the script. Getting the same error.

I want to try the docker method but I am new to docker and do not have experience in using it. Can you please guide me to run the Dockerfile.

Thanks, Regards.

from tensorflow-on-arm.

lhelontra avatar lhelontra commented on June 12, 2024

Hi, see README file, have a new instructions for cross-compiling inside docker.

from tensorflow-on-arm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.