diff options
-rw-r--r-- | chapter06/groff-exp.xml | 13 | ||||
-rw-r--r-- | chapter06/groff.xml | 1 | ||||
-rw-r--r-- | index.xml | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/chapter06/groff-exp.xml b/chapter06/groff-exp.xml new file mode 100644 index 000000000..c8a35b947 --- /dev/null +++ b/chapter06/groff-exp.xml @@ -0,0 +1,13 @@ +<sect2> +<title>Command explanations</title> + +<para> +<userinput>CXXFLAGS=-Dstrerror=strerror</userinput>: If no macro +strerror is defined, src/include/lib.h declares an function prototype +for strerror which is incompatible with Glibc's /usr/include/string.h. +By defining strerror=strerror a macro is defined which prevents the +declaration and does not alter the meaning of strerror. +</para> + +</sect2> + diff --git a/chapter06/groff.xml b/chapter06/groff.xml index e0698e28a..393a03a97 100644 --- a/chapter06/groff.xml +++ b/chapter06/groff.xml @@ -2,6 +2,7 @@ <title>Installing Groff</title> &c6-groff-inst; +&c6-groff-exp; &aa-groff-desc; </sect1> @@ -245,6 +245,7 @@ <!ENTITY c6-grep-inst SYSTEM "intel/chapter6/grep-inst.xml"> <!ENTITY c6-groff SYSTEM "intel/chapter6/groff.xml"> <!ENTITY c6-groff-inst SYSTEM "intel/chapter6/groff-inst.xml"> +<!ENTITY c6-groff-exp SYSTEM "intel/chapter6/groff-exp.xml"> <!ENTITY c6-gzip SYSTEM "intel/chapter6/gzip.xml"> <!ENTITY c6-gzip-inst SYSTEM "intel/chapter6/gzip-inst.xml"> <!ENTITY c6-libtool SYSTEM "intel/chapter6/libtool.xml"> |