完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
如题,一个原是ESP32的物联网例程,在改为ESP32C3后,编译出现multiple definition of `g_log_level'不良。
[2/3] Linking CXX executable llsync.elf FAILED: llsync.elf cmd.exe /C "cd . && D:GitSourceGitCMDESPtoolsriscv32-esp-elfesp-2021r1-8.4.0riscv32-esp-elfbinriscv32-esp-elf-g++.exe -march=rv32imc -nostartfiles -march=rv32imc --specs=nosys.specs @CMakeFilesllsync.elf.rsp -o llsync.elf && cd ." d:/gitsource/gitcmd/esp/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: D:/GitSource/GitCMD/ESP/esp-idf/components/esp_wifi/lib/esp32c3/libcore.a(misc_nvs.o):(.bss.g_log_level+0x0): multiple definition of `g_log_level'; esp-idf/qcloud_llsync/libqcloud_llsync.a(ble_qiot_utils_log.c.obj):D:tempqcloud-iot-explorer-BLE-sdk-embedded-demoqcloud-llsync-config-net-esp32build/../components/qcloud_llsync/src/utils/ble_qiot_utils_log.c:24: first defined here collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. 终端进程“C:WindowsSystem32WindowsPowerShellv1.0powershell.exe -Command cmake --build .”已终止,退出代码: 1。 请帮忙看看,谢谢了 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
944 浏览 0 评论
1671 浏览 0 评论
请问一下我想用ESP8685直接替换ESP8266而不用写程序,可以让ESP8685直接通过之前ESP8266的外挂的flash运行程序吗
1330 浏览 1 评论
1233 浏览 1 评论
5015 浏览 2 评论
为blufi_device设置自定义名称,但是无法修改,为什么?
1250浏览 4评论
请问ESP32-S2-WROOM怎么获得ESP32-S2外接FLASH的唯一序列号?
927浏览 3评论
2330浏览 3评论
ESP-IDF的VScode插件的build按钮点击会报错的原因?
2525浏览 3评论
ESP-Jumpstart例程中第5个工程:5_cloud连接报错是哪里的问题?
1051浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 20:39 , Processed in 0.551136 second(s), Total 69, Slave 52 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
584
