warmcat / lws-esp32-factory

Libwebsockets ESP32 Factory Application
Other
80 stars 24 forks source link

multiple definition of api functions when using openssl api functions #53

Closed formus14 closed 5 years ago

formus14 commented 5 years ago

I'm working on an example code where I'm using libwebsocket to create a WSS Server and at the same time, I'm using the idf open SSL to create an https client ..

I couldn't compile the code due to some issue with multi definition functionalities the libwebsocket use .. is there a way to deactivate the usage of OpenSSL for libwebsocket from the Cmake file or any way around to be able to use the idf api functions ?

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function `ossl_statem_in_error':

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/components/libwebsockets/lib/tls/mbedtls/wrapper/library/ssl_lib.c:64: multiple definition of `ossl_statem_in_error'

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):/mnt/c/temp/IDFS/IDF_3_WITH_MDNS_2.1/esp-idf/components/openssl/library/ssl_lib.c:64: first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_want': ssl_lib.c:(.text.SSL_want+0x0): multiple definition ofSSL_want' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_want+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_want_nothing': ssl_lib.c:(.text.SSL_want_nothing+0x0): multiple definition ofSSL_want_nothing' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_want_nothing+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_want_read': ssl_lib.c:(.text.SSL_want_read+0x0): multiple definition ofSSL_want_read' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_want_read+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_want_write': ssl_lib.c:(.text.SSL_want_write+0x0): multiple definition ofSSL_want_write' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_want_write+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_want_x509_lookup': ssl_lib.c:(.text.SSL_want_x509_lookup+0x0): multiple definition ofSSL_want_x509_lookup' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_want_x509_lookup+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_get_error': ssl_lib.c:(.text.SSL_get_error+0x0): multiple definition ofSSL_get_error' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_get_error+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_get_state': ssl_lib.c:(.text.SSL_get_state+0x0): multiple definition ofSSL_get_state' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_get_state+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_CTX_new': ssl_lib.c:(.text.SSL_CTX_new+0x0): multiple definition ofSSL_CTX_new' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_CTX_new+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_CTX_free': ssl_lib.c:(.text.SSL_CTX_free+0x0): multiple definition ofSSL_CTX_free' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_CTX_free+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_CTX_set_ssl_version': ssl_lib.c:(.text.SSL_CTX_set_ssl_version+0x0): multiple definition ofSSL_CTX_set_ssl_version' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_CTX_set_ssl_version+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_CTX_get_ssl_method': ssl_lib.c:(.text.SSL_CTX_get_ssl_method+0x0): multiple definition ofSSL_CTX_get_ssl_method' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_CTX_get_ssl_method+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_new': ssl_lib.c:(.text.SSL_new+0x0): multiple definition ofSSL_new' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_new+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_free': ssl_lib.c:(.text.SSL_free+0x0): multiple definition ofSSL_free' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_free+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_do_handshake': ssl_lib.c:(.text.SSL_do_handshake+0x0): multiple definition ofSSL_do_handshake' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_do_handshake+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_connect': ssl_lib.c:(.text.SSL_connect+0x0): multiple definition ofSSL_connect' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_connect+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_accept': ssl_lib.c:(.text.SSL_accept+0x0): multiple definition ofSSL_accept' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_accept+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_shutdown': ssl_lib.c:(.text.SSL_shutdown+0x0): multiple definition ofSSL_shutdown' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_shutdown+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_clear': ssl_lib.c:(.text.SSL_clear+0x0): multiple definition ofSSL_clear' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_clear+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_read': ssl_lib.c:(.text.SSL_read+0x0): multiple definition ofSSL_read' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_read+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_write': ssl_lib.c:(.text.SSL_write+0x0): multiple definition ofSSL_write' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_write+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_get_SSL_CTX': ssl_lib.c:(.text.SSL_get_SSL_CTX+0x0): multiple definition ofSSL_get_SSL_CTX' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_get_SSL_CTX+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_get_ssl_method': ssl_lib.c:(.text.SSL_get_ssl_method+0x0): multiple definition ofSSL_get_ssl_method' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_get_ssl_method+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_set_ssl_method': ssl_lib.c:(.text.SSL_set_ssl_method+0x0): multiple definition ofSSL_set_ssl_method' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_set_ssl_method+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_get_shutdown': ssl_lib.c:(.text.SSL_get_shutdown+0x0): multiple definition ofSSL_get_shutdown' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_get_shutdown+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_set_shutdown': ssl_lib.c:(.text.SSL_set_shutdown+0x0): multiple definition ofSSL_set_shutdown' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_set_shutdown+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_pending': ssl_lib.c:(.text.SSL_pending+0x0): multiple definition ofSSL_pending' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_pending+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_has_pending': ssl_lib.c:(.text.SSL_has_pending+0x0): multiple definition ofSSL_has_pending' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_has_pending+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_CTX_clear_options': ssl_lib.c:(.text.SSL_CTX_clear_options+0x0): multiple definition ofSSL_CTX_clear_options' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_CTX_clear_options+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_CTX_get_options': ssl_lib.c:(.text.SSL_CTX_get_options+0x0): multiple definition ofSSL_CTX_get_options' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_CTX_get_options+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_CTX_set_options': ssl_lib.c:(.text.SSL_CTX_set_options+0x0): multiple definition ofSSL_CTX_set_options' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_CTX_set_options+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_clear_options': ssl_lib.c:(.text.SSL_clear_options+0x0): multiple definition ofSSL_clear_options' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_clear_options+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_get_options': ssl_lib.c:(.text.SSL_get_options+0x0): multiple definition ofSSL_get_options' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_get_options+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_set_options': ssl_lib.c:(.text.SSL_set_options+0x0): multiple definition ofSSL_set_options' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_set_options+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_get_wfd': ssl_lib.c:(.text.SSL_get_wfd+0x0): multiple definition ofSSL_get_wfd' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_get_wfd+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_get_rfd': ssl_lib.c:(.text.SSL_get_rfd+0x0): multiple definition ofSSL_get_rfd' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_get_rfd+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_get_fd': ssl_lib.c:(.text.SSL_get_fd+0x0): multiple definition ofSSL_get_fd' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_get_fd+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_set_wfd': ssl_lib.c:(.text.SSL_set_wfd+0x0): multiple definition ofSSL_set_wfd' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_set_wfd+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_set_rfd': ssl_lib.c:(.text.SSL_set_rfd+0x0): multiple definition ofSSL_set_rfd' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_set_rfd+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_set_fd': ssl_lib.c:(.text.SSL_set_fd+0x0): multiple definition ofSSL_set_fd' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_set_fd+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_version': ssl_lib.c:(.text.SSL_version+0x0): multiple definition ofSSL_version' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_version+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_get_version': ssl_lib.c:(.text.SSL_get_version+0x0): multiple definition ofSSL_get_version' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_get_version+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_alert_desc_string': ssl_lib.c:(.text.SSL_alert_desc_string+0x0): multiple definition ofSSL_alert_desc_string' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_alert_desc_string+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_alert_desc_string_long': ssl_lib.c:(.text.SSL_alert_desc_string_long+0x0): multiple definition ofSSL_alert_desc_string_long' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_alert_desc_string_long+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_alert_type_string': ssl_lib.c:(.text.SSL_alert_type_string+0x0): multiple definition ofSSL_alert_type_string' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_alert_type_string+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_alert_type_string_long': ssl_lib.c:(.text.SSL_alert_type_string_long+0x0): multiple definition ofSSL_alert_type_string_long' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_alert_type_string_long+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_rstate_string': ssl_lib.c:(.text.SSL_rstate_string+0x0): multiple definition ofSSL_rstate_string' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_rstate_string+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_rstate_string_long': ssl_lib.c:(.text.SSL_rstate_string_long+0x0): multiple definition ofSSL_rstate_string_long' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_rstate_string_long+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_state_string': ssl_lib.c:(.text.SSL_state_string+0x0): multiple definition ofSSL_state_string' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_state_string+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_state_string_long': ssl_lib.c:(.text.SSL_state_string_long+0x0): multiple definition ofSSL_state_string_long' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_state_string_long+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_CTX_set_default_read_buffer_len': ssl_lib.c:(.text.SSL_CTX_set_default_read_buffer_len+0x0): multiple definition ofSSL_CTX_set_default_read_buffer_len' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_CTX_set_default_read_buffer_len+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_set_default_read_buffer_len': ssl_lib.c:(.text.SSL_set_default_read_buffer_len+0x0): multiple definition ofSSL_set_default_read_buffer_len' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_set_default_read_buffer_len+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_set_info_callback': ssl_lib.c:(.text.SSL_set_info_callback+0x0): multiple definition ofSSL_set_info_callback' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_set_info_callback+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_CTX_up_ref': ssl_lib.c:(.text.SSL_CTX_up_ref+0x0): multiple definition ofSSL_CTX_up_ref' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_CTX_up_ref+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_set_security_level': ssl_lib.c:(.text.SSL_set_security_level+0x0): multiple definition ofSSL_set_security_level' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_lib.o):ssl_lib.c:(.text.SSL_set_security_level+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_lib.c.o): In function SSL_get_security_level': ssl_lib.c:(.text.SSL_get_security_level+0x0): multiple definition ofSSL_get_security_level'

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.__X509_new+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function X509_new': ssl_x509.c:(.text.X509_new+0x0): multiple definition ofX509_new' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.X509_new+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function X509_free': ssl_x509.c:(.text.X509_free+0x0): multiple definition ofX509_free' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.X509_free+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function d2i_X509': ssl_x509.c:(.text.d2i_X509+0x0): multiple definition ofd2i_X509' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.d2i_X509+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function SSL_get0_param': ssl_x509.c:(.text.SSL_get0_param+0x0): multiple definition ofSSL_get0_param' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.SSL_get0_param+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function X509_VERIFY_PARAM_set_hostflags': ssl_x509.c:(.text.X509_VERIFY_PARAM_set_hostflags+0x0): multiple definition ofX509_VERIFY_PARAM_set_hostflags' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.X509_VERIFY_PARAM_set_hostflags+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function X509_VERIFY_PARAM_clear_hostflags': ssl_x509.c:(.text.X509_VERIFY_PARAM_clear_hostflags+0x0): multiple definition ofX509_VERIFY_PARAM_clear_hostflags' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.X509_VERIFY_PARAM_clear_hostflags+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function SSL_CTX_add_client_CA': ssl_x509.c:(.text.SSL_CTX_add_client_CA+0x0): multiple definition ofSSL_CTX_add_client_CA' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.SSL_CTX_add_client_CA+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function SSL_add_client_CA': ssl_x509.c:(.text.SSL_add_client_CA+0x0): multiple definition ofSSL_add_client_CA' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.SSL_add_client_CA+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function SSL_CTX_use_certificate': ssl_x509.c:(.text.SSL_CTX_use_certificate+0x0): multiple definition ofSSL_CTX_use_certificate' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.SSL_CTX_use_certificate+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function SSL_use_certificate': ssl_x509.c:(.text.SSL_use_certificate+0x0): multiple definition ofSSL_use_certificate' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.SSL_use_certificate+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function SSL_get_certificate': ssl_x509.c:(.text.SSL_get_certificate+0x0): multiple definition ofSSL_get_certificate' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.SSL_get_certificate+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function SSL_CTX_use_certificate_ASN1': ssl_x509.c:(.text.SSL_CTX_use_certificate_ASN1+0x0): multiple definition ofSSL_CTX_use_certificate_ASN1' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.SSL_CTX_use_certificate_ASN1+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function SSL_use_certificate_ASN1': ssl_x509.c:(.text.SSL_use_certificate_ASN1+0x0): multiple definition ofSSL_use_certificate_ASN1' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.SSL_use_certificate_ASN1+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function SSL_CTX_use_certificate_file': ssl_x509.c:(.text.SSL_CTX_use_certificate_file+0x0): multiple definition ofSSL_CTX_use_certificate_file' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.SSL_CTX_use_certificate_file+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function SSL_use_certificate_file': ssl_x509.c:(.text.SSL_use_certificate_file+0x0): multiple definition ofSSL_use_certificate_file' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.SSL_use_certificate_file+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_x509.c.o): In function SSL_get_peer_certificate': ssl_x509.c:(.text.SSL_get_peer_certificate+0x0): multiple definition ofSSL_get_peer_certificate' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_x509.o):ssl_x509.c:(.text.SSL_get_peer_certificate+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_new': /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/components/libwebsockets/lib/tls/mbedtls/wrapper/platform/ssl_pm.c:98: multiple definition ofssl_pm_new'

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):/mnt/c/temp/IDFS/IDF_3_WITH_MDNS_2.1/esp-idf/components/openssl/platform/ssl_pm.c:94: first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_free': ssl_pm.c:(.text.ssl_pm_free+0x0): multiple definition ofssl_pm_free' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.ssl_pm_free+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_handshake': ssl_pm.c:(.text.ssl_pm_handshake+0x0): multiple definition ofssl_pm_handshake' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.ssl_pm_handshake+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_shutdown': ssl_pm.c:(.text.ssl_pm_shutdown+0x0): multiple definition ofssl_pm_shutdown' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.ssl_pm_shutdown+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_clear': ssl_pm.c:(.text.ssl_pm_clear+0x0): multiple definition ofssl_pm_clear' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.ssl_pm_clear+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_read': ssl_pm.c:(.text.ssl_pm_read+0x0): multiple definition ofssl_pm_read' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.ssl_pm_read+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_send': ssl_pm.c:(.text.ssl_pm_send+0x0): multiple definition ofssl_pm_send' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.ssl_pm_send+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_pending': ssl_pm.c:(.text.ssl_pm_pending+0x0): multiple definition ofssl_pm_pending' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.ssl_pm_pending+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_set_fd': ssl_pm.c:(.text.ssl_pm_set_fd+0x0): multiple definition ofssl_pm_set_fd' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.ssl_pm_set_fd+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_get_fd': ssl_pm.c:(.text.ssl_pm_get_fd+0x0): multiple definition ofssl_pm_get_fd' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.ssl_pm_get_fd+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_get_state': ssl_pm.c:(.text.ssl_pm_get_state+0x0): multiple definition ofssl_pm_get_state' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.ssl_pm_get_state+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function x509_pm_show_info': ssl_pm.c:(.text.x509_pm_show_info+0x0): multiple definition ofx509_pm_show_info' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.x509_pm_show_info+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function x509_pm_new': ssl_pm.c:(.text.x509_pm_new+0x0): multiple definition ofx509_pm_new' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.x509_pm_new+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function x509_pm_free': ssl_pm.c:(.text.x509_pm_free+0x0): multiple definition ofx509_pm_free' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.x509_pm_free+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function x509_pm_load': ssl_pm.c:(.text.x509_pm_load+0x0): multiple definition ofx509_pm_load' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.x509_pm_load+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function pkey_pm_new': ssl_pm.c:(.text.pkey_pm_new+0x0): multiple definition ofpkey_pm_new' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.pkey_pm_new+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function pkey_pm_free': ssl_pm.c:(.text.pkey_pm_free+0x0): multiple definition ofpkey_pm_free' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.pkey_pm_free+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function pkey_pm_load': ssl_pm.c:(.text.pkey_pm_load+0x0): multiple definition ofpkey_pm_load' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.pkey_pm_load+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_set_bufflen': ssl_pm.c:(.text.ssl_pm_set_bufflen+0x0): multiple definition ofssl_pm_set_bufflen' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.ssl_pm_set_bufflen+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function ssl_pm_get_verify_result': ssl_pm.c:(.text.ssl_pm_get_verify_result+0x0): multiple definition ofssl_pm_get_verify_result' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.ssl_pm_get_verify_result+0x0): first defined here

/mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/libwebsockets/liblibwebsockets.a(ssl_pm.c.o): In function X509_VERIFY_PARAM_set1_host': ssl_pm.c:(.text.X509_VERIFY_PARAM_set1_host+0x0): multiple definition ofX509_VERIFY_PARAM_set1_host' /mnt/c/temp/SVN/KFV_PROJECTS/KFV_TAGs/Temp/wssProtocolOhneKeyless_v0.4.0/KFV/KFV/build/openssl/libopenssl.a(ssl_pm.o):ssl_pm.c:(.text.X509_VERIFY_PARAM_set1_host+0x0): first defined here

collect2: error: ld returned 1 exit status

lws-team commented 5 years ago

I'm working on an example code where I'm using libwebsocket to create a WSS Server and at the same time, I'm using the idf open SSL to create an https client ..

Don't do that... lws support https client just fine, eg

https://libwebsockets.org/git/libwebsockets/tree/minimal-examples/http-client/minimal-http-client/minimal-http-client.c