<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3698" name=GENERATOR><LINK
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"
rel=stylesheet></HEAD>
<BODY
style="MARGIN-TOP: 10px; FONT-SIZE: 10pt; MARGIN-LEFT: 10px; COLOR: #000000; MARGIN-RIGHT: 10px; FONT-FAMILY: Verdana">
<DIV>Hi, Jeremy C. Reed</DIV>
<DIV> </DIV>
<DIV>Thanks a lot for your help and sorry for replying
late. I've gathered some related information:</DIV>
<DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG>Environment:</STRONG></DIV>
<DIV><STRONG>===========</STRONG></DIV></DIV>
<DIV>Platform:</DIV>
<DIV></DIV>
<DIV><FONT
color=#0000ff>Linux devel 2.6.34.7-63.fc13.i686.PAE #1 SMP Fri Dec 3 12:28:58 UTC 2010 i686 i686 i386 GNU/Linux</FONT></DIV>
<DIV>OS:</DIV>
<DIV><FONT color=#0000ff>Fedora release 13 (Goddard)
</FONT></DIV>
<DIV>Compiler:</DIV>
<DIV><FONT
color=#0000ff>gcc version 4.4.5 20101112 (Red Hat 4.4.5-2) (GCC)</FONT>
</DIV>
<DIV> </DIV>
<DIV><STRONG>A</STRONG><STRONG>ll lines in the output of 'make check' in
directory src/lib/dns:</STRONG></DIV>
<DIV><STRONG>===========</STRONG></DIV>
<DIV>the real directory path name are replaced
with 'mydir' </DIV>
<DIV><SPAN lang=EN-US><FONT face=Calibri color=#0000ff size=3>make<SPAN
style="mso-spacerun: yes"> </SPAN>check-recursive</FONT></SPAN></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[1]: Entering directory
`mydir/bind10-devel-20101201/src/lib/dns'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>Making check in .</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[2]: Entering directory
`mydir/bind10-devel-20101201/src/lib/dns'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[2]: Nothing to be done for
`check-am'.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[2]: Leaving directory
`mydir/bind10-devel-20101201/src/lib/dns'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>Making check in tests</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[2]: Entering directory
`mydir/bind10-devel-20101201/src/lib/dns/tests'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>Making check in testdata</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[3]: Entering directory
`mydir/bind10-devel-20101201/src/lib/dns/tests/testdata'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make<SPAN style="mso-spacerun: yes">
</SPAN>check-am</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[4]: Entering directory
`mydir/bind10-devel-20101201/src/lib/dns/tests/testdata'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[4]: Nothing to be done for
`check-am'.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[4]: Leaving directory
`mydir/bind10-devel-20101201/src/lib/dns/tests/testdata'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[3]: Leaving directory
`mydir/bind10-devel-20101201/src/lib/dns/tests/testdata'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>Making check in .</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[3]: Entering directory
`mydir/bind10-devel-20101201/src/lib/dns/tests'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make<SPAN style="mso-spacerun: yes">
</SPAN>check-TESTS</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[4]: Entering directory
`mydir/bind10-devel-20101201/src/lib/dns/tests'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff
size=3>mydir/bind10-devel-20101201/src/lib/dns/tests/.libs/lt-run_unittests:
symbol lookup error:
mydir/bind10-devel-20101201/src/lib/dns/tests/.libs/lt-run_unittests: undefined
symbol: _ZN3isc3dns5rdata3any4TSIGD1Ev</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>FAIL: run_unittests</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff
size=3>===================================</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>1 of 1 test failed</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>Please report to
bind10-dev@isc.org</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff
size=3>===================================</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[4]: *** [check-TESTS] Error
1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[4]: Leaving directory
`mydir/bind10-devel-20101201/src/lib/dns/tests'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[3]: *** [check-am] Error
2</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[3]: Leaving directory
`mydir/bind10-devel-20101201/src/lib/dns/tests'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[2]: *** [check-recursive] Error
1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[2]: Leaving directory
`mydir/bind10-devel-20101201/src/lib/dns/tests'</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[1]: *** [check-recursive] Error
1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Calibri color=#0000ff size=3>make[1]: Leaving directory
`mydir/bind10-devel-20101201/src/lib/dns'</FONT></SPAN></P><SPAN lang=EN-US
style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: ËÎÌå; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><FONT
color=#0000ff>make: *** [check] Error 2</FONT></SPAN></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG>'gtest-config' information:</STRONG></DIV>
<DIV><STRONG>===========</STRONG></DIV>
<DIV>
<DIV><FONT color=#0000ff>$ gtest-config --cppflags</FONT></DIV>
<DIV><FONT color=#0000ff>-I/usr/local/include</FONT></DIV>
<DIV><FONT color=#0000ff>$ gtest-config --ldflags</FONT></DIV>
<DIV><FONT color=#0000ff>-L/usr/local/lib</FONT></DIV>
<DIV><FONT color=#0000ff>$ gtest-config --libs</FONT></DIV>
<DIV><FONT color=#0000ff>-lgtest -pthread</FONT></DIV></DIV>
<DIV> </DIV>
<DIV>
<DIV>BTW: I'd strongly recommend that a 'make clean' command should be executed
automatically when necessary( e.g. the parameters for configure have
changed ). I've heard that bind 9.7 does something like this in
'configure'</DIV>
<DIV> </DIV>
<DIV>Wish you a merry Christmas and happy new year.^_^</DIV>
<DIV> </DIV>
<DIV>Mary</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></DIV>
<DIV> </DIV>
<DIV>
<DIV>At 2010-12-17 02:07:48£¬"Jeremy C. Reed" <jreed@isc.org> wrote:</DIV></DIV>
<DIV></DIV>
<DIV>>On Thu, 16 Dec 2010, report wrote:</DIV>
<DIV>></DIV>
<DIV>>> Subject: [bind10-dev] Which version of gtest should I use when performing unit</DIV>
<DIV>>> tests?</DIV>
<DIV>></DIV>
<DIV>>I am using gtest versions 1.3.0, 1.4.0, and 1.5.0.</DIV>
<DIV>></DIV>
<DIV>>> version of bind is : bind10-devel-20101201 ( the same results for</DIV>
<DIV>>> bind10-devel-20100917 and source code in trunk directory on svn server )</DIV>
<DIV>>> version of gtest is: gtest 1.5.0 ( the same results for gtest 1.3.0 )</DIV>
<DIV>>> Detail information as follows:</DIV>
<DIV>>> When I ran 'make coverage':</DIV>
<DIV>>> ...</DIV>
<DIV>>> mydir/bind10-devel-20101201/src/lib/dns/tests/.libs/lt-run_unittests: symbol</DIV>
<DIV>>> lookup error:</DIV>
<DIV>>> mydir/bind10-devel-20101201/src/lib/dns/tests/.libs/lt-run_unittests:</DIV>
<DIV>>> undefined symbol: _ZN3isc3dns5rdata3any4TSIGD1Ev</DIV>
<DIV>></DIV>
<DIV>>From this I am not sure if is gtest linking or libdns++ linking.</DIV>
<DIV>></DIV>
<DIV>>What is your platform? What operating system? What compiler?</DIV>
<DIV>></DIV>
<DIV>>What are surrounding lines for the FAILED error in "make check"? (You </DIV>
<DIV>>can "cd src/lib/dns" first.)</DIV>
<DIV>></DIV>
<DIV>>What is the output for the following?</DIV>
<DIV>></DIV>
<DIV>>gtest-config --cppflags</DIV>
<DIV>></DIV>
<DIV>>gtest-config --ldflags</DIV>
<DIV>></DIV>
<DIV>>gtest-config --libs</DIV>
<DIV>></DIV>
<DIV>>(We may have more questions too.)</DIV>
<DIV>></DIV>
<DIV>>Thanks for letting us know your coverage report is working. And thank </DIV>
<DIV>>you for trying BIND 10.</DIV>
<DIV></DIV>
<DIV></DIV></BODY></HTML>