Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
SCons
scons --dist错误问题
发布于 2020-12-30 15:08:31 浏览:1567
订阅该版
``` [zhanggy@localhost stm32f103-mini-system]$ scons --dist scons: Reading SConscript files ... make distribution.... => stm32f103-mini-system => start dist handle => copy stm32 bsp library => copy bsp drivers => components => include => libcpu => src => tools update mdk4 project update mdk5 project update iar project done! scons: done reading SConscript files. scons: Building targets ... scons: building associated VariantDir targets: build CC build/applications/main.o In file included from /usr/arm-none-eabi/include/signal.h:6, from /home/zhanggy/rt-thread/include/libc/libc_signal.h:72, from /home/zhanggy/rt-thread/include/rtlibc.h:21, from /home/zhanggy/rt-thread/include/rtdef.h:1103, from /home/zhanggy/rt-thread/include/rtthread.h:24, from applications/main.c:11: /usr/arm-none-eabi/include/sys/signal.h:42:7: error: redefinition of 'union sigval' 42 | union sigval { | ^~~~~~ In file included from /home/zhanggy/rt-thread/include/rtlibc.h:21, from /home/zhanggy/rt-thread/include/rtdef.h:1103, from /home/zhanggy/rt-thread/include/rtthread.h:24, from applications/main.c:11: /home/zhanggy/rt-thread/include/libc/libc_signal.h:28:7: note: originally defined here 28 | union sigval | ^~~~~~ In file included from /usr/arm-none-eabi/include/signal.h:6, from /home/zhanggy/rt-thread/include/libc/libc_signal.h:72, from /home/zhanggy/rt-thread/include/rtlibc.h:21, from /home/zhanggy/rt-thread/include/rtdef.h:1103, from /home/zhanggy/rt-thread/include/rtthread.h:24, from applications/main.c:11: /usr/arm-none-eabi/include/sys/signal.h:47:8: error: redefinition of 'struct sigevent' 47 | struct sigevent { | ^~~~~~~~ In file included from /home/zhanggy/rt-thread/include/rtlibc.h:21, from /home/zhanggy/rt-thread/include/rtdef.h:1103, from /home/zhanggy/rt-thread/include/rtthread.h:24, from applications/main.c:11: /home/zhanggy/rt-thread/include/libc/libc_signal.h:36:8: note: originally defined here 36 | struct sigevent | ^~~~~~~~ In file included from /usr/arm-none-eabi/include/signal.h:6, from /home/zhanggy/rt-thread/include/libc/libc_signal.h:72, from /home/zhanggy/rt-thread/include/rtlibc.h:21, from /home/zhanggy/rt-thread/include/rtdef.h:1103, from /home/zhanggy/rt-thread/include/rtthread.h:24, from applications/main.c:11: /usr/arm-none-eabi/include/sys/signal.h:72:3: error: conflicting types for 'siginfo_t' 72 | } siginfo_t; | ^~~~~~~~~ In file included from /home/zhanggy/rt-thread/include/rtlibc.h:21, from /home/zhanggy/rt-thread/include/rtdef.h:1103, from /home/zhanggy/rt-thread/include/rtthread.h:24, from applications/main.c:11: /home/zhanggy/rt-thread/include/libc/libc_signal.h:55:24: note: previous declaration of 'siginfo_t' was here 55 | typedef struct siginfo siginfo_t; | ^~~~~~~~~ scons: *** [build/applications/main.o] Error 1 scons: building terminated because of errors. ```
查看更多
2
个回答
默认排序
按发布时间排序
YZRD
2021-01-05
这家伙很懒,什么也没写!
信息有说明![image.png](/uploads/20210105/b29ea669f92a81b68b9568398284e313.png)
zgya9xcv
2022-09-21
这家伙很懒,什么也没写!
太多的重定义
撰写答案
登录
注册新账号
关注者
0
被浏览
1.6k
关于作者
zgya9xcv
这家伙很懒,什么也没写!
提问
1
回答
2
被采纳
0
关注TA
发私信
相关问题
1
scons不支持python3吗?
2
编译又出现问题
3
BSP目录下做好一个项目后,怎么把发给别人的包裁剪的小...
4
为什么重新scons --target=mdk 后,以前在MDK工程里保存的C文
5
Scons 添加Group,SConscript已经执行,源码却没有添加进工程
6
scons如何指定输出目录?
7
新人求助。
8
想用env 工具自己构建编译环境想用vscode 进行一些简单程序
9
关于scons脚本问题
10
使用scons --target=makefile的问题
推荐文章
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
简单两步配置RTT源码阅读环境 vsc+clangd
2
恩智浦[FRDM-MCXN947]初探 之 ADC与DAC
3
LVGL使用字库IC芯片显示中文
4
基于STM32H750和Rt-Thread的CANFD通信实现的记录(一)
5
freemodbus主机在freertos的适配,参考rtthread例程
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
UART
WIZnet_W5500
ota在线升级
PWM
cubemx
freemodbus
flash
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
编译报错
Debug
SFUD
msh
rt_mq_消息队列_msg_queue
keil_MDK
ulog
MicroPython
C++_cpp
本月问答贡献
出出啊
1517
个答案
342
次被采纳
小小李sunny
1443
个答案
289
次被采纳
张世争
805
个答案
174
次被采纳
crystal266
547
个答案
161
次被采纳
whj467467222
1222
个答案
148
次被采纳
本月文章贡献
出出啊
1
篇文章
4
次点赞
小小李sunny
1
篇文章
1
次点赞
张世争
1
篇文章
1
次点赞
crystal266
2
篇文章
2
次点赞
whj467467222
2
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部