linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Philipp Matthias Hahn <pmhahn@titan.lahn.de>
To: Gregory Ade <gkade@bigbrother.net>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"David S. Miller" <davem@redhat.com>
Subject: [PATCH] Re: 2.4.8 compile error on sparc
Date: Mon, 13 Aug 2001 08:27:22 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.33.0108130822270.4372-100000@titan.lahn.de> (raw)
In-Reply-To: <Pine.LNX.4.31.0108121651250.8416-100000@tigger.unnerving.org>

On Sun, 12 Aug 2001, Gregory Ade wrote:

> Hello.  Just downloaded linux-2.4.8.tar.bz2 and tried to build it on my
> SPARCstation 5 running SuSE Linux 7.1 for sparc.
...
> extable.c:60: `modlist_lock' undeclared (first use in this function)
> make[2]: Leaving directory `/usr/src/linux-2.4.8/arch/sparc/mm'

Apply this patch which is from sparc64:

--- linux-2.4.8/arch/sparc/mm/extable.c~	Fri Aug 10 19:57:54 2001
+++ linux-2.4.8/arch/sparc/mm/extable.c	Mon Aug 13 08:22:54 2001
@@ -43,6 +43,8 @@
         return 0;
 }

+extern spinlock_t modlist_lock;
+
 unsigned long
 search_exception_table(unsigned long addr, unsigned long *g2)
 {


After that I still get undefined .udiv/.umul symbols from depmod? Somebody
said it was a bug in depmod, but I hadn't had the time to check if it
boots.

BYtE
Philipp
-- 
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ pmhahn@titan.lahn.de


  reply	other threads:[~2001-08-13  7:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-13  0:01 2.4.8 compile error on sparc Gregory Ade
2001-08-13  6:27 ` Philipp Matthias Hahn [this message]
2001-08-13  7:29 ` [PATCH] " David S. Miller

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=Pine.LNX.4.33.0108130822270.4372-100000@titan.lahn.de \
    --to=pmhahn@titan.lahn.de \
    --cc=davem@redhat.com \
    --cc=gkade@bigbrother.net \
    --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;
as well as URLs for NNTP newsgroup(s).