BIND 10 #1202: bind 10 20110819 fails to compile on Ubuntu 11.04 (amd64)
BIND 10 Development
do-not-reply at isc.org
Mon Sep 5 13:11:51 UTC 2011
#1202: bind 10 20110819 fails to compile on Ubuntu 11.04 (amd64)
-------------------------------------+-------------------------------------
Reporter: cas | Owner:
Type: | Status: new
defect | Milestone: Next-Sprint-
Priority: major | Proposed
Component: | Resolution:
Unclassified | Sensitive: 0
Keywords: | Sub-Project: DNS
Defect Severity: | Estimated Difficulty: 0
Medium | Total Hours: 0
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by jelte):
looks like there are a number of different issues here; rdataclass.cc is a
file that is generated out of a number of source files. The above patch
had the right idea, but for the wrong file (though they should both be
fixed), I also noticed at least one missing include.
I suspect this only happens on some systems because they are added into
the compound file in a different order. Whether or not the idea of
sticking a number of files together in this way is a good idea, we should
at least fix the known problems per file, and try to force the order in
which they are added (so that even if something is missing, at least it
won't break if you for instance change your locale).
A quick test here suggests that it should be this one:
{{{
diff --git a/src/lib/dns/rdata/generic/rp_17.cc
b/src/lib/dns/rdata/generic/rp_1
index b8b2ba2..781b55d 100644
--- a/src/lib/dns/rdata/generic/rp_17.cc
+++ b/src/lib/dns/rdata/generic/rp_17.cc
@@ -24,6 +24,7 @@
using namespace std;
using namespace isc::dns;
+using namespace isc::util;
// BEGIN_ISC_NAMESPACE
// BEGIN_RDATA_NAMESPACE
}}}
But this is partly just addressing symptoms, and specifically just for one
environment. I'll keep this ticket open so we can address the real problem
as described above, and get that into the next release.
--
Ticket URL: <http://bind10.isc.org/ticket/1202#comment:7>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list