Hi Otto,

On Tue, Feb 25, 2020 at 5:15 AM Otto Kekäläinen <[email protected]> wrote:
>
> While trying to build MariaDB 10.4 using the Debian provided WolfSSL
> it fails due to missing user_settings.h.

We do not use this file in Debian, but will provide it if needed. In
the code, I found this note:

> In your application you must include <wolfssl/wolfcrypt/settings.h>
> before any other wolfSSL headers. If building the sources directly
> we recommend defining `WOLFSSL_USER_SETTINGS` and
> adding your own `user_settings.h` file. You can find a good reference
> for this in `IDE/GCC-ARM/Header/user_settings.h`. [1]

I also saw this in /usr/include/wolfssl/wolfcrypt/settings.h:

> #ifdef WOLFSSL_USER_SETTINGS
>    #include "user_settings.h"
> #endif

Can you undefine WOLFSSL_USER_SETTINGS?

>    208 |     #include "user_settings.h"

Otherwise, I would remove the offending line.

I am also available to help if you provide your source package.

Kind regards
Felix Lechner

[1] 
https://github.com/wolfSSL/wolfssl/blob/master/IDE/GCC-ARM/Header/user_settings.h

Reply via email to