I've implemented mosquitto on my ARM target board.
I added -DWITH_SRV
in Makefile, because I need to add SRV Loopup
function on my system.
But it returns error
fatal error: ares.h: No such file or directory
I have no idea how can I fix it.
Just add ares.h
file in /include folder? If then, loop up feature will be work normally?
Should install ares library on my system?
Could anyone answer about my question?
You need to have the c-ares library installed in your system. It should be pretty straightforward to install the libc-ares-dev
package using your Linux distro package manager.
Alternatively, and for other operating sytems, you can get the library from its official website.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With