[Pdns-users] Problem with compiling under Solaris 8

Whizzer powerdns at kuis.nl
Thu Apr 10 19:21:05 UTC 2003


Damn,

I thought everything was fine... But the recusor seems to have a 'small'
problem... The recursor starts perfect, no problems at all... But when I do
a 'dig MX cisco.com', the recursor dies...

I can't find any debugging options, so if there are any, please let me
know.. But has anyone got on idea???

Thanks,

Whizzer


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


> The "ifdef" thingy didn't work, too bad... But the other did work...
>
> If you need me to test some things on Solaris 8, just contact me, no
> problem!
>
> Thanks!
>
> - Whizzer
>
>
> ----- Original Message -----
> From: "bert hubert" <ahu at ds9a.nl>
> To: "Whizzer" <powerdns at kuis.nl>
> Cc: <pdns-users at mailman.powerdns.com>
> Sent: Saturday, April 05, 2003 1:17 PM
> Subject: Re: [Pdns-users] Problem with compiling under Solaris 8
>
>
> > On Sat, Apr 05, 2003 at 01:07:37PM +0200, Whizzer wrote:
> >
> > > 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:230: invalid conversion from `void (*)()' to `void
(*)(...)'
> > > make[3]: *** [pdns_recursor.o] Error 1
> >
> > Hmf. Can you try this:
> >
> > #ifdef SOLARIS
> >   makecontext (uc, (void (*)(...))threadWrapper, 4, this, start,
d_maxtid,
> val);
> > #else
> >   makecontext (uc, (void (*)(void))threadWrapper, 4, this, start,
> d_maxtid, val);
> > #endif
> >
> > Otherwise, just make it:
> >   makecontext (uc, (void (*)(...))threadWrapper, 4, this, start,
d_maxtid,
> val);
> >
> > Which should make it work for you, at least, but not portably.
> >
> > Regards,
> >
> > bert
> >
> > --
> > http://www.PowerDNS.com      Open source, database driven DNS Software
> > http://lartc.org           Linux Advanced Routing & Traffic Control
HOWTO
> >
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>



More information about the Pdns-users mailing list