COMPILATION WOLFSSL ERROR : unknown type name 'time_t'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-04 3:41 AM
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
- Labels:
-
STM32Cube MCU Packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-04 3:59 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-04 6:52 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-04 7:52 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-04 7:59 AM
I've forgot to write I use STM32 Nucleo-144 development board with STM32U575ZIT6Q MCU.I attach others screenshot
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-04 8:19 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-04 8:23 AM
#include <time.h> ??
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-04 9:05 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-04 9:14 AM
I'm sorry TeslaDElorean but my brain had read ora.h instead time.h
