lkcd
[Top] [All Lists]

Re: Whats the story with lkcdutils?

To: Jay Weber <jay@xxxxxxxxxxxxxxxxx>
Subject: Re: Whats the story with lkcdutils?
From: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Date: Wed, 15 Nov 2000 10:25:15 -0800
Cc: lkcd@xxxxxxxxxxx
Organization: Alacritech, Inc.
References: <Pine.OSF.4.21.0011150951590.19496-100000@lazy.accessus.net>
Sender: owner-lkcd@xxxxxxxxxxx
Jay Weber wrote:
> 
> I've noticed the lkcdutils repository on sourceforge and am wondering if
> somebody could update me as to what the status of it is.  It appears to
> seperate lcrash into the userland realm so that I don't have to build that
> as part of my kernel package and that sounds great for packaging purposes.
> 
> Does it work with 2.2 based kernel (or at all at this point)?  When
> compiling I'm getting:
> 
> make[2]: Leaving directory `/usr/opt/build/BUILD/lkcdutils/lcrash/cmds'
> gcc -o lcrash  -static -rdynamic -L. -L/usr/src/linux -L./../libklib
> -L./../liballoc -L./../librl main.o util.o eval.o report.o stabs.o
> struct.o vmdump.o -lcmds -larch -lalloc -lrl -lklib -lncurses -lopcodes
> -lbfd -liberty -ldl
> ./libcmds.a(cmd_strace.o): In function `strace_cmd':
> cmd_strace.c:63: undefined reference to `ia64_find_trace'

This is due to building IA64 for the last few weeks.  I noticed this
yesterday, and Tom's fixing it (or has already fixed it).

> ./libarch.a(idis.o): In function `do_dis':
> idis.c:104: undefined reference to `print_insn_i386'

This is due to legacy functionality.  The problem is the binutils you
are using removed print_insn_i386 and replaced it with print_insn_i386_att
and print_insn_i386_intel, and of course, removing direct access to the
original function (dumb!).  Tom is removing this function from lcrash,
as it is historical and no longer needed (IMHO).

BTW, anyone out there have a copy of (non-TurboLinux) Linux for Alpha?
I've tried two different copies on one system, and none of them seem
to work.  I've got an Alpha system to do LKCD stuff on now ...

--Matt

> collect2: ld returned 1 exit status
> make[1]: *** [lcrash] Error 1
> make[1]: Leaving directory `/usr/opt/build/BUILD/lkcdutils/lcrash'
> 
> Looking at the 2.2 cvs tree, these print_insn_* funcs seem to exist.  In
> lkcdutils they don't.
> 
> Thanks.

<Prev in Thread] Current Thread [Next in Thread>