[Pdns-users] Recursor process terminates

bert hubert bert.hubert at netherlabs.nl
Mon Aug 15 18:57:28 UTC 2005


On Mon, Aug 15, 2005 at 08:46:48PM +0200, bert hubert wrote:
> > On RHEL4, gcc-3.4.3-22.1 it dies.
> > on RHEL 3 gcc-3.2.3-52 it runs ok.

Bastiaan, can you try the attached patch?

Apply like this:

cd pdns
patch < no-thread-overlay

And recompile. I think this will solve your problem, but I'm not sure.
Please let me know!

Thanks.

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services
-------------- next part --------------
Index: pdns_recursor.cc
===================================================================
--- pdns_recursor.cc	(revision 456)
+++ pdns_recursor.cc	(working copy)
@@ -54,6 +54,7 @@
 
 string s_programname="pdns_recursor";
 
+#if 0
 #ifndef WIN32
 #ifndef __FreeBSD__
 extern "C" {
@@ -70,6 +71,7 @@
 }
 #endif // __FreeBSD__
 #endif // WIN32
+#endif
 
 StatBag S;
 ArgvMap &arg()
Index: Makefile.am
===================================================================
--- Makefile.am	(revision 459)
+++ Makefile.am	(working copy)
@@ -77,7 +77,7 @@
 
 #../modules/gmysqlbackend/smysql.cc 
 
-pdns_recursor_LDFLAGS=
+pdns_recursor_LDFLAGS=@THREADFLAGS@
 pdns_recursor_LDADD=
 
 pdns_control_SOURCES=dynloader.cc dynmessenger.cc  arguments.cc logger.cc statbag.cc misc.cc unix_utility.cc


More information about the Pdns-users mailing list