[patch] makedumpfile: update/clarify README

Randy Dunlap rdunlap at xenotime.net
Tue Sep 4 16:36:18 EDT 2007


On Mon, 3 Sep 2007 16:57:08 +0900 tachibana at mxm.nes.nec.co.jp wrote:

> Makefile installs ld command etc. and they influence kernel build.
> We installed elfutils-0.125 not by 'make install' but by procedure 
> written at README of makedumpfile-1.1.6 in RHEL5.0 environment.
> Please uninstall elfutils-0.125 and elfutils-0.128 and try the above
> procedure.

Hi tachibana-san,

Thanks for that info.  I completely missed that in the README file.
Please update the README file with this patch.
---


From: Randy Dunlap <randy.dunlap at oracle.com>

Warn not to use "make install" for elfutils.
Fix a few typos.

Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
---
 README |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

--- makedumpfile-1.1.6.orig/README
+++ makedumpfile-1.1.6/README
@@ -4,11 +4,13 @@
 ======================
 
 * REQUIREMENTS
-  Please download the following library file and install it:
+  Please download the following library file and install it exactly as below;
+  do NOT use "make install".
   - elfutils-0.125.tar.gz
     The "make install" of elfutils installs some commands (ld, readelf, etc.),
-    and the compiling problem sometimes happens due to using the installed
-    commands. To install only the library files, do the following method.
+    and compiling problems sometimes happen due to using the installed
+    commands. To install only the library & header files, use the following
+    method:
      # tar -zxvf elfutils-0.125.tar.gz
      # cd elfutils-0.125
      # ./configure
@@ -85,8 +87,8 @@
     make: *** [makedumpfile] Error 1
     #
 
-    The compiler cannot find out elf_getshstrndx() because it tries
-    searching it only from /usr/lib/libelf.a though elf_getshstrndx()
+    The compiler cannot find elf_getshstrndx() because it tries
+    searching for it only from /usr/lib/libelf.a though elf_getshstrndx()
     is archived in /usr/local/lib/libelf.a.
     To solve the problem, add the option (-L/usr/local/lib/) to CFLAGS
     of Makefile like the following:
@@ -104,4 +106,3 @@
   Ken'ichi Ohmichi <oomichi at mxs.nes.nec.co.jp>
   Masaki Tachibana <tachibana at mxm.nes.nec.co.jp>
   kexec-ml <kexec at lists.infradead.org>
-



More information about the kexec mailing list