[Pdns-users] Failed to compile Recursor on Solaris 10 Sparc
Kenneth Marshall
ktm at rice.edu
Fri Nov 12 13:40:54 UTC 2010
I think you need to use a more advanced CPU setting. It looks
like you are using a processor without atomic operations. Pretty
much anything better than i386 will work.
Cheers,
Ken
On Fri, Nov 12, 2010 at 12:08:02PM +0100, Udo Zumdick wrote:
> Hello everybody,
>
> I tried several times to compile the latest recursor 3.3 for Solaris 10
> (SunOS resolv 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Fire-V210, well I
> know, it is not the newest one....)
>
> Compiling always failed with th following error:
>
> ---- cut ----
> resolv:~/pdns-archive/current$ CXXFLAGS=-I./boost_1_41_0 ./configure
> Testing dependencies and compiler.
> Using gmake to build
> g++ -I./boost_1_41_0 -Wall -O3 -pthread -D__MAKECONTEXT_V2_SOURCE
> pdns_hw.cc -o pdns_hw
>
> Everything ok, now run make using same settings (if any) you passed ./configure
>
> resolv:~/pdns-archive/current$ CXXFLAGS=-I./boost_1_41_0 make all
> [....]
> PLEASE READ: If you get an error mentioning #include <boost/something.hpp>,
> please read README PLEASE READ: for an easy fix!
>
> g++ syncres.o misc.o unix_utility.o qtype.o logger.o arguments.o lwres.o
> pdns_recursor.o recursor_cache.o dnsparser.o dnswriter.o dnsrecords.o
> rcpgenerator.o base64.o zoneparser-tng.o rec_channel.o rec_channel_rec.o
> selectmplexer.o sillyrecords.o dns_random.o aescrypt.o aeskey.o aes_modes.o
> aestab.o lua-pdns-recursor.o randomhelper.o recpacketcache.o dns.o
> reczones.o base32.o nsecrecords.o optional/devpollmplexer.o
> optional/portsmplexer.o -pthread -lresolv -lsocket -lnsl -ldl -o
> pdns_recursor Undefined first referenced
> symbol in file
> __sync_fetch_and_add_4 pdns_recursor.o ld: fatal: Symbol
> referencing errors. No output written to pdns_recursor collect2: ld
> returned 1 exit status make: *** [pdns_recursor] Error 1
> ---- cut ----
>
> I used:
>
> boost_1_42_0
> gcc version 4.2.1 (20090222) (gccfss)
> GNU Make 3.81
>
> I also tried boost 1.33 - 1.44 with and without LUA.
>
>
>
> Is anybody there who has an idea ? I am "at the end with my latin" (a
> common german saying ;-)
>
> Thanks in advance!
>
>
> Udo
>
> ----
>
> _|_|_|_|_|_| Udo Zumdick
> _ _ _ _| _ Fixed Mobile Engeneering Deutschland
> |_| |_| |_| _| |_| Hammer Str. 216 - 226; 48153 Muenster
> _| mailto:uz at nic.dtag.de
> _| phone: +49 251 7985311; fax: +49 251 7985109
>
> _______________________________________________
> 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