[Pdns-users] trouble compiling pdns with new glibc 2.3.3

Rafal Szczepaniak rafal at k2.infopolia.com
Thu Aug 12 13:00:28 UTC 2004

I'm trying to recompile and make a new package for powerdns 2.9.16
Before the glibc update everything was ok. Now I get this:

config.status: executing default-1 commands
make  all-recursive
make[1]: Entering directory `/var/abs/local/powerdns/src/pdns-2.9.16'
Making all in modules
make[2]: Entering directory `/var/abs/local/powerdns/src/pdns-2.9.16/modules'
Making all in gmysqlbackend
make[3]: Entering directory `/var/abs/local/powerdns/src/pdns-2.9.16/modules/gmysqlbackend'
source='gmysqlbackend.cc' object='gmysqlbackend.lo' libtool=yes \
depfile='.deps/gmysqlbackend.Plo' tmpdepfile='.deps/gmysqlbackend.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/mysql    -D_GNU_SOURCE -march=i686 -O2 -pipe -Wall -O2 -c -o gmysqlbackend.lo `test -f $
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/mysql -D_GNU_SOURCE -march=i686 -O2 -pipe -Wall -O2 -c gmysqlbackend.cc -MT gmysqlbackend.lo -MD -MP -MF .deps/gmysqlbacken$
In file included from ../../pdns/dns.hh:24,
                 from gmysqlbackend.cc:7:
../../pdns/utility.hh:175: error: declaration of `typedef struct iovec Utility::iovec'
/usr/include/bits/uio.h:43: error: changes meaning of `iovec' from `struct iovec'
../../pdns/utility.hh:176: error: declaration of `typedef pid_t Utility::pid_t'
/usr/include/sys/types.h:100: error: changes meaning of `pid_t' from `typedef __pid_t pid_t'
../../pdns/utility.hh:178: error: declaration of `typedef socklen_t Utility::socklen_t'
/usr/include/unistd.h:243: error: changes meaning of `socklen_t' from `typedef __socklen_t socklen_t'
make[3]: *** [gmysqlbackend.lo] Error 1
make[3]: Leaving directory `/var/abs/local/powerdns/src/pdns-2.9.16/modules/gmysqlbackend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/powerdns/src/pdns-2.9.16/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/powerdns/src/pdns-2.9.16'
make: *** [all] Error 2

My configure parameters:

  ./configure --prefix=/usr --enable-recursor \
  --sysconfdir=/etc \
  --with-pgsql-includes=/usr/include \
  --with-dynmodules="gpgsql gmysql ldap pipe pdns"

System: archlinux (i686)
gcc 3.4.1
glibc 2.3.3
libtool 1.5.8
make 3.80
libpqpp 4.0
postgresql 7.4.3
mysql 4.0.20
openldap 2.2.13

I'm not a c/c++ programmer but is there anything I can do to compile it?
Or should I just wait for a new pdns release?

Thanks for any suggestions.

Rafal Szczepaniak

More information about the Pdns-users mailing list