diff options
Diffstat (limited to 'chapter06/file-inst.xml')
-rw-r--r-- | chapter06/file-inst.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chapter06/file-inst.xml b/chapter06/file-inst.xml index f300117e4..7281dcb5a 100644 --- a/chapter06/file-inst.xml +++ b/chapter06/file-inst.xml @@ -3,7 +3,10 @@ <para>Install File by running the following commands:</para> -<para><screen><userinput>./configure --prefix=/usr --datadir=/usr/share/misc &&</userinput> +<para><screen><userinput>cp -f readelf.h readelf.h.backup &&</userinput> +<userinput>sed '/#define __/a \</userinput> +<userinput> #include <stdint.h>' readelf.h.backup > readelf.h &&</userinput> +<userinput>./configure --prefix=/usr --datadir=/usr/share/misc &&</userinput> <userinput>make &&</userinput> <userinput>make install</userinput></screen></para> |