From: Malcolm Mallardi <magamo@ranka.2y.net>
To: Andrey Panin <pazke@orbita1.ru>, linux-kernel@vger.kernel.org
Subject: [PATCH] arch/mips/kernel/signal.c, still more errors, though.
Date: Thu, 25 Apr 2002 09:03:18 -0400 [thread overview]
Message-ID: <20020425090318.A31172@trianna.upcommand.net> (raw)
In-Reply-To: <20020424145825.A21701@trianna.upcommand.net> <20020425062859.GA2418@pazke.ipt>
On Thu, Apr 25, 2002 at 10:28:59AM +0400, Andrey Panin wrote:
> Hi Malcolm,
>
> for the second problem did you try to add #include <linux/personality.h>
> line in signal.c ?
>
That did indeed fix that build error, so here is the patch for said
fix.
--- linux/arch/mips/kernel/signal.c.orig Thu Apr 25 08:09:15
2002
+++ linux/arch/mips/kernel/signal.c Thu Apr 25 08:02:33 2002
@@ -18,6 +18,7 @@
#include <linux/wait.h>
#include <linux/ptrace.h>
#include <linux/unistd.h>
+#include <linux/personality.h>
#include <asm/asm.h>
#include <asm/bitops.h>
Though I am left with yet another build error during the final linking:
ld -G 0 -static -T arch/mips/ld.script arch/mips/kernel/head.o
arch/mips/kernel/init_task.o init/main.o init/version.o
init/do_mounts.o \
--start-group \
arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o arch/mips/math-emu/fpu_emulator.o
arch/mips/sgi-ip22/ip22-kern.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/sgi/sgi.a drivers/video/video.o \
net/network.o \
arch/mips/lib/lib.a /usr/src/linux-2.4.19-pre7/lib/lib.a
arch/mips/arc/arclib.a \
--end-group \
-o vmlinux
drivers/sgi/sgi.a(sgichar.o): In function `register_serial':
sgichar.o(.text+0x6e14): multiple definition of `register_serial'
drivers/char/char.o(.text+0x1ba70): first defined here
drivers/sgi/sgi.a(sgichar.o): In function `unregister_serial':
sgichar.o(.text+0x6e1c): multiple definition of `unregister_serial'
drivers/char/char.o(.text+0x1bac8): first defined here
arch/mips/kernel/kernel.o: In function `irix_waitsys':
arch/mips/kernel/kernel.o(.text+0xaa90): undefined reference to
`release_task'
make: *** [vmlinux] Error 1
The first part of that error was likely a config snafu (I defined both
standard serial and SGI serial) The second looks like a problem with
Irix binary compatibility, I'm disabling that as well.
Disabling those two things has left me with a compiled kernel.
--
Malcolm D. Mallardi - Dark Freak At Large
"Captain, we are receiving two-hundred eighty-five THOUSAND hails."
AOL: Nuark UIN: 11084092 Y!: Magamo Jabber: Nuark@jabber.com
http://ranka.2y.net:8008/~magamo/index.htm
next prev parent reply other threads:[~2002-04-25 13:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-24 18:58 2.4.19-pre7 MIPS compile errors Malcolm Mallardi
2002-04-25 6:28 ` Andrey Panin
2002-04-25 13:03 ` Malcolm Mallardi [this message]
2002-05-05 7:09 ` Ralf Baechle
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=20020425090318.A31172@trianna.upcommand.net \
--to=magamo@ranka.2y.net \
--cc=linux-kernel@vger.kernel.org \
--cc=pazke@orbita1.ru \
/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