It is currently Wed, 20 Feb 2019 00:23:13 GMT

Author Message
 Problem with 2.2.1 compilation
For a long time now I encountered regularly kernel panics with recent kernels.
Every thing was incredibly stable with 2.1.24.

To make some tests I am trying to compile the kernel 2.2.1 with -O0 option
instead of -O2. Then I got the message :

make[1]: Leaving directory `/mnt/extra2/scratch/linux-pmac/arch/ppc/lib'
ld -T arch/ppc/ -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o
init/main.o init/version.o \
        --start-group \
        arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.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/sound/sound.a drivers/pci/pci.a drivers/macintosh/macintosh.a
drivers/video/video.a \
        /tmp/scratch/linux-pmac/lib/lib.a \
        --end-group \
        -o vmlinux
init/main.o: In function `calibrate_delay':
init/main.o(.text.init+0x608): undefined reference to `__delay'
init/main.o(.text.init+0x6e4): undefined reference to `__delay'
make: *** [vmlinux] Error 1

at the end ... I don't get such a message with -O2 option.

Do I make a mistake somewhere ??? is it not possible to remove optimisation in
kernel building ?

Thanks in advance,
                                 Marc Dejardin

 Mon, 30 Jul 2001 03:00:00 GMT   
   [ 1 post ] 

Similar Threads

1. Problems mit X after Kernel Compilation

2. Problems with 2.0.26 compilation - floppy.c

3. Problems compiling glibc for cross-compilation

4. Cross compilation compilation problems

5. kernel compilation problem

6. ALSA compilation problem

7. beginner: vfat mount problem after kernel 2.4.2 compilation

8. Red Hat 7, Kernel 2.2.16, Compilation Problems

9. Kernel Compilation Problem

10. Kernal compilation problem

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software