All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ken'ichi Ohmichi" <oomichi@mxs.nes.nec.co.jp>
To: Dharmosoth Seetharam <dseetharam@inbox.com>
Cc: vgoyal@in.ibm.com, kexec@lists.infradead.org
Subject: Re: problem with elfutils-0.125 for makedumpfile
Date: Fri, 15 Jun 2007 16:45:57 +0900	[thread overview]
Message-ID: <20070615164557oomichi@mail.jp.nec.com> (raw)
In-Reply-To: <C6430F72A46.000002F9dseetharam@inbox.com>


Hi Dharmosoth,


2007/06/14 06:27:18 -0800, Dharmosoth Seetharam <dseetharam@inbox.com> wrote:
>I tryinging to install makedumpfile utility program.
>For this elfutils-0.125 should be installed on the same machine.
>
>So, i have done the same thing.
>
>After installing the "elfutils-0.125", I am getting the following error.
>
>Can any one please tell me what should be the mistake i have done?
>
>
>[root@tc210 makedumpfile]# make
>gcc -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -DVERSION='"1.1.4"' -DRELEASE_DATE='"08 June 2007"' -D__x86_64__ x86.o x86_64.o
 ia64.o ppc64.o -o makedumpfile makedumpfile.c -static -ldw -lelf -lz
>makedumpfile.c: In function `write_kdump_pages':
>makedumpfile.c:4102: warning: implicit declaration of function `compressBound'
>/usr/local/bin/ld: invalid option -- Y
>Try `ld --help' or `ld --usage' for more information.
>collect2: ld returned 64 exit status
>make: *** [makedumpfile] Error 1

I think the cause is 'ld' installed by elfutils-0.125.
elfutils-0.125 installs 'ld' into /usr/local/bin/ with the library files.
For installing only necessary files, could you please try follows ?

- Uninstall elfutils-0.125
  # cd elfutils-0.125
  # make uninstall
  #

- Make elfutils-0.125, and install only the library files.
  # make clean
  # ./configure
  # make
  #
  # mkdir /usr/local/include/elfutils/
  # cp ./libdw/libdw.h   /usr/local/include/elfutils/libdw.h
  # cp ./libdw/dwarf.h   /usr/local/include/dwarf.h
  # cp ./libelf/libelf.h /usr/local/include/libelf.h
  # cp ./libelf/gelf.h   /usr/local/include/gelf.h
  #
  # cp ./libelf/libelf.a /usr/local/lib/libelf.a
  # cp ./libdw/libdw.a   /usr/local/lib/libdw.a
  # cp ./libasm/libasm.a /usr/local/lib/libasm.a
  # cp ./libebl/libebl.a /usr/local/lib/libebl.a
  #

If there are not any problems, I will add the above method to README file.


Thanks
Ken'ichi Ohmichi

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  parent reply	other threads:[~2007-06-15  7:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-14 14:27 problem with elfutils-0.125 for makedumpfile Dharmosoth Seetharam
2007-06-14 14:46 ` Dharmosoth Seetharam
2007-06-15  7:45 ` Ken'ichi Ohmichi [this message]
2007-07-02 16:04   ` Dharmosoth Seetharam
2007-07-03  9:00     ` Ken'ichi Ohmichi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070615164557oomichi@mail.jp.nec.com \
    --to=oomichi@mxs.nes.nec.co.jp \
    --cc=dseetharam@inbox.com \
    --cc=kexec@lists.infradead.org \
    --cc=vgoyal@in.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.