Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
linker链接报错
编译报错
树莓派4b编译报错,请求大佬解答
发布于 2024-11-01 20:18:34 浏览:149
订阅该版
编译报错 ![screenshot_image.png](https://oss-club.rt-thread.org/uploads/20241101/a114b9ac2ee42860f62a875d7f6e1115.png.webp) 给报错的全部定义上之后能通过编译,但是到了链接还是会报错 ![screenshot_image.png](https://oss-club.rt-thread.org/uploads/20241101/ef830d609b1fffcbb9ab1fb88af8ff98.png) 求解,万分感谢!!!
查看更多
1
个回答
默认排序
按发布时间排序
KunYi
2024-11-02
这家伙很懒,什么也没写!
換 `toolchain "gcc-arm-10.3-2021.07-mingw-w64-i686-aarch64-none-elf"` 用這個試試 啥都不要改 就換 `toolchain` 設定 `RTT_EXEC_PATH` 指向這個 `toolchain` 下面是 `rt-thread v5.1.0 with gcc-arm-10.3-2021.07` ```bash rt-thread/bsp/raspberry-pi/raspi4-64$ scons -j12 scons: Reading SConscript files ... Newlib version: 4.1.0 scons: done reading SConscript files. scons: Building targets ... scons: building associated VariantDir targets: build CC build/applications/main.o CC build/applications/mnt.o CC build/drivers/board.o CC build/drivers/drv_dsi_touch.o CC build/drivers/drv_eth.o CC build/drivers/drv_gpio.o CC build/drivers/drv_gtimer.o CC build/drivers/drv_hdmi.o CC build/drivers/drv_sdio.o CC build/drivers/drv_spi.o CC build/drivers/drv_uart.o CC build/drivers/drv_wdt.o CC build/drivers/mbox.o CC build/kernel/components/dfs/dfs_v2/filesystems/devfs/devfs.o CC build/kernel/components/dfs/dfs_v2/filesystems/devfs/devtmpfs.o CC build/kernel/components/dfs/dfs_v2/filesystems/elmfat/dfs_elm.o CC build/kernel/components/dfs/dfs_v2/filesystems/elmfat/ff.o CC build/kernel/components/dfs/dfs_v2/filesystems/elmfat/ffunicode.o CC build/kernel/components/dfs/dfs_v2/filesystems/tmpfs/dfs_tmpfs.o CC build/kernel/components/dfs/dfs_v2/src/dfs.o CC build/kernel/components/dfs/dfs_v2/src/dfs_dentry.o CC build/kernel/components/dfs/dfs_v2/src/dfs_file.o CC build/kernel/components/dfs/dfs_v2/src/dfs_fs.o CC build/kernel/components/dfs/dfs_v2/src/dfs_mnt.o CC build/kernel/components/dfs/dfs_v2/src/dfs_pcache.o CC build/kernel/components/dfs/dfs_v2/src/dfs_posix.o CC build/kernel/components/dfs/dfs_v2/src/dfs_seq_file.o CC build/kernel/components/dfs/dfs_v2/src/dfs_vnode.o CC build/kernel/components/drivers/core/bus.o CC build/kernel/components/drivers/core/device.o CC build/kernel/components/drivers/hwtimer/hwtimer.o CC build/kernel/components/drivers/i2c/i2c-bit-ops.o CC build/kernel/components/drivers/i2c/i2c_core.o CC build/kernel/components/drivers/i2c/i2c_dev.o CC build/kernel/components/drivers/ipc/completion.o CC build/kernel/components/drivers/ipc/condvar.o CC build/kernel/components/drivers/ipc/dataqueue.o CC build/kernel/components/drivers/ipc/pipe.o CC build/kernel/components/drivers/ipc/ringblk_buf.o CC build/kernel/components/drivers/ipc/ringbuffer.o CC build/kernel/components/drivers/ipc/waitqueue.o CC build/kernel/components/drivers/ipc/workqueue.o CC build/kernel/components/drivers/ktime/src/aarch64/cputimer.o CC build/kernel/components/drivers/ktime/src/boottime.o CC build/kernel/components/drivers/ktime/src/cputimer.o CC build/kernel/components/drivers/ktime/src/hrtimer.o CC build/kernel/components/drivers/misc/rt_null.o CC build/kernel/components/drivers/misc/rt_random.o CC build/kernel/components/drivers/misc/rt_zero.o CC build/kernel/components/drivers/pin/pin.o CC build/kernel/components/drivers/rtc/rtc.o CC build/kernel/components/drivers/rtc/soft_rtc.o CC build/kernel/components/drivers/sdio/block_dev.o CC build/kernel/components/drivers/sdio/gpt.o CC build/kernel/components/drivers/sdio/mmc.o CC build/kernel/components/drivers/sdio/mmcsd_core.o CC build/kernel/components/drivers/sdio/sd.o CC build/kernel/components/drivers/sdio/sdio.o CC build/kernel/components/drivers/serial/serial.o CC build/kernel/components/drivers/spi/spi_core.o CC build/kernel/components/drivers/spi/spi_dev.o CC build/kernel/components/drivers/touch/touch.o CC build/kernel/components/drivers/watchdog/watchdog.o CC build/kernel/components/finsh/cmd.o CC build/kernel/components/finsh/msh.o CC build/kernel/components/finsh/msh_file.o CC build/kernel/components/finsh/msh_parse.o CC build/kernel/components/finsh/shell.o CC build/kernel/components/libc/compilers/common/cctype.o CC build/kernel/components/libc/compilers/common/cstdlib.o CC build/kernel/components/libc/compilers/common/cstring.o CC build/kernel/components/libc/compilers/common/ctime.o CC build/kernel/components/libc/compilers/common/cunistd.o CC build/kernel/components/libc/compilers/common/cwchar.o CC build/kernel/components/libc/compilers/newlib/syscalls.o CC build/kernel/components/libc/posix/delay/delay.o CC build/kernel/components/libc/posix/io/poll/poll.o CC build/kernel/components/libc/posix/io/stdio/stdio.o CC build/kernel/components/libc/posix/io/termios/termios.o CC build/kernel/components/mm/avl_adpt.o CC build/kernel/components/mm/ioremap.o CC build/kernel/components/mm/mm_anon.o CC build/kernel/components/mm/mm_aspace.o CC build/kernel/components/mm/mm_fault.o CC build/kernel/components/mm/mm_kmem.o CC build/kernel/components/mm/mm_object.o CC build/kernel/components/mm/mm_page.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/api/api_lib.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/api/api_msg.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/api/err.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/api/if_api.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/api/netbuf.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/api/netdb.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/api/netifapi.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/api/sockets.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/api/tcpip.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/apps/ping/ping.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/altcp.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/altcp_alloc.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/altcp_tcp.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/def.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/dns.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/inet_chksum.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/init.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/ip.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/ipv4/autoip.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/ipv4/dhcp.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/ipv4/etharp.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/ipv4/icmp.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/ipv4/igmp.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/ipv4/ip4.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/ipv4/ip4_addr.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/ipv4/ip4_frag.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/memp.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/netif.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/pbuf.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/raw.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/stats.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/sys.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/tcp.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/tcp_in.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/tcp_out.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/timeouts.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/core/udp.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/netif/ethernet.o CC build/kernel/components/net/lwip/lwip-2.1.2/src/netif/lowpan6.o CC build/kernel/components/net/lwip/port/ethernetif.o CC build/kernel/components/net/lwip/port/sys_arch.o CC build/kernel/components/net/netdev/src/netdev.o CC build/kernel/components/net/netdev/src/netdev_ipaddr.o CC build/kernel/components/net/sal/dfs_net/dfs_net.o CC build/kernel/components/net/sal/impl/af_inet_lwip.o CC build/kernel/components/net/sal/socket/net_netdb.o CC build/kernel/components/net/sal/socket/net_sockets.o CC build/kernel/components/net/sal/src/sal_socket.o CC build/kernel/components/utilities/libadt/avl/avl.o CC build/kernel/components/utilities/resource/resource_id.o CC build/kernel/components/utilities/resource/rid_bitmap.o CC build/kernel/components/utilities/utest/utest.o CC build/kernel/libcpu/aarch64/common/atomic_aarch64.o CC build/kernel/libcpu/aarch64/common/backtrace.o AS build/kernel/libcpu/aarch64/common/cache.o CC build/kernel/libcpu/aarch64/common/cache_ops.o AS build/kernel/libcpu/aarch64/common/context_gcc.o CC build/kernel/libcpu/aarch64/common/cpu.o AS build/kernel/libcpu/aarch64/common/cpu_gcc.o CC build/kernel/libcpu/aarch64/common/cpu_spin_table.o CC build/kernel/libcpu/aarch64/common/exception.o CC build/kernel/libcpu/aarch64/common/gic.o CC build/kernel/libcpu/aarch64/common/gicv3.o CC build/kernel/libcpu/aarch64/common/gtimer.o CC build/kernel/libcpu/aarch64/common/hypercall.o CC build/kernel/libcpu/aarch64/common/interrupt.o CC build/kernel/libcpu/aarch64/common/mmu.o AS build/kernel/libcpu/aarch64/common/smccc.o CC build/kernel/libcpu/aarch64/common/stack.o AS build/kernel/libcpu/aarch64/common/startup_gcc.o CC build/kernel/libcpu/aarch64/common/trap.o AS build/kernel/libcpu/aarch64/common/vector_gcc.o AS build/kernel/libcpu/aarch64/cortex-a/entry_point.o CC build/kernel/src/clock.o CC build/kernel/src/components.o CC build/kernel/src/cpu.o CC build/kernel/src/idle.o CC build/kernel/src/ipc.o CC build/kernel/src/irq.o CC build/kernel/src/klibc/kstdio.o CC build/kernel/src/klibc/kstring.o CC build/kernel/src/kservice.o CC build/kernel/src/object.o CC build/kernel/src/scheduler_comm.o CC build/kernel/src/scheduler_mp.o CC build/kernel/src/slab.o CC build/kernel/src/thread.o CC build/kernel/src/timer.o LINK rtthread.elf Memory region Used Size Region Size %age Used aarch64-none-elf-objcopy -O binary rtthread.elf rtthread.bin aarch64-none-elf-size rtthread.elf text data bss dec hex filename 685712 8688 325240 1019640 f8ef8 rtthread.elf scons: done building targets. ```
撰写答案
登录
注册新账号
关注者
0
被浏览
149
关于作者
lamein
这家伙很懒,什么也没写!
提问
1
回答
0
被采纳
0
关注TA
发私信
相关问题
1
在 studio 中添加emwin,编译报错问题
2
studio创建芯片项目添加LWIP编译报错?
3
BSP首次使用编译不过
4
DHT软件包下载后编译错误
5
1.1.3版本的RTstudio导入1.1.4下面建立的工程后设置芯片编译就报错
6
STM32F103使用EMU添加PWM组件后出现编译报错
7
求助,关于串口配置编译报错的问题
8
Azure SDK for C移植中遇到的编译问题
9
Studio 报错 unknown 'HAL_StatusTypeDef'
10
studio建工程,并使能AT组件和Air720出现的一些问题
推荐文章
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
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部