Skip to content

build error #11

@patrickkh7788

Description

@patrickkh7788

I try add -DOPENSSL_API_COMPAT=30000, still get this error:

In file included from crypto/aes/aes_ofb.c:11:
In file included from include/openssl/modes.h:14:
include/openssl/macros.h:102:4: error: "The requested API level higher than the configured API compatibility level"
#  error "The requested API level higher than the configured API compatibility level"
   ^
include/openssl/macros.h:110:4: error: "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
#  error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
   ^
In file included from crypto/aes/aes_ofb.c:11:
In file included from include/openssl/modes.h:20:
In file included from include/openssl/types.h:19:
include/openssl/e_os2.h:168:11: warning: 'OPENSSL_EXPORT' macro redefined [-Wmacro-redefined]
#  define OPENSSL_EXPORT extern
          ^
boringssl/include/openssl/base.h:168:9: note: previous definition is here
#define OPENSSL_EXPORT
        ^
In file included from crypto/aes/aes_ecb.c:13:
In file included from crypto/aes/aes_local.h:13:
In file included from include/openssl/e_os2.h:14:
include/openssl/macros.h:102:4: error: "The requested API level higher than the configured API compatibility level"
#  error "The requested API level higher than the configured API compatibility level"
   ^
include/openssl/macros.h:110:4: error: "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
#  error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
   ^
In file included from crypto/aes/aes_ecb.c:13:
In file included from crypto/aes/aes_local.h:13:
include/openssl/e_os2.h:168:11: warning: 'OPENSSL_EXPORT' macro redefined [-Wmacro-redefined]
#  define OPENSSL_EXPORT extern
          ^
boringssl/include/openssl/base.h:168:9: note: previous definition is here
#define OPENSSL_EXPORT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions