Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > a5f20863ca4b9af9442de54364980b2c > files > 7

ksymoops-2.4.3-4mdk.i586.rpm

Unpack the ksymoops tar.gz file (silly me, you already did that :).

Edit the Makefile to set any defaults you want.

make
as root, make install

To compile and link ksymoops, you need bfd.h, libbfd and libiberty.  On
most systems, these are all part of the binutils package so installing
binutils is all that is required.  On Debian systems, bfd.h (at least)
is in a separate package, binutils-dev.

This code is a complete replacement for the ksymoops in the Linux kernel.  If
you wish to keep ksymoops in the kernel, you can

cd linux/scripts
rm -rf ksymoops
tar xzvf /somewhere/ksymoops-n.n.tar.gz
mv ksymoops-* ksymoops
cd ksymoops
make
make install

However I recommend that you keep this code outside the kernel.  It was never
meant to be part of the kernel sources but somebody (not me) asked Linus to
include it.

Compiling and linking against a non-standard binutils.
======================================================

If you need to compile and link against a version of binutils which is
not in the standard location, be careful to define the location of the
bfd include files as well as libbfd.  Add -I/non/standard/bfd to
CFLAGS; add -L/non/standard/bfd to the link line, just before -lbfd.