Hi, 

I am installing NaviServer on a Mac with MacOS Catalina.

When I run install-ns.sh build I get this at the end of the process:

config.status: creating include/nsconfig.h
make[1]: Nothing to be done for `all'.
gcc -Os -DNDEBUG -DSYSTEM_MALLOC -Wall -fno-common -pipe    -I../include 
-I"/usr/local/ns/include"  -DHAVE_CONFIG_H -I/opt/local/include      -c -o 
tclcrypto.o tclcrypto.c
tclcrypto.c:1331:55: warning: passing 'const unsigned char *' to parameter of 
type 'unsigned char *' discards qualifiers 
[-Wincompatible-pointer-types-discards-qualifiers]
                                                      (const unsigned char 
*)signatureString,
                                                      
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/openssl/evp.h:580:19: note: passing argument to parameter 
'sig' here
                        unsigned char *sig, size_t siglen);
                                       ^
tclcrypto.c:2672:56: error: use of undeclared identifier 'EVP_CIPH_GCM_MODE'
    } else if ((result = GetCipher(interp, cipherName, EVP_CIPH_GCM_MODE, 
"gcm", cipherPtr)) == TCL_OK) {
                                                       ^
tclcrypto.c:2783:46: error: use of undeclared identifier 
'EVP_CTRL_GCM_SET_IVLEN'
                || (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, ivLength, 
NULL) != 1)
                                             ^
tclcrypto.c:2831:42: error: use of undeclared identifier 'EVP_CTRL_GCM_GET_TAG'
                EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_GET_TAG, tagDs.length, 
tagDs.string);
                                         ^
tclcrypto.c:2862:53: error: use of undeclared identifier 
'EVP_CTRL_GCM_SET_IVLEN'
                       || (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, 
ivLength, NULL) != 1)
                                                    ^
tclcrypto.c:2901:45: error: use of undeclared identifier 'EVP_CTRL_GCM_SET_TAG'
                if(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_TAG, tagLength, 
tagString) != 1) {
                                            ^
1 warning and 5 errors generated.
make[1]: *** [tclcrypto.o] Error 1
make: *** [all] Error 1

I do not know where to go from here. I appreciate any advice.

Thorpe


_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to