RT-Thread / RT-Thread/rt-thread

mbedtls-v2.7.10.2 fatal error: sys/ioctl.h: No such file or directory

Open
#7,959 4 comments 0 reactions 0 assignees View on GitHub

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软件包 配置如截图所示
image
编译错误输出
image
../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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.