<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I am trying to build pdns-recursor 3.6.2 on Solaris 10, and getting the following linker error:<br><br>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<br>ld: fatal: symbol `DW.int_types.h.86b96da7.0' is multiply-defined:<br>        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);<br>ld: fatal: symbol `DW.int_types.h.86b96da7.1' is multiply-defined:<br>        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);<br>ld: fatal: symbol `DW.string_iso.h.96384391.0' is multiply-defined:<br>        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);<br>ld: fatal: symbol `DW.aes.h.c8c74923.0' is multiply-defined:<br>        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);<br>ld: fatal: symbol `DW.aes.h.c8c74923.1' is multiply-defined:<br>        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);<br>ld: fatal: symbol `DW.aes.h.c8c74923.2' is multiply-defined:<br>        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);<br>ld: fatal: symbol `DW.aes.h.c8c74923.3' is multiply-defined:<br>        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);<br>ld: fatal: symbol `DW.aes.h.c8c74923.4' is multiply-defined:<br>        (file ext/polarssl-1.3.2/library/aes.o type=NOTY; file ext/polarssl-1.3.2/library/padlock.o type=NOTY);<br>ld: fatal: File processing errors. No output written to pdns_recursor<br>collect2: error: ld returned 1 exit status<br>gmake: *** [pdns_recursor] Error 1<br><br>(What I am really after is verifying that this bug has been resolved: <br>https://github.com/PowerDNS/pdns/issues/1283)<br><br>environment variables:<br>PATH=/usr/xpg4/bin:/opt/bin:/opt/sbin:/usr/bin:/usr/ccs/bin:/sbin:/usr/sbin:/usr/openwin/bin:/usr/dt/bin<br>NUMCPUS=3<br>ORIGIN=$ORIGIN<br>O=$$O<br>CPPFLAGS=-I/opt/include/boost-1_38 -DSYSCONFDIR='"'/etc/opt/powerdns'"' -DLOCALSTATEDIR='"'/var/opt/powerdns'"'<br>CFLAGS= -fPIC -mieee-fp -mstackrealign -gdwarf-2 -gstrict-dwarf -g3 -feliminate-dwarf2-dups -fno-dwarf2-cfi-asm -O3 -I/opt/include -L/opt/lib<br>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'"'<br>LD_OPTIONS=-B direct -z ignore -L/opt/lib -R$ORIGIN:$ORIGIN/../lib:$ORIGIN/../../lib:/opt/lib<br>CONFIGURE=./configure<br>CONFIGUREFLAGS=--prefix=/opt --mandir=/opt/share/man --infodir=/opt/share/info --libdir=/opt/lib --libexecdir=/opt/lib<br>MAKE=gmake<br><br>Boost: version 1.38.0.<br>Reading specs from /opt/lib/gcc/i386-pc-solaris2.10/4.7.1/specs<br>COLLECT_GCC=gcc<br>COLLECT_LTO_WRAPPER=/opt/libexec/gcc/i386-pc-solaris2.10/4.7.1/lto-wrapper<br>Target: i386-pc-solaris2.10<br>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'<br>Thread model: posix<br>gcc version 4.7.1 (GCC) <br><br>                                    </div></body>
</html>