RT-Thread / RT-Thread/rt-thread
mbedtls-v2.7.10.2 fatal error: sys/ioctl.h: No such file or directory
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
芯片:stm32f103cb
工具链:rt-studio 2.2.7
平台:win10
rtthread settings里面使能webclient软件包 配置如截图所示
编译错误输出
../packages/mbedtls-v2.7.10.2/ports/src/tls_net.c:76:23: fatal error: sys/ioctl.h: No such file or directory
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the webclient-enabled build for STM32F103CB with RT-Studio 2.2.7 on Windows 10. Start at packages/mbedtls-v2.7.10.2/ports/src/tls_net.c:76 and inspect how the toolchain handles sys/ioctl.h; done means the configured project builds without this fatal error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system, embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100