[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: need help compiling 2.1.128



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
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []