Skip to main content
Graduate
September 4, 2023
Question

COMPILATION WOLFSSL ERROR : unknown type name 'time_t'

  • September 4, 2023
  • 7 replies
  • 5046 views

Hi STCommunity,

I have a project with X-CUBE-FREERTOS and it worked fine, since I added WolfSSL the build goes wrong because it doesn't seem to recognize "time_t". (registration file attached)

I hope someone can help me. Many thanks in advance

 

 

    This topic has been closed for replies.

    7 replies

    Graduate II
    September 4, 2023

    Hello @rdl 

    Can you please attach your code to help our community member to understand your problem. Also, I suggest you to share the version of your programming tools (CubeIDE, CubeMX,...) and to make sure that you are using the last versions.

    Best regards.

    II

    rdlAuthor
    Graduate
    September 4, 2023

    hi Issamos ,thanks for the fast feedback.

    I use STM32CUBEMX 6.9.1 AND STM32CUBEIDE 1.13.1 ON WINDOWS 11 PRO.

    I attached  2 screnshot where you can see how I setted wolfSSL parameters.I had attached file .ioc producted by STM32CUBEMX too but it was removed because the format isn't supported as well as for file .zip of project folder

    Best Regards

     

     

    Graduate II
    September 4, 2023

    Hello again and thanks for your feedback.

    I've reproduced the same scenario and I've got the same error. Still can't find out why.

    Best regards.

    II

    rdlAuthor
    Graduate
    September 4, 2023

    I've forgot to write I use STM32 Nucleo-144 development board with STM32U575ZIT6Q MCU.I attach others screenshot 

    Best Regards

    Graduate II
    September 4, 2023

    Yes, I've seen the board you are using in the screenshots of previously presented. I've got the same configuration and the same problem but still don't now why.

    Best regards.

    II

    Graduate II
    September 4, 2023

    #include <time.h> ??

    rdlAuthor
    Graduate
    September 4, 2023
    sorry but i'm novice and the one file ora.h i know is an oracle file header.
    I know time_t type defined in file time.h but wolfSSL have to include if it use time_t.
    I've attached screenshot where you can see which are the files wolfSSL with include<time.h>

    Best Regards




    rdlAuthor
    Graduate
    September 4, 2023

    I'm sorry TeslaDElorean but my brain had read  ora.h instead time.h