We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I try to build libideviceactivation on Windows 11 ARM (with MSYS Mingw) and I have an error with dllexport.
Here is the log:
make all-recursive make[1]: Entering directory '/home/ifred09/ARM/libideviceactivation' Making all in src make[2]: Entering directory '/home/ifred09/ARM/libideviceactivation/src' CC activation.lo activation.c:167:29: warning: redeclaration of 'idevice_activation_set_debug_level' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 167 | IDEVICE_ACTIVATION_API void idevice_activation_set_debug_level(int level) { | ^ ../include/libideviceactivation.h:58:6: note: previous declaration is here 58 | void idevice_activation_set_debug_level(int level); | ^ activation.c:724:51: warning: redeclaration of 'idevice_activation_request_new' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 724 | IDEVICE_ACTIVATION_API idevice_activation_error_t idevice_activation_request_new(idevice_act... | ^ ../include/libideviceactivation.h:60:28: note: previous declaration is here 60 | idevice_activation_error_t idevice_activation_request_new(idevice_activation_client_type_t a... | ^ activation.c:744:51: warning: redeclaration of 'idevice_activation_request_new_from_lockdownd' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 744 | IDEVICE_ACTIVATION_API idevice_activation_error_t idevice_activation_request_new_from_lockdo... | ^ ../include/libideviceactivation.h:61:28: note: previous declaration is here 61 | idevice_activation_error_t idevice_activation_request_new_from_lockdownd(idevice_activation_... | ^ activation.c:867:51: warning: redeclaration of 'idevice_activation_drm_handshake_request_new' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 867 | IDEVICE_ACTIVATION_API idevice_activation_error_t idevice_activation_drm_handshake_request_n... | ^ ../include/libideviceactivation.h:62:28: note: previous declaration is here 62 | idevice_activation_error_t idevice_activation_drm_handshake_request_new(idevice_activation_c... | ^ activation.c:887:29: warning: redeclaration of 'idevice_activation_request_free' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 887 | IDEVICE_ACTIVATION_API void idevice_activation_request_free(idevice_activation_request_t request) | ^ ../include/libideviceactivation.h:63:6: note: previous declaration is here 63 | void idevice_activation_request_free(idevice_activation_request_t request); | ^ activation.c:896:29: warning: redeclaration of 'idevice_activation_request_get_fields' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 896 | IDEVICE_ACTIVATION_API void idevice_activation_request_get_fields(idevice_activation_request... | ^ ../include/libideviceactivation.h:65:6: note: previous declaration is here 65 | void idevice_activation_request_get_fields(idevice_activation_request_t request, plist_t* fields); | ^ activation.c:904:29: warning: redeclaration of 'idevice_activation_request_set_fields' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 904 | IDEVICE_ACTIVATION_API void idevice_activation_request_set_fields(idevice_activation_request... | ^ ../include/libideviceactivation.h:66:6: note: previous declaration is here 66 | void idevice_activation_request_set_fields(idevice_activation_request_t request, plist_t fields); | ^ activation.c:926:29: warning: redeclaration of 'idevice_activation_request_set_fields_from_response' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 926 | IDEVICE_ACTIVATION_API void idevice_activation_request_set_fields_from_response(idevice_acti... | ^ ../include/libideviceactivation.h:67:6: note: previous declaration is here 67 | void idevice_activation_request_set_fields_from_response(idevice_activation_request_t reques... | ^ activation.c:939:29: warning: redeclaration of 'idevice_activation_request_set_field' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 939 | IDEVICE_ACTIVATION_API void idevice_activation_request_set_field(idevice_activation_request_... | ^ ../include/libideviceactivation.h:68:6: note: previous declaration is here 68 | void idevice_activation_request_set_field(idevice_activation_request_t request, const char* ... | ^ activation.c:947:29: warning: redeclaration of 'idevice_activation_request_get_field' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 947 | IDEVICE_ACTIVATION_API void idevice_activation_request_get_field(idevice_activation_request_... | ^ ../include/libideviceactivation.h:69:6: note: previous declaration is here 69 | void idevice_activation_request_get_field(idevice_activation_request_t request, const char* ... | ^ activation.c:967:29: warning: redeclaration of 'idevice_activation_request_get_url' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 967 | IDEVICE_ACTIVATION_API void idevice_activation_request_get_url(idevice_activation_request_t ... | ^ ../include/libideviceactivation.h:71:6: note: previous declaration is here 71 | void idevice_activation_request_get_url(idevice_activation_request_t request, const char** url); | ^ activation.c:975:29: warning: redeclaration of 'idevice_activation_request_set_url' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 975 | IDEVICE_ACTIVATION_API void idevice_activation_request_set_url(idevice_activation_request_t ... | ^ ../include/libideviceactivation.h:72:6: note: previous declaration is here 72 | void idevice_activation_request_set_url(idevice_activation_request_t request, const char* url); | ^ activation.c:984:51: warning: redeclaration of 'idevice_activation_response_new' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 984 | IDEVICE_ACTIVATION_API idevice_activation_error_t idevice_activation_response_new(idevice_ac... | ^ ../include/libideviceactivation.h:74:28: note: previous declaration is here 74 | idevice_activation_error_t idevice_activation_response_new(idevice_activation_response_t* response); | ^ activation.c:1015:51: warning: redeclaration of 'idevice_activation_response_new_from_html' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1015 | IDEVICE_ACTIVATION_API idevice_activation_error_t idevice_activation_response_new_from_html(... | ^ ../include/libideviceactivation.h:75:28: note: previous declaration is here 75 | idevice_activation_error_t idevice_activation_response_new_from_html(const char* content, id... | ^ activation.c:1053:51: warning: redeclaration of 'idevice_activation_response_to_buffer' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1053 | IDEVICE_ACTIVATION_API idevice_activation_error_t idevice_activation_response_to_buffer(idev... | ^ ../include/libideviceactivation.h:76:28: note: previous declaration is here 76 | idevice_activation_error_t idevice_activation_response_to_buffer(idevice_activation_response... | ^ activation.c:1071:29: error: redeclaration of 'idevice_activation_response_free' cannot add 'dllexport' attribute 1071 | IDEVICE_ACTIVATION_API void idevice_activation_response_free(idevice_activation_response_t response) | ^ ../include/libideviceactivation.h:77:6: note: previous declaration is here 77 | void idevice_activation_response_free(idevice_activation_response_t response); | ^ activation.c:1089:29: warning: redeclaration of 'idevice_activation_response_get_field' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1089 | IDEVICE_ACTIVATION_API void idevice_activation_response_get_field(idevice_activation_respons... | ^ ../include/libideviceactivation.h:79:6: note: previous declaration is here 79 | void idevice_activation_response_get_field(idevice_activation_response_t response, const cha... | ^ activation.c:1102:29: error: redeclaration of 'idevice_activation_response_get_fields' cannot add 'dllexport' attribute 1102 | IDEVICE_ACTIVATION_API void idevice_activation_response_get_fields(idevice_activation_respon... | ^ ../include/libideviceactivation.h:80:6: note: previous declaration is here 80 | void idevice_activation_response_get_fields(idevice_activation_response_t response, plist_t... | ^ activation.c:1109:29: warning: redeclaration of 'idevice_activation_response_get_label' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1109 | IDEVICE_ACTIVATION_API void idevice_activation_response_get_label(idevice_activation_respons... | ^ ../include/libideviceactivation.h:81:6: note: previous declaration is here 81 | void idevice_activation_response_get_label(idevice_activation_response_t response, const cha... | ^ activation.c:1121:29: warning: redeclaration of 'idevice_activation_response_get_placeholder' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1121 | IDEVICE_ACTIVATION_API void idevice_activation_response_get_placeholder(idevice_activation_r... | ^ ../include/libideviceactivation.h:82:6: note: previous declaration is here 82 | void idevice_activation_response_get_placeholder(idevice_activation_response_t response, con... | ^ activation.c:1133:29: warning: redeclaration of 'idevice_activation_response_get_title' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1133 | IDEVICE_ACTIVATION_API void idevice_activation_response_get_title(idevice_activation_respons... | ^ ../include/libideviceactivation.h:84:6: note: previous declaration is here 84 | void idevice_activation_response_get_title(idevice_activation_response_t response, const cha... | ^ activation.c:1141:29: warning: redeclaration of 'idevice_activation_response_get_description' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1141 | IDEVICE_ACTIVATION_API void idevice_activation_response_get_description(idevice_activation_r... | ^ ../include/libideviceactivation.h:85:6: note: previous declaration is here 85 | void idevice_activation_response_get_description(idevice_activation_response_t response, con... | ^ activation.c:1149:29: warning: redeclaration of 'idevice_activation_response_get_activation_record' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1149 | IDEVICE_ACTIVATION_API void idevice_activation_response_get_activation_record(idevice_activa... | ^ ../include/libideviceactivation.h:86:6: note: previous declaration is here 86 | void idevice_activation_response_get_activation_record(idevice_activation_response_t respons... | ^ activation.c:1161:29: warning: redeclaration of 'idevice_activation_response_get_headers' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1161 | IDEVICE_ACTIVATION_API void idevice_activation_response_get_headers(idevice_activation_respo... | ^ ../include/libideviceactivation.h:87:6: note: previous declaration is here 87 | void idevice_activation_response_get_headers(idevice_activation_response_t response, plist_t... | ^ activation.c:1169:28: warning: redeclaration of 'idevice_activation_response_is_activation_acknowledged' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1169 | IDEVICE_ACTIVATION_API int idevice_activation_response_is_activation_acknowledged(idevice_ac... | ^ ../include/libideviceactivation.h:89:5: note: previous declaration is here 89 | int idevice_activation_response_is_activation_acknowledged(idevice_activation_response_t response); | ^ activation.c:1177:28: warning: redeclaration of 'idevice_activation_response_is_authentication_required' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1177 | IDEVICE_ACTIVATION_API int idevice_activation_response_is_authentication_required(idevice_ac... | ^ ../include/libideviceactivation.h:90:5: note: previous declaration is here 90 | int idevice_activation_response_is_authentication_required(idevice_activation_response_t response); | ^ activation.c:1185:28: warning: redeclaration of 'idevice_activation_response_field_requires_input' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1185 | IDEVICE_ACTIVATION_API int idevice_activation_response_field_requires_input(idevice_activati... | ^ ../include/libideviceactivation.h:91:5: note: previous declaration is here 91 | int idevice_activation_response_field_requires_input(idevice_activation_response_t response... | ^ activation.c:1193:28: warning: redeclaration of 'idevice_activation_response_field_secure_input' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1193 | IDEVICE_ACTIVATION_API int idevice_activation_response_field_secure_input(idevice_activation... | ^ ../include/libideviceactivation.h:92:5: note: previous declaration is here 92 | int idevice_activation_response_field_secure_input(idevice_activation_response_t response, c... | ^ activation.c:1201:28: warning: redeclaration of 'idevice_activation_response_has_errors' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1201 | IDEVICE_ACTIVATION_API int idevice_activation_response_has_errors(idevice_activation_respons... | ^ ../include/libideviceactivation.h:93:5: note: previous declaration is here 93 | int idevice_activation_response_has_errors(idevice_activation_response_t response); | ^ activation.c:1209:51: warning: redeclaration of 'idevice_activation_send_request' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] 1209 | IDEVICE_ACTIVATION_API idevice_activation_error_t idevice_activation_send_request(idevice_ac... | ^ ../include/libideviceactivation.h:95:28: note: previous declaration is here 95 | idevice_activation_error_t idevice_activation_send_request(idevice_activation_request_t requ... | ^ 28 warnings and 2 errors generated. make[2]: *** [Makefile:482: activation.lo] Error 1 make[2]: Leaving directory '/home/ifred09/ARM/libideviceactivation/src' make[1]: *** [Makefile:427: all-recursive] Error 1 make[1]: Leaving directory '/home/ifred09/ARM/libideviceactivation' make: *** [Makefile:359: all] Error 2
How can I fix it? Thank you!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I try to build libideviceactivation on Windows 11 ARM (with MSYS Mingw) and I have an error with dllexport.
Here is the log:
How can I fix it? Thank you!
The text was updated successfully, but these errors were encountered: