From: Alex Pilosov <apilos01@utopia.poly.edu>
To: peter petrakis <peterpan@wn.net>
Cc: axp-list@redhat.com
Subject: Re: need help compiling 2.1.128
Date: Mon, 16 Nov 1998 23:21:38 -0500 (EST) [thread overview]
Message-ID: <Pine.GSO.3.96.981116232106.11428B-100000@utopia.poly.edu> (raw)
In-Reply-To: <18111622555300.05570@fireball.alphaguy.ml.org>
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
>
next prev parent reply other threads:[~1998-11-17 4:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-17 3:57 need help compiling 2.1.128 peter petrakis
1998-11-17 4:21 ` Alex Pilosov [this message]
1998-11-18 3:03 ` borho
1998-11-18 3:09 ` Peter Petrakis
1998-11-18 4:13 ` Charles E Taylor IV
-- strict thread matches above, loose matches on Subject: below --
1998-11-17 5:20 peter petrakis
1998-11-19 2:39 ` Wai-Sun Chia
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox