[Pdns-users] Cannot comply pdns-recursor-3.3 in Solaris 10 sparc
Juraj Lutter
juraj at lutter.sk
Fri Jun 1 15:33:43 UTC 2012
All this are just plain wrong assumptions. I will post on this topic later.
On 1 Jun 2012, at 16:55, a b <tripivceta at hotmail.com> 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 at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
More information about the Pdns-users
mailing list