NNG_OPT_MQTT_RETRY_INTERVAL undeclared #1573
wenstionly
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/emqx/neuron.git
/home/pi/neuron-main/src/connection/mqtt_client.c:1200:47: error: ‘NNG_OPT_MQTT_RETRY_INTERVAL’ undeclared (first use in this function); did you mean ‘NNG_OPT_MQTT_RECEIVE_MAX’?
1200 | if ((rv = nng_socket_set_ms(client->sock, NNG_OPT_MQTT_RETRY_INTERVAL,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| NNG_OPT_MQTT_RECEIVE_MAX
/home/pi/neuron-main/src/connection/mqtt_client.c:1200:47: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [CMakeFiles/neuron-base.dir/build.make:186:CMakeFiles/neuron-base.dir/src/connection/mqtt_client.c.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:262:CMakeFiles/neuron-base.dir/all] 错误 2
Beta Was this translation helpful? Give feedback.
All reactions