* 2.4.8 compile error on sparc
@ 2001-08-13 0:01 Gregory Ade
2001-08-13 6:27 ` [PATCH] " Philipp Matthias Hahn
0 siblings, 1 reply; 3+ messages in thread
From: Gregory Ade @ 2001-08-13 0:01 UTC (permalink / raw)
To: linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
during the build (started with "make dep && make vmlinux && make
modules"), it dies with the following messages:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 -c -o extable.o extable.c
extable.c: In function `search_exception_table':
extable.c:60: `modlist_lock' undeclared (first use in this function)
extable.c:60: (Each undeclared identifier is reported only once
extable.c:60: for each function it appears in.)
make[2]: *** [extable.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.8/arch/sparc/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.8/arch/sparc/mm'
make: *** [_dir_arch/sparc/mm] Error 2
Are there sparc-specific patches that I need to hunt down still? I was
under the impression everything's been merged.
Checking the versions of my installed software against the versions
required as listed in /usr/src/linux/Documents/Changes, everything seems
up-to-date. I was attempting a fairly all-inclusive build, heavy on the
modules wherever possible, so as to support all my sparcstations with one
build.
Any help is appreciated.
- --
+---------------------------------------------------------------------------+
| Gregory K. Ade <gkade@bigbrother.net> | http://bigbrother.net/~gkade |
+---------------------------------------------------------------------------+
| GnuPG Key Fingerprint: F4FC CC7D 613D BDBF 5365 E3D0 7905 0460 EAF4 844B |
+---------------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7dxjJeQUEYOr0hEsRAuPdAJ99C9w+slux5ygWRYyUttqMWIoeSACfZ9oc
fkJxF7OrkRGQQ26z7UuPziY=
=ronf
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] Re: 2.4.8 compile error on sparc
2001-08-13 0:01 2.4.8 compile error on sparc Gregory Ade
@ 2001-08-13 6:27 ` Philipp Matthias Hahn
2001-08-13 7:29 ` David S. Miller
0 siblings, 1 reply; 3+ messages in thread
From: Philipp Matthias Hahn @ 2001-08-13 6:27 UTC (permalink / raw)
To: Gregory Ade; +Cc: Linux Kernel Mailing List, David S. Miller
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] Re: 2.4.8 compile error on sparc
2001-08-13 6:27 ` [PATCH] " Philipp Matthias Hahn
@ 2001-08-13 7:29 ` David S. Miller
0 siblings, 0 replies; 3+ messages in thread
From: David S. Miller @ 2001-08-13 7:29 UTC (permalink / raw)
To: pmhahn; +Cc: gkade, linux-kernel
From: Philipp Matthias Hahn <pmhahn@titan.lahn.de>
Date: Mon, 13 Aug 2001 08:27:22 +0200 (CEST)
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
Already in 2.4.9-pre1, but that won't build for other reasons :-)
Later,
David S. Miller
davem@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-08-13 7:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-13 0:01 2.4.8 compile error on sparc Gregory Ade
2001-08-13 6:27 ` [PATCH] " Philipp Matthias Hahn
2001-08-13 7:29 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox