[Pdns-dev] Solaris 10 pdns-recursor 3.6.2 build fails

a b tripivceta at hotmail.com
Thu Nov 20 15:39:15 CET 2014


I am trying to build pdns-recursor 3.6.2 on Solaris 10, and getting the following linker error:

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 ext/polarssl-1.3.2/library/aes.o ext/polarssl-1.3.2/library/padlock.o dnslabeltext.o lua-pdns.o lua-recursor.o randomhelper.o recpacketcache.o dns.o reczones.o base32.o nsecrecords.o json.o ws-recursor.o ws-api.o version.o responsestats.o webserver.o ext/yahttp/yahttp/reqresp.o ext/yahttp/yahttp/router.o rec-carbon.o secpoll-recursor.o optional/devpollmplexer.o optional/portsmplexer.o   -pthread -lresolv -lsocket -lnsl -ldl     -o pdns_recursor
ld: fatal: symbol `DW.int_types.h.86b96da7.0' is multiply-defined:
        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);
ld: fatal: symbol `DW.int_types.h.86b96da7.1' is multiply-defined:
        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);
ld: fatal: symbol `DW.string_iso.h.96384391.0' is multiply-defined:
        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);
ld: fatal: symbol `DW.aes.h.c8c74923.0' is multiply-defined:
        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);
ld: fatal: symbol `DW.aes.h.c8c74923.1' is multiply-defined:
        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);
ld: fatal: symbol `DW.aes.h.c8c74923.2' is multiply-defined:
        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);
ld: fatal: symbol `DW.aes.h.c8c74923.3' is multiply-defined:
        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);
ld: fatal: symbol `DW.aes.h.c8c74923.4' is multiply-defined:
        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);
ld: fatal: File processing errors. No output written to pdns_recursor
collect2: error: ld returned 1 exit status
gmake: *** [pdns_recursor] Error 1

(What I am really after is verifying that this bug has been resolved: 
https://github.com/PowerDNS/pdns/issues/1283)

environment variables:
PATH=/usr/xpg4/bin:/opt/bin:/opt/sbin:/usr/bin:/usr/ccs/bin:/sbin:/usr/sbin:/usr/openwin/bin:/usr/dt/bin
NUMCPUS=3
ORIGIN=$ORIGIN
O=$$O
CPPFLAGS=-I/opt/include/boost-1_38 -DSYSCONFDIR='"'/etc/opt/powerdns'"' -DLOCALSTATEDIR='"'/var/opt/powerdns'"'
CFLAGS= -fPIC -mieee-fp -mstackrealign -gdwarf-2 -gstrict-dwarf -g3 -feliminate-dwarf2-dups -fno-dwarf2-cfi-asm -O3 -I/opt/include -L/opt/lib
CXXFLAGS= -fPIC -mieee-fp -mstackrealign -gdwarf-2 -gstrict-dwarf -g3 -feliminate-dwarf2-dups -fno-dwarf2-cfi-asm -O3 -I/opt/include -L/opt/lib -I/opt/include/boost-1_38 -DSYSCONFDIR='"'/etc/opt/powerdns'"' -DLOCALSTATEDIR='"'/var/opt/powerdns'"'
LD_OPTIONS=-B direct -z ignore -L/opt/lib -R$ORIGIN:$ORIGIN/../lib:$ORIGIN/../../lib:/opt/lib
CONFIGURE=./configure
CONFIGUREFLAGS=--prefix=/opt --mandir=/opt/share/man --infodir=/opt/share/info --libdir=/opt/lib --libexecdir=/opt/lib
MAKE=gmake

Boost: version 1.38.0.
Reading specs from /opt/lib/gcc/i386-pc-solaris2.10/4.7.1/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/libexec/gcc/i386-pc-solaris2.10/4.7.1/lto-wrapper
Target: i386-pc-solaris2.10
Configured with: /export/home/vbender/devel/src/gcc-4.7.1/./configure --prefix=/opt --mandir=/opt/share/man --infodir=/opt/share/info --libdir=/opt/lib --with-as=/opt/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,fortran --enable-shared --with-local-prefix=/opt --disable-libitm LDFLAGS='-L/opt/lib -R$ORIGIN:$ORIGIN/../lib:$ORIGIN/../../lib:/opt/lib'
Thread model: posix
gcc version 4.7.1 (GCC) 

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20141120/c9ee9e42/attachment.html>


More information about the Pdns-dev mailing list