xiaoxiang781216 commented on PR #3618:
URL: https://github.com/apache/nuttx-apps/pull/3618#issuecomment-4949557614
@dmihai03 please fix the build break:
```
====================================================================================
Configuration/Tool: esp32-devkitc/mqttc
2026-07-11 18:54:35
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 13168 0 13168 0 0 37602 0 --:--:-- --:--:-- --:--:--
37602
100 277k 0 277k 0 0 627k 0 --:--:-- --:--:-- --:--:--
2876k
Error: mqttc_pub.c:465:10: error: expected identifier or '(' before 'int'
465 | int main(int argc, FAR char *argv[])
| ^~~
Error: mqttc_pub.c:447:13: error: 'close_conn' defined but not used
[-Werror=unused-function]
447 | static void close_conn(FAR struct mqtt_conn_context_s *conn)
| ^~~~~~~~~~
Error: mqttc_pub.c:202:12: error: 'init_conn' defined but not used
[-Werror=unused-function]
202 | static int init_conn(FAR const struct mqttc_cfg_s *cfg,
| ^~~~~~~~~
Error: mqttc_pub.c:137:13: error: 'parsearg' defined but not used
[-Werror=unused-function]
137 | static void parsearg(int argc, FAR char *argv[],
| ^~~~~~~~
Error: mqttc_pub.c:118:18: error: 'client_refresher' defined but not used
[-Werror=unused-function]
118 | static FAR void *client_refresher(FAR void *data)
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [/github/workspace/sources/apps/Application.mk:330:
mqttc_pub.c.github.workspace.sources.apps.examples.mqttc.o] Error 1
make[2]: Target 'all' not remade because of errors.
make[1]: *** [Makefile:54:
/github/workspace/sources/apps/examples/mqttc_all] Error 2
make[1]: Target 'all' not remade because of errors.
make: *** [tools/LibTargets.mk:248:
/github/workspace/sources/apps/libapps.a] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 397:
/github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or
directory
[1/1] Normalize esp32-devkitc/mqttc
/github/workspace/sources/nuttx /github/workspace/sources/nuttx
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
/github/workspace/sources/nuttx
/github/workspace/sources/apps /github/workspace/sources/nuttx
HEAD detached at pull/3618/merge
nothing to commit, working tree clean
```
--
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]