[Pdns-users] Segmentation fault
Massimo Bandinelli
massimo.bandinelli at register.it
Tue Mar 6 11:24:41 UTC 2007
The static version of the snapshot returns me a segfault immediately
******
/etc/rc.d/rc.pdns-register start
Starting PowerDNS authoritative nameserver: /etc/rc.d/rc.pdns-register:
line 37: 28692 Segmentation fault $pdns_server --daemon
--guardian=yes
******
Compiling the snapshot I received
******
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -D_GNU_SOURCE
-I/usr/local/src/boost_1_33_1 -Wall -O2 -MT
libbind2backend_la-bindparser.lo -MD -MP -MF
.deps/libbind2backend_la-bindparser.Tpo -c bindparser.cc -fPIC -DPIC -o
.libs/libbind2backend_la-bindparser.o
In file included from bindparser.yy:10:
../../misc.hh:46: error: 'uint64_t' is used as a type, but is not
defined as a
type.
../../misc.hh: In constructor `TSCTimer::TSCTimer()':
../../misc.hh:38: error: `d_tsc1' undeclared (first use this function)
../../misc.hh:38: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
../../misc.hh: In destructor `TSCTimer::~TSCTimer()':
../../misc.hh:42: error: `uint64_t' undeclared (first use this function)
../../misc.hh:42: error: syntax error before `;' token
../../misc.hh:43: error: `tsc2' undeclared (first use this function)
In file included from /usr/include/netinet/in.h:23,
from /usr/include/arpa/inet.h:23,
from ../../utility.hh:42,
from ../../misc.hh:50,
from bindparser.yy:10:
/usr/include/stdint.h: At global scope:
/usr/include/stdint.h:59: error: `typedef long long unsigned int
uint64_t' used
prior to declaration
make[4]: *** [libbind2backend_la-bindparser.lo] Error 1
make[4]: Leaving directory
`/www/COMMON/src/pdns-2.9.21-svn.20070218.959/pdns/backends/bind'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/www/COMMON/src/pdns-2.9.21-svn.20070218.959/pdns/backends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/www/COMMON/src/pdns-2.9.21-svn.20070218.959/pdns'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/www/COMMON/src/pdns-2.9.21-svn.20070218.959'
make: *** [all] Error 2
*****
During the "configure" I received always a warning too:
*****
configure: WARNING: boost/shared_ptr.hpp: accepted by the compiler,
rejected by the preprocessor!
configure: WARNING: boost/shared_ptr.hpp: proceeding with the compiler's
result
*****
Is this normal?
Thank you for your help,
Massimo.
-----Original Message-----
From: bert hubert [mailto:bert.hubert at netherlabs.nl]
Sent: Tuesday, March 06, 2007 11:52 AM
To: Massimo Bandinelli
Cc: pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] Segmentation fault
On Tue, Mar 06, 2007 at 11:35:28AM +0100, Massimo Bandinelli wrote:
> I'm trying to replace bind with powerdns (2.9.20), because it's really
> faster in load and reload.
Massimo,
Have you tried our snapshot yet? http://svn.powerdns.com/snapshots/959/
should fix most BIND problems.
Bert
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://netherlabs.nl Open and Closed source services
More information about the Pdns-users
mailing list