« Return to Thread: Cannot comply pdns-recursor-3.3 in Solaris 10 sparc

Re: Cannot comply pdns-recursor-3.3 in Solaris 10 sparc

by Juraj Lutter-7 :: Rate this Message:

| View in Thread

All this are just plain wrong assumptions. I will post on this topic later.



On 1 Jun 2012, at 16:55, a b <tripivceta@...> wrote:

>
>> I need an help on compling pdns-recursor-3.3 in Solaris 10.
>>
>> I have installed the boost, please still cannot make it works.
>>
>> is anyone can provide a procedure for me to proceed further?
>
> Here it is, it took a while to locate, even with knowing what  to
> look for:
>
> http://mailman.powerdns.com/pipermail/pdns-users/2010-September/007018.html
>
> gcc  -g -funit-at-a-time -O3 -m64 -I/export/home/ahu/boost_1_39_0
> hugefile.cc aes*c  -o pdns_recursor -Wl,-Bstatic -lstdc++ -lgcc
> -Wl,-Bdynamic -static-libgcc -lm -lc  -lresolv -lsocket -lnsl -ldl
>
> Take out "-Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic -static-libgcc" and build pdns_recursor as follows:
>
> gcc  -g -funit-at-a-time -O3 -m64 -I/path/to/boost
> hugefile.cc aes*c  -o pdns_recursor
> -lm -lc -lresolv -lsocket -lnsl -ldl
>
> Note that "-lc" is listed, but if my memory serves me,  one  does
> not  even  need  that.  Make  sure  to  use  stock Solaris GCC in
> /usr/sfw/bin. I compiled pdns_recursor on Solaris 10 u3  and  u8,
> so  I  know  those work. Solaris 10 updates earlier than u3 might
> work, but I have not tested this.
>
>
> Boost 1.39 does not work in combination with pdns_*  on  Solaris,
> so use version 1.38, which does work.
>                        
> _______________________________________________
> Pdns-users mailing list
> Pdns-users@...
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
_______________________________________________
Pdns-users mailing list
Pdns-users@...
http://mailman.powerdns.com/mailman/listinfo/pdns-users

 « Return to Thread: Cannot comply pdns-recursor-3.3 in Solaris 10 sparc