From: "J . A . Magallon" <jamagallon@able.es>
To: MATSUSHIMA Akihiro <amatsus@jaist.ac.jp>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] Re: Can't compile 2.4.2-ac14
Date: Thu, 8 Mar 2001 01:58:24 +0100 [thread overview]
Message-ID: <20010308015824.C1158@werewolf.able.es> (raw)
In-Reply-To: <20010308091307Z.amatsus@jaist.ac.jp>
In-Reply-To: <20010308091307Z.amatsus@jaist.ac.jp>; from amatsus@jaist.ac.jp on Thu, Mar 08, 2001 at 01:13:07 +0100
On 03.08 MATSUSHIMA Akihiro wrote:
> Hello,
> I receive the following error with make bzImage:
>
> i386_ksyms.c:170: `do_BUG' undeclared here (not in a function)
> i386_ksyms.c:170: initializer element is not constant
> i386_ksyms.c:170: (near initialization for `__ksymtab_do_BUG.value')
> make[1]: *** [i386_ksyms.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.2-ac14/arch/i386/kernel'
> make: *** [_dir_arch/i386/kernel] Error 2
>
Try this:
--- linux-2.4.2-ac14/arch/i386/mm/fault.c.orig Thu Mar 8 01:26:47 2001
+++ linux-2.4.2-ac14/arch/i386/mm/fault.c Thu Mar 8 01:27:10 2001
@@ -110,11 +110,13 @@
}
}
+#ifdef CONFIG_DEBUG_BUGVERBOSE
void do_BUG(const char *file, int line)
{
bust_spinlocks(1);
printk("kernel BUG at %s:%d!\n", file, line);
}
+#endif
asmlinkage void do_invalid_op(struct pt_regs *, unsigned long);
extern unsigned long idt;
--- linux-2.4.2-ac14/arch/i386/kernel/i386_ksyms.c.orig Thu Mar 8
01:27:56 2001
+++ linux-2.4.2-ac14/arch/i386/kernel/i386_ksyms.c Thu Mar 8 01:28:13
2001
@@ -167,5 +167,7 @@
EXPORT_SYMBOL(empty_zero_page);
#endif
+#ifdef CONFIG_DEBUG_BUGVERBOSE
EXPORT_SYMBOL(do_BUG);
+#endif
--
J.A. Magallon $> cd pub
mailto:jamagallon@able.es $> more beer
Linux werewolf 2.4.2-ac13 #3 SMP Wed Mar 7 00:09:17 CET 2001 i686
next prev parent reply other threads:[~2001-03-08 0:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-08 0:13 MATSUSHIMA Akihiro
2001-03-08 0:47 ` Alan Cox
2001-03-08 0:58 ` J . A . Magallon [this message]
2001-03-08 1:08 ` [PATCH] " Andrew Morton
2001-03-08 18:26 ` Hugh Dickins
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=20010308015824.C1158@werewolf.able.es \
--to=jamagallon@able.es \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=amatsus@jaist.ac.jp \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®