Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-mips
Navigation:
Lists: gentoo-mips: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: <gentoo-mips@g.o>
From: "Nick Silvestro" <nicko2k@...>
Subject: Kernel compiling help
Date: Fri, 8 Oct 2004 19:11:25 +1000
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@g.o mailing list

Navigation:
Lists: gentoo-mips: < Prev By Thread Next > < Prev By Date Next >
Next by thread:
Re:
Next by date:
Re:


Updated Jun 17, 2009

Summary: Archive of the gentoo-mips mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.