[Pdns-users] Problem with compiling under Solaris 8

Whizzer powerdns at kuis.nl
Sat Apr 5 10:29:01 UTC 2003


That seems to be the trick.... Thanks...

Now the recursor (didn't know with the first install that there was one...
ooops.... Just reinstall...) gives an error which seems pretty equal to this
one:

make[3]: Entering directory `/project/pdns-2.9.7/pdns'
source='pdns_recursor.cc' object='pdns_recursor.o' libtool=no \
depfile='.deps/pdns_recursor.Po' tmpdepfile='.deps/pdns_recursor.TPo' \
depmode=gcc3 /bin/ksh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..  -Ibackends/bind   -DSYSCONFDIR=\"/usr/loca
l/etc\" -DLIBDIR=\"/usr/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -Ibackends/
bind  -D_REENTRANT  -Wall -O2 -c -o pdns_recursor.o `test -f
pdns_recursor.cc || echo './'`pdns_recursor.cc
mtasker.cc: In member function `void MTasker<EventKey,
   EventVal>::makeThread(void (*)(void*), void*) [with EventKey = PacketID,
   EventVal = std::string]':
pdns_recursor.cc:378:   instantiated from here
mtasker.cc:227: invalid conversion from `void (*)()' to `void (*)(...)'
make[3]: *** [pdns_recursor.o] Error 1
make[3]: Leaving directory `/project/pdns-2.9.7/pdns'

But I was to busy yesterday with other things to search for a solution, so
this could be a RTFM problem... I'll try to see if I can find a solution,
otherwise see this posting as my problem ;-)

O, the compiler now:

grover# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/specs
Configured with:
../configure --disable-nls --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/
as
Thread model: posix
gcc version 3.2.2

Regards,

Whizzer


----- Original Message -----
From: "bert hubert" <ahu at ds9a.nl>
To: "Whizzer" <powerdns at kuis.nl>
Cc: <pdns-users at mailman.powerdns.com>
Sent: Friday, April 04, 2003 5:22 PM
Subject: Re: [Pdns-users] Problem with compiling under Solaris 8


> On Fri, Apr 04, 2003 at 10:05:38AM +0200, Whizzer wrote:
> >  Hmm, forgot that information...
>
> 3.0.3 is a pretty weird compiler, not sure if I want to support it. Can
you
> try with 3.2.2?
>
> Regards,
>
> bert
>
> --
> http://www.PowerDNS.com      Open source, database driven DNS Software
> http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
>



More information about the Pdns-users mailing list