simbit18 commented on PR #18622:
URL: https://github.com/apache/nuttx/pull/18622#issuecomment-4162589018
Hi @JianyuWang0623, this error has occurred
```
====================================================================================
Configuration/Tool: esp32s2-kaluga-1/audio
2026-03-31 11:12:28
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
Error: common/espressif/esp_i2s.c:293:9: error: "MIN" redefined [-Werror]
293 | #define MIN(x,y) ((x)<(y)?(x):(y))
| ^~~
In file included from common/espressif/esp_i2s.c:29:
/github/workspace/sources/nuttx/include/sys/param.h:41:11: note: this is the
location of the previous definition
41 | # define MIN(a,b) (((a) < (b)) ? (a) : (b))
| ^~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:146: esp_i2s.o] Error 1
make[1]: Target 'libarch.a' not remade because of errors.
make: *** [tools/LibTargets.mk:170: arch/xtensa/src/libarch.a] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 385:
/github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or
directory
[1/1] Normalize esp32s2-kaluga-1/audio
====================================================================================
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]