При добавлении google/boringssl в проект в Android возникает неопределенная ссылка на ошибку функции.Android

Форум для тех, кто программирует под Android
Ответить
Гость
 При добавлении google/boringssl в проект в Android возникает неопределенная ссылка на ошибку функции.

Сообщение Гость »


Я пытаюсь использовать google/boringssl через NDK на Android.
Я добавил код в каталог are.

Код: Выделить всё

- include/openssl
- include/openssl/pki
- include/openssl/experimental
- ssl/
- crypto/
- third_party/fiat

Now we have

Код: Выделить всё

add_library(...)
all files and files to

Код: Выделить всё

CMakeLists.txt
.
I compiled the project thinking everything was done, but I get an error.

Код: Выделить всё

openssl/crypto/fipsmodule/sha/sha1.c:421: error: undefined reference to 'sha1_block_data_order_neon'
openssl/crypto/fipsmodule/sha/sha1.c:427: error: undefined reference to 'sha1_block_data_order_nohw'
openssl/crypto/cipher_extra/e_chacha20poly1305.c:173: error: undefined reference to 'chacha20_poly1305_seal'
openssl/crypto/cipher_extra/e_chacha20poly1305.c:256: error: undefined reference to 'chacha20_poly1305_open'
openssl/crypto/fipsmodule/ec/p256-nistz.c:247: undefined reference to `ecp_nistz256_point_add'
...
As shown above, there are many functions that are declared but not implemented. Is there a specific way to use

Код: Выделить всё

boringssl
in the Android environment??


Источник: https://stackoverflow.com/questions/781 ... eference-t
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Android»