public inbox for gentoo-mips@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nick Silvestro" <nicko2k@ennkayohh.net>
To: <gentoo-mips@lists.gentoo.org>
Subject: [gentoo-mips] Kernel compiling help
Date: Fri, 8 Oct 2004 19:11:25 +1000	[thread overview]
Message-ID: <20041008091125.HtSZpnBnY9WVLrBTj8_zNUekahww01hsm7n0vhfoqrg@z> (raw)

I've run into some trouble whilst installing gentoo onto my cobalt qube2,
during compilation of the kernel
It gets up to linking vmlinux and gives me some multiple definition errors
in arch/mips/lib/lib.a

If anyone can suggest anything to try it'd be corking :)

Following is a copy of the erroring section of the 'make vmlinux' step

make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.27-20040814/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -I /usr/src/linux-2.4.27-20040814/include/asm/gcc -G 0
-mno-abicalls -fno-pic -pipe  -finline-limit=100000 -mabi=32 -march=r5000
-Wa,-32 -Wa,-march=r5000 -Wa,-mips4 -Wa,--trap " -C  arch/mips/lib
make[1]: Entering directory `/usr/src/linux-2.4.27-20040814/arch/mips/lib'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.27-20040814/arch/mips/lib'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/usr/src/linux-2.4.27-20040814/arch/mips/lib'
make[1]: Leaving directory `/usr/src/linux-2.4.27-20040814/arch/mips/lib'
ld -G 0 -static -m elf32ltsmip -n -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/pci/pci-core.o
arch/mips/cobalt/cobalt.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/sound/sounddrivers.o drivers/pci/driver.o
drivers/video/video.o drivers/media/media.o \
        net/network.o \
        arch/mips/lib/lib.a /usr/src/linux-2.4.27-20040814/lib/lib.a \
        --end-group \
        -o vmlinux
arch/mips/lib/lib.a(rtc-no.o)(.kstrtab+0x0): multiple definition of
`__kstrtab_rtc_ops'
arch/mips/lib/lib.a(rtc-std.o)(.kstrtab+0x0): first defined here
arch/mips/lib/lib.a(rtc-no.o)(__ksymtab+0x0): multiple definition of
`__ksymtab_rtc_ops'
arch/mips/lib/lib.a(rtc-std.o)(__ksymtab+0x0): first defined here
drivers/char/char.o(.text+0x16ca0): In function `setkeycode':
: undefined reference to `kbd_setkeycode'
drivers/char/char.o(.text+0x16cbc): In function `getkeycode':
: undefined reference to `kbd_getkeycode'
drivers/char/char.o(.text+0x16d74): In function `handle_scancode':
: undefined reference to `kbd_translate'
drivers/char/char.o(.text+0x17000): In function `handle_scancode':
: undefined reference to `kbd_unexpected_up'
drivers/char/char.o(.text+0x17fe8): In function `kbd_bh':
: undefined reference to `kbd_leds'
drivers/char/char.o(.text.init+0x120c): In function `kbd_init':
: undefined reference to `kbd_init_hw'
make: *** [vmlinux] Error 1
gentoo-mips-20040426 linux-2.4.27-20040814 # 

 

Thanks,
Nick Silvestro
a.k.a nicko2k
www.ennkayohh.net


--
gentoo-mips@gentoo.org mailing list


             reply	other threads:[~2004-10-08  9:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-08  9:11 Nick Silvestro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-10-08  9:11 [gentoo-mips] Kernel compiling help Nick Silvestro
2004-10-08  9:11 Nick Silvestro
2004-10-08  9:11 Nick Silvestro
2004-10-08  9:11 Nick Silvestro
2004-10-08  9:11 Nick Silvestro
2004-10-08  9:11 Nick Silvestro
2004-10-08  9:11 Nick Silvestro
2004-10-08  9:11 Nick Silvestro
2004-10-08  9:11 Nick Silvestro
2004-10-08  9:11 Nick Silvestro
2004-10-08  9:11 Nick Silvestro
2004-10-08  9:11 Nick Silvestro

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=20041008091125.HtSZpnBnY9WVLrBTj8_zNUekahww01hsm7n0vhfoqrg@z \
    --to=nicko2k@ennkayohh.net \
    --cc=gentoo-mips@lists.gentoo.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