[Pdns-users] Problems compiling pdns using uClibc

Dennis Roos dennis.roos at gmail.com
Wed Aug 2 15:11:17 UTC 2006


On 8/2/06, bert hubert <bert.hubert at netherlabs.nl> wrote:
> On Wed, Aug 02, 2006 at 03:01:59PM +0200, Dennis Roos wrote:
> > I'm trying to create an embedded version of pdns, but have run into
> > problems during compile. I am unsure if pdns is supposed to support
> > uclibc environments - it does not at the moment.
>
> This has not been a design goal.
It's a shame... now I'm stuck with bind if I can't get it to work ;)

> > receiver.cc:364:22: execinfo.h: No such file or directory
> > receiver.cc: In function `void tbhandler(int)':
> > receiver.cc:373: error: `backtrace' undeclared (first use this function)
> > receiver.cc:373: error: (Each undeclared identifier is reported only
> > once for each function it appears in.)
> > receiver.cc:374: error: `backtrace_symbols' undeclared (first use this
> > function)
>
> This code is within #ifdefs, I'd suggest removing the code within these
> #ifdefs for uclibc.
Removed... compile completes fine afterwards.
Q: Can this become a configurable feature?

> > execinfo.h is missing from uclibc... Has to do something with logging,
> > but how to fix it is beyond me ;)
> backtrace is not vital for PowerDNS operation. But this might not be your
> last uclibc problem.
>
> If you manage to get it compiled, please let us know!
It seems to work fine :)

>
> Good luck!
Thanks!


-- 

Regards,
Dennis Roos


More information about the Pdns-users mailing list