GithubHelp home page GithubHelp logo

Comments (3)

steaphan-fb-com avatar steaphan-fb-com commented on May 8, 2024

I hope you've managed to resolve this in the meantime.

If not, I suggest you try to use the most recent branch, as the one used here is actually pretty old at this point. If that doesn't work, please open another issue with the details, and I will take a closer look.

Sorry for my delayed response on this one.

from mysql-5.6.

AllenChien avatar AllenChien commented on May 8, 2024

I encounter below compile errors, code base is cloned from latest github.

  1. CentOS release 6.4 (Final)
  2. gcc version 4.8.2 (GCC)

[ 63%] Building C object vio/CMakeFiles/vio.dir/viosslfactories.c.o
/data1/mysql/mysql-5.6-webscalesql-5.6.23.71/vio/viosslfactories.c: In function ‘new_VioSSLFd’:
/data1/mysql/mysql-5.6-webscalesql-5.6.23.71/vio/viosslfactories.c:265:3: warning: implicit declaration of function ‘ERR_clear_error’ [-Wimplicit-function-declaration]
ERR_clear_error();
^
/data1/mysql/mysql-5.6-webscalesql-5.6.23.71/vio/viosslfactories.c:306:5: error: unknown type name ‘EC_KEY’
EC_KEY ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
^
/data1/mysql/mysql-5.6-webscalesql-5.6.23.71/vio/viosslfactories.c:306:5: warning: implicit declaration of function ‘EC_KEY_new_by_curve_name’ [-Wimplicit-function-declaration]
/data1/mysql/mysql-5.6-webscalesql-5.6.23.71/vio/viosslfactories.c:306:45: error: ‘NID_X9_62_prime256v1’ undeclared (first use in this function)
EC_KEY *ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
^
/data1/mysql/mysql-5.6-webscalesql-5.6.23.71/vio/viosslfactories.c:306:45: note: each undeclared identifier is reported only once for each function it appears in
/data1/mysql/mysql-5.6-webscalesql-5.6.23.71/vio/viosslfactories.c:308:7: warning: implicit declaration of function ‘SSL_CTX_set_tmp_ecdh’ [-Wimplicit-function-declaration]
SSL_CTX_set_tmp_ecdh(ssl_fd->ssl_context, ecdh);
^
/data1/mysql/mysql-5.6-webscalesql-5.6.23.71/vio/viosslfactories.c:309:7: warning: implicit declaration of function ‘EC_KEY_free’ [-Wimplicit-function-declaration]
EC_KEY_free(ecdh);
^
make[2]: *
* [vio/CMakeFiles/vio.dir/viosslfactories.c.o] Error 1
make[1]: *** [vio/CMakeFiles/vio.dir/all] Error 2
make: *** [all] Error 2

from mysql-5.6.

AllenChien avatar AllenChien commented on May 8, 2024

cmake with -DWITH_SSL=system, everything goes fine!

from mysql-5.6.

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.