[poky] ./mosquitto_internal.h:40:20: fatal error: ares.h: No such file or directory

Paul Eggleton paul.eggleton at linux.intel.com
Sun May 6 16:17:04 PDT 2018


On Sunday, 29 April 2018 8:16:04 AM NZST Khem Raj wrote:
> On Wed, Apr 25, 2018 at 7:05 AM Aditya Tayade <Aditya.Tayade at kpit.com>
> wrote:
> > I was facing subject line issue while building mosquitto 1.14.14
> >
> > Modified config.mk file so that it should not build with SRV lookup
> > support.
> > from WITH_SRV:=yes to WITH_SRV:=no which resolved error.
> >
> > If it is valid, request to patch the same to upstream.
> >
> 
> I suppose its missing a dependency on c-ares

The dependency is supposed to be optional - by default unless you modify 
PACKAGECONFIG to contain "dns-srv" we are passing "WITH_SRV=no" on the command 
line. When I build it here, it builds just fine without c-ares and it 
definitely is disabling the SRV support, so there is clearly something more to 
this.

Aditya, are you making any change to the build configuration for mosquitto 
that would explain this?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the poky mailing list