https://bz.apache.org/bugzilla/show_bug.cgi?id=64419

            Bug ID: 64419
           Summary: Build problem with tomcat-native on FreeBSD
                    11.3/LibreSSL
           Product: Tomcat Native
           Version: 1.2.23
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Library
          Assignee: dev@tomcat.apache.org
          Reporter: ges...@blackrosetech.com
  Target Milestone: ---

--- src/ssl.lo ---
In file included from src/ssl.c:24:
./include/ssl_private.h:220:9: warning: 'OPENSSL_VERSION' macro redefined
[-Wmacro-redefined]
#define OPENSSL_VERSION                  SSLEAY_VERSION
        ^
/usr/local/include/openssl/crypto.h:329:9: note: previous definition is here
#define OPENSSL_VERSION         0
        ^
src/ssl.c:301:9: warning: implicit declaration of function
'SSL_CTX_set_keylog_callback' is invalid in C99
[-Wimplicit-function-declaration]
        SSL_CTX_set_keylog_callback(ctx, ssl_keylog_callback);
        ^
src/ssl.c:789:41: error: use of undeclared identifier 'thread_exit_key'; did
you mean 'pthread_exit'?
    err = apr_threadkey_private_create(&thread_exit_key, _ssl_thread_exit,
                                        ^~~~~~~~~~~~~~~
                                        pthread_exit
/usr/include/pthread.h:215:7: note: 'pthread_exit' declared here
void            pthread_exit(void *) __dead2;
                ^
src/ssl.c:789:58: error: use of undeclared identifier '_ssl_thread_exit'
    err = apr_threadkey_private_create(&thread_exit_key, _ssl_thread_exit,
                                                         ^
src/ssl.c:796:5: error: use of undeclared identifier 'threadkey_initialized'
    threadkey_initialized = 1;
    ^
src/ssl.c:799:5: warning: implicit declaration of function 'ssl_thread_setup'
is invalid in C99 [-Wimplicit-function-declaration]
    ssl_thread_setup(tcn_global_pool);
    ^
3 warnings and 3 errors generated.
*** [src/ssl.lo] Error code 1

FreeBSD 11.3-RELEASE-p8 #0 r360490


1.2.23 compiled successfully, but 1.2.24 is throwing errors.

tomcat-native-1.2.23               <   needs updating (index has 1.2.24)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to