From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10727 invoked from network); 17 Nov 1998 04:21:42 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 17 Nov 1998 04:21:42 -0000 Received: from utopia.poly.edu (apilos01@utopia.poly.edu [128.238.3.21]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id XAA00697 for ; Mon, 16 Nov 1998 23:21:42 -0500 Received: from localhost (apilos01@localhost) by utopia.poly.edu (8.8.8/8.8.8) with SMTP id XAA14852; Mon, 16 Nov 1998 23:21:39 -0500 (EST) Date: Mon, 16 Nov 1998 23:21:38 -0500 (EST) From: Alex Pilosov To: peter petrakis cc: axp-list@redhat.com Subject: Re: need help compiling 2.1.128 In-Reply-To: <18111622555300.05570@fireball.alphaguy.ml.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII It smells like you didn't do 'make clean' after commenting out SMP=1. You _must_ do a clean build after changing SMP setting. On Sun, 9 Sep 48429, peter petrakis wrote: > Hi guys, > Well I grabed the latest kernel so I can get DU netscape running but > I'm having trouble compiling the new kernel. First Problem i solved was when > makeboot failed when It was compiling some parallel port support, I commented > out SMP =1 in the makefile and got past that. Now closer towards the end of the > process I get this below. I thought " well now uncomment smp =1" and do so but > I end up compiing the kerenel all over again! I'm using egcs 1.1b-2 and the > latest binutils from the rawhide dir. Any ideas? Thanks alot. > > Alpha Powered, > Peter Petrakis > > egcs -D__KERNEL__ -I/usr/src/dev-kernel/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -Wa,-m21164a -DBWIO_ENABLED -c -o fp-emul.o fp-emul.c > rm -f math-emu.o > ld -r -o math-emu.o fp-emul.o ieee-math.o > make[2]: Leaving directory `/usr/src/dev-kernel/arch/alpha/math-emu' > make[1]: Leaving directory `/usr/src/dev-kernel/arch/alpha/math-emu' > ld -static -T arch/alpha/vmlinux.lds arch/alpha/kernel/head.o init/main.o init/version.o \ > arch/alpha/kernel/kernel.o arch/alpha/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/alpha/math-emu/math-emu.o \ > fs/filesystems.a \ > net/network.a \ > drivers/block/block.a drivers/char/char.a drivers/misc/misc.a drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/pci/pci.a drivers/video/video.a \ > /usr/src/dev-kernel/arch/alpha/lib/lib.a /usr/src/dev-kernel/lib/lib.a /usr/src/dev-kernel/arch/alpha/lib/lib.a \ > -o vmlinux > init/main.o: In function `root_dev_setup': > main.c(.text+0x128): undefined reference to `kernel_flag' > main.c(.text+0x12c): undefined reference to `spin_lock' > main.c(.text+0x130): undefined reference to `spin_lock' > init/main.o: In function `ramdisk_start_setup': > main.c(.text+0x164): undefined reference to `kernel_flag' > main.c(.text+0x168): undefined reference to `spin_unlock' > main.c(.text+0x16c): undefined reference to `spin_unlock' > init/main.o: In function `smp_init': > main.c(.text.init+0x760): undefined reference to `smp_boot_cpus' > main.c(.text.init+0x764): undefined reference to `smp_boot_cpus' > main.c(.text.init+0x770): undefined reference to `smp_threads_ready' > main.c(.text.init+0x77c): undefined reference to `smp_commence' > main.c(.text.init+0x780): undefined reference to `smp_commence' > init/main.o: In function `start_kernel': > main.c(.text.init+0x7c8): undefined reference to `initialize_secondary' > main.c(.text.init+0x7cc): undefined reference to `initialize_secondary' > main.c(.text.init+0x914): undefined reference to `__global_sti' > main.c(.text.init+0x918): undefined reference to `__global_sti' > main.c(.text.init+0xa2c): undefined reference to `cpu_idle' > main.c(.text.init+0xa30): undefined reference to `cpu_idle' > init/main.o: In function `ramdisk_start_setup': > main.c(.data.init+0x168): undefined reference to `smp_setup' > main.c(.data.init+0x178): undefined reference to `smp_setup' > make: *** [vmlinux] Error 1 > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com >