Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* need help compiling 2.1.128
@ 1998-11-17  3:57 peter petrakis
  1998-11-17  4:21 ` Alex Pilosov
  1998-11-18  3:03 ` borho
  0 siblings, 2 replies; 7+ messages in thread
From: peter petrakis @ 1998-11-17  3:57 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: need help compiling 2.1.128
@ 1998-11-17  5:20 peter petrakis
  1998-11-19  2:39 ` Wai-Sun Chia
  0 siblings, 1 reply; 7+ messages in thread
From: peter petrakis @ 1998-11-17  5:20 UTC (permalink / raw)
  To: axp-list

It worked! I wouldn't have though of that. Thanks1 i'm rebooting now. I hope DU
netscape works <fingers crossed> ....

Alpha Powered ,
Peter Petrakis

>It smells like you didn't do 'make clean' after commenting out SMP=1.
>You _must_ do a clean build after changing SMP setting. 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-11-19  2:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-17  3:57 need help compiling 2.1.128 peter petrakis
1998-11-17  4:21 ` Alex Pilosov
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox