-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snprintf.c:41:35: fatal error: c99-snprintf/snprintf.c: No such file or directory #3434
Comments
did you do a git submodule update?
…On Sat, May 22, 2021, 11:55 vidalouiswang ***@***.***> wrote:
And then I add include to the file nodemcu-firmware/app/libc/snprintf.c
like this:
[image: 屏幕截图 2021-05-22 235336]
<https://user-images.githubusercontent.com/26226049/119232795-109adc80-bb59-11eb-8e50-c648ca9cb979.png>
It doesn't work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3434 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALQLTOYSV7SY5GBARTOPCLTO7HVZANCNFSM45KYLGXA>
.
|
Thank you, I used "git clone --recurse-submodules -b release https://github.com/nodemcu/nodemcu-firmwa |
Expected behavior
Build successsfully.
Actual behavior
CC app/platform/sdcard.c
CC app/platform/ucg_nodemcu_hal.c
AR app/platform/
xtensa-lx106-elf-ar: creating .output/eagle/debug/lib/libplatform.a
make[2]: Leaving directory '/home/vidawang/nodemcu-firmware/app/platform'
make[2]: Entering directory '/home/vidawang/nodemcu-firmware/app/libc'
DEPEND: CC app/libc/math.c
DEPEND: CC app/libc/snprintf.c
snprintf.c:41:35: fatal error: c99-snprintf/snprintf.c: No such file or directory
#include "c99-snprintf/snprintf.c"
^
compilation terminated.
DEPEND: CC app/libc/stdlib.c
DEPEND: CC app/libc/snprintf.c
snprintf.c:41:35: fatal error: c99-snprintf/snprintf.c: No such file or directory
#include "c99-snprintf/snprintf.c"
^
compilation terminated.
CC app/libc/stdlib.c
CC app/libc/snprintf.c
snprintf.c:41:35: fatal error: c99-snprintf/snprintf.c: No such file or directory
#include "c99-snprintf/snprintf.c"
^
compilation terminated.
../../Makefile:422: recipe for target '.output/eagle/debug/obj/snprintf.o' failed
make[2]: *** [.output/eagle/debug/obj/snprintf.o] Error 1
make[2]: Leaving directory '/home/vidawang/nodemcu-firmware/app/libc'
../Makefile:380: recipe for target '.subdirs' failed
make[1]: *** [.subdirs] Error 2
make[1]: Leaving directory '/home/vidawang/nodemcu-firmware/app'
Makefile:380: recipe for target '.subdirs' failed
make: *** [.subdirs] Error 2
make: Leaving directory '/home/vidawang/nodemcu-firmware'
Test code
Provide a Minimal, Complete, and Verifiable example which will reproduce the problem.
NodeMCU startup banner
Cloned from the branch release yesterday.
Hardware
Ubuntu 18.04
The text was updated successfully, but these errors were encountered: