Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
freemodbus
STM32F103
tcpserver
RT-Thread项目,stm32F103添加freemodbus、tcpserver、w5500编译报错
发布于 2024-02-18 16:20:24 浏览:326
订阅该版
![screenshot_image.png](https://oss-club.rt-thread.org/uploads/20240218/e761f3f959e5ef455eeca9b139230ddd.png.webp) 日志: ```c 16:17:23 **** Build of configuration Debug for project SWITCH_UHF **** make -j8 all arm-none-eabi-gcc "../rt-thread/src/clock.c" arm-none-eabi-gcc "../rt-thread/src/components.c" arm-none-eabi-gcc "../rt-thread/src/device.c" arm-none-eabi-gcc "../rt-thread/src/idle.c" arm-none-eabi-gcc "../rt-thread/src/ipc.c" arm-none-eabi-gcc "../rt-thread/src/irq.c" arm-none-eabi-gcc "../rt-thread/src/kservice.c" arm-none-eabi-gcc "../rt-thread/src/mem.c" arm-none-eabi-gcc "../rt-thread/src/mempool.c" arm-none-eabi-gcc "../rt-thread/src/object.c" arm-none-eabi-gcc "../rt-thread/src/scheduler.c" arm-none-eabi-gcc "../rt-thread/src/signal.c" arm-none-eabi-gcc "../rt-thread/src/thread.c" arm-none-eabi-gcc "../rt-thread/src/timer.c" arm-none-eabi-gcc "../rt-thread/libcpu/arm/cortex-m3/context_gcc.S" arm-none-eabi-gcc "../rt-thread/libcpu/arm/cortex-m3/cpuport.c" arm-none-eabi-gcc "../rt-thread/libcpu/arm/common/backtrace.c" arm-none-eabi-gcc "../rt-thread/libcpu/arm/common/div0.c" arm-none-eabi-gcc "../rt-thread/libcpu/arm/common/showmem.c" arm-none-eabi-gcc "../rt-thread/components/utilities/ulog/backend/console_be.c" arm-none-eabi-gcc "../rt-thread/components/utilities/ulog/ulog.c" arm-none-eabi-gcc "../rt-thread/components/net/sal_socket/src/sal_socket.c" arm-none-eabi-gcc "../rt-thread/components/net/sal_socket/socket/net_netdb.c" arm-none-eabi-gcc "../rt-thread/components/net/sal_socket/socket/net_sockets.c" arm-none-eabi-gcc "../rt-thread/components/net/sal_socket/dfs_net/dfs_net.c" arm-none-eabi-gcc "../rt-thread/components/net/netdev/src/netdev.c" arm-none-eabi-gcc "../rt-thread/components/net/netdev/src/netdev_ipaddr.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/newlib/libc.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/newlib/libc_syms.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/newlib/stdio.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/newlib/syscalls.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/common/time.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/common/unistd.c" arm-none-eabi-gcc "../rt-thread/components/finsh/cmd.c" arm-none-eabi-gcc "../rt-thread/components/finsh/msh.c" arm-none-eabi-gcc "../rt-thread/components/finsh/msh_file.c" arm-none-eabi-gcc "../rt-thread/components/finsh/shell.c" arm-none-eabi-gcc "../rt-thread/components/drivers/src/completion.c" arm-none-eabi-gcc "../rt-thread/components/drivers/src/dataqueue.c" arm-none-eabi-gcc "../rt-thread/components/drivers/src/pipe.c" arm-none-eabi-gcc "../rt-thread/components/drivers/src/ringblk_buf.c" arm-none-eabi-gcc "../rt-thread/components/drivers/src/ringbuffer.c" arm-none-eabi-gcc "../rt-thread/components/drivers/src/waitqueue.c" arm-none-eabi-gcc "../rt-thread/components/drivers/src/workqueue.c" arm-none-eabi-gcc "../rt-thread/components/drivers/spi/spi_core.c" arm-none-eabi-gcc "../rt-thread/components/drivers/spi/spi_dev.c" arm-none-eabi-gcc "../rt-thread/components/drivers/serial/serial.c" arm-none-eabi-gcc "../rt-thread/components/drivers/misc/pin.c" arm-none-eabi-gcc "../rt-thread/components/dfs/src/dfs.c" arm-none-eabi-gcc "../rt-thread/components/dfs/src/dfs_file.c" arm-none-eabi-gcc "../rt-thread/components/dfs/src/dfs_fs.c" arm-none-eabi-gcc "../rt-thread/components/dfs/src/dfs_posix.c" arm-none-eabi-gcc "../rt-thread/components/dfs/src/poll.c" arm-none-eabi-gcc "../rt-thread/components/dfs/src/select.c" arm-none-eabi-gcc "../rt-thread/components/dfs/filesystems/devfs/devfs.c" arm-none-eabi-gcc "../packages/tcpserver-latest/tcpserver.c" arm-none-eabi-gcc "../packages/freemodbus-latest/samples/sample_mb_slave.c" arm-none-eabi-gcc "../packages/freemodbus-latest/port/port.c" arm-none-eabi-gcc "../packages/freemodbus-latest/port/portevent.c" arm-none-eabi-gcc "../packages/freemodbus-latest/port/portserial.c" arm-none-eabi-gcc "../packages/freemodbus-latest/port/porttcp.c" arm-none-eabi-gcc "../packages/freemodbus-latest/port/porttimer.c" ../packages/tcpserver-latest/tcpserver.c:12:23: fatal error: sys/ioctl.h: No such file or directory compilation terminated. make: *** [packages/tcpserver-latest/subdir.mk:18: packages/tcpserver-latest/tcpserver.o] Error 1 make: *** Waiting for unfinished jobs.... "make -j8 all" terminated with exit code 2. Build might be incomplete. 16:17:29 Build Failed. 3 errors, 0 warnings. (took 6s.704ms) ```
查看更多
YZRD
2024-02-19
这家伙很懒,什么也没写!
参考下这个[链接](https://club.rt-thread.org/ask/question/9c86dac4b8422b91.html),位置是 ![screenshot_image.png](https://oss-club.rt-thread.org/uploads/20240219/6d2d87584c772ed1e585d0dddbfc471f.png),可搜索下该文件看下具体位置。
1
个回答
默认排序
按发布时间排序
撰写答案
登录
注册新账号
关注者
0
被浏览
326
关于作者
你知道
这家伙很懒,什么也没写!
提问
2
回答
1
被采纳
0
关注TA
发私信
相关问题
1
FREEMODBUS的设置问题
2
freemodbus tcp
3
freemodbus,写保持寄存器返回值一直是3,但是正确写入 ?
4
FreeModbus 从机该如何更新数据,菜鸟的不解.
5
RT thread freemobus tcp通讯问题
6
freemodbus主机读取从机保持寄存器命令后多两个0
7
freemodbus接收CRC校验疑问
8
freemodbus主机不通
9
freemodbus的主机任何指令都timeout
10
freemodbus 软件包主机有bug
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
TinyUSB Demo运行教程
2
RT-Thread学习大礼包一键带走!
3
freemodbus从机调试说明
4
【1024】瑞萨 RA 系列 BSP 制作与适配最新版本的 Keil 、 RSC、固件,较新的 FSP
5
基于 RT-Thread 星火一号开发板的俄罗斯方块
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
ART-Pi
FinSH
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
rt-smart
FAL
ESP8266
I2C_IIC
WIZnet_W5500
ota在线升级
UART
cubemx
PWM
flash
packages_软件包
freemodbus
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
Debug
编译报错
msh
SFUD
keil_MDK
rt_mq_消息队列_msg_queue
ulog
C++_cpp
at_device
本月问答贡献
出出啊
1516
个答案
342
次被采纳
小小李sunny
1440
个答案
289
次被采纳
张世争
799
个答案
171
次被采纳
crystal266
547
个答案
161
次被采纳
whj467467222
1222
个答案
148
次被采纳
本月文章贡献
出出啊
1
篇文章
1
次点赞
小小李sunny
1
篇文章
1
次点赞
张世争
1
篇文章
4
次点赞
crystal266
2
篇文章
2
次点赞
whj467467222
2
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部