summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2011-02-24 00:05:59 +0000
committerShawn Routhier <sar@isc.org>2011-02-24 00:05:59 +0000
commit1b14e702ddb308ba218e444b788662b46b896e26 (patch)
tree63e67d8f089e4987a901163e6abb208dcabab0fe
parent2b79347bea832b128e7010b8bcbcd0a274ea778b (diff)
downloadisc-dhcp-1b14e702ddb308ba218e444b788662b46b896e26.tar.gz
Add text about compile issues on Solaris
[ISC-Bugs #21791]
-rw-r--r--README25
1 files changed, 25 insertions, 0 deletions
diff --git a/README b/README
index 1af3d491..89762f7a 100644
--- a/README
+++ b/README
@@ -411,6 +411,31 @@ must install this extension in order to get dhcpd or dhclient to work.
SOLARIS
+There are two known issues seen when compiling using the Sun compiler.
+
+The first is that older Sun compilers generate an error on some of
+our uses of the flexible array option. Newer versions only generate
+a warning, which can be safely ignored. If you run into this error
+("type of struct member "buf" can not be derived from structure with
+flexible array member"), upgrade your tools to Sun Studio 12 or
+something newer.
+
+The second is the interaction between the configure script and the
+makefiles for the Bind libraries. Currently we don't pass all
+environment variables between the DHCP configure and the Bind configure.
+
+If you attempt to specify the compiler you wish to use like this:
+
+ CC=/opt/SUNWspro/bin/cc ./configure
+
+"make" may not build the Bind libraries with that compiler.
+
+In order to use the same compiler for Bind and DHCP we suggest the
+following commands:
+
+ CC=/opt/SUNWspro/bin/cc ./configure
+ CC=/opt/SUNWspro/bin/cc make
+
One problem which has been observed and is not fixed in this
patchlevel has to do with using DLPI on Solaris machines. The symptom
of this problem is that the DHCP server never receives any requests.