From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11157 invoked from network); 8 Oct 2004 09:11:27 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 8 Oct 2004 09:11:27 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CFqmc-0006eb-ON for arch-gentoo-mips@lists.gentoo.org; Fri, 08 Oct 2004 09:11:26 +0000 Received: (qmail 5457 invoked by uid 89); 8 Oct 2004 09:11:26 +0000 Mailing-List: contact gentoo-mips-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-mips@lists.gentoo.org X-BeenThere: gentoo-mips@gentoo.org Received: (qmail 31698 invoked from network); 8 Oct 2004 09:11:26 +0000 From: "Nick Silvestro" To: Date: Fri, 8 Oct 2004 19:11:25 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcStFslZYznOZiAbQpCxJQ0AnzZnBw== X-Qmail-Scanner-Message-ID: <109722668766414247@uriel> Subject: [gentoo-mips] Kernel compiling help X-Archives-Salt: a0d2483f-7354-4604-9d42-d03eb19a97b4 X-Archives-Hash: 4ea786ab8a86cb32d76c0aa5f31fd3e0 Message-ID: <20041008091125.xylkng0Fc2uXmQqZiCb0vwumiKwtv6Gzx-GbrB8gr0Q@z> 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