xfs
[Top] [All Lists]

Re: KDB-ized RH 2.4.18-X kernel?

To: Seth Mos <knuffie@xxxxxxxxx>
Subject: Re: KDB-ized RH 2.4.18-X kernel?
From: Keith Owens <kaos@xxxxxxx>
Date: Tue, 25 Mar 2003 19:50:21 +1100
Cc: Dan Yocum <yocum@xxxxxxxx>, xfs-list <linux-xfs@xxxxxxxxxxx>
In-reply-to: Your message of "Tue, 25 Mar 2003 09:14:03 BST." <4.3.2.7.2.20030325085227.02421458@pop.xs4all.nl>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Tue, 25 Mar 2003 09:14:03 +0100, 
Seth Mos <knuffie@xxxxxxxxx> wrote:
>I reported this problem earlier as well when I was working on the 2.4.18-24 
>kernel IIRC and it had to do with the linking.
>kallsyms pass 1
>init/main.o: In function `parse_options':
>init/main.o(.text.init+0x5e6): undefined reference to `kdb_on'
>init/main.o(.text.init+0x5eb): undefined reference to `kdb_flags'
>init/main.o(.text.init+0x622): undefined reference to `kdb_on'
>init/main.o(.text.init+0x64f): undefined reference to `kdb_on'
>init/main.o(.text.init+0x674): undefined reference to `kdb_flags'
>init/main.o(.text.init+0x67f): undefined reference to `kdb_on'
>init/main.o(.text.init+0x687): undefined reference to `kdb_flags'

You only applied the kdb-i386 patch and did not apply the kdb-common
patch.  If the kdb-common patch was applied the the build did not
descend into the kdb directory, probably a missing patch to the top
level Makefile, it should look like this.

LIBS            =$(TOPDIR)/lib/lib.a
SUBDIRS         =kernel drivers mm fs net ipc lib

ifeq ($(CONFIG_KDB),y)
CORE_FILES      += kdb/kdb.o
SUBDIRS         += kdb
endif

DRIVERS-n :=



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