linux-2.3.46 does not compile

From: root (root@ghiro.org)
Date: Sat Feb 19 2000 - 09:22:18 EST

  • Next message: brian-kernel@stech.cx: "sched.h"

    Hello!

    I am trying to compile linux 2.3.46: whatever the configuration it does not
    compile. I had this problem also in version 2.3.43 that I discarded immediately
    waiting for a newer, possibily fixed. However I just downloaded this latest that
    still does not compile.

    Please find below the compile log with the error:

    [root@juppiter linux]# make bzImage
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
    -c -o init/main.o init/main.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686 -
    DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
    make -C kernel
    make[1]: Entering directory `/web/src/linux-2.3.46/kernel'
    make all_targets
    make[2]: Entering directory `/web/src/linux-2.3.46/kernel'
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -DEXPORT_SYMTAB -c signal.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -DEXPORT_SYMTAB -c ksyms.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -DEXPORT_SYMTAB -c pm.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -fno-omit-frame-pointer -c -o sched.o sched.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -c -o dma.o dma.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -c -o fork.o fork.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -c -o exec_domain.o exec_domain.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -c -o panic.o panic.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -c -o printk.o printk.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -c -o sys.o sys.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -c -o module.o module.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -c -o exit.o exit.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -c -o itimer.o itimer.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -c -o info.o info.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -c -o time.o time.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    pes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -c -o softirq.o softirq.c
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototy
    rm -f kernel.o
    ld -m elf_i386 -r -o kernel.o signal.o ksyms.o pm.o sched.o dma.o fork.o exec_domain.o panic.o printk.o sys.o module.o exit.o itimer.o info.o time.o softirq.o resource.o sysctl.o acct.o capability.o ptrace.o timer.o uid16.o
    make[2]: Leaving directory `/web/src/linux-2.3.46/kernel'
    make[1]: Leaving directory `/web/src/linux-2.3.46/kernel'
    make -C drivers
    make[1]: Entering directory `/web/src/linux-2.3.46/drivers'
    make -C block
    make[2]: Entering directory `/web/src/linux-2.3.46/drivers/block'
    make all_targets
    make[3]: Entering directory `/web/src/linux-2.3.46/drivers/block'
    gcc -D__KERNEL__ -I/web/src/linux-2.3.46/include -D__SMP__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686
     -DEXPORT_SYMTAB -c ll_rw_blk.c
    ll_rw_blk.c:237: warning: static declaration for `generic_plug_device' follows non-static
    ll_rw_blk.c: In function `blk_init_queue':
    ll_rw_blk.c:256: structure has no member named `back_merges_fn'
    ll_rw_blk.c: In function `generic_make_request':
    ll_rw_blk.c:682: warning: `__entry' might be used uninitialized in this function
    ll_rw_blk.c:950: warning: `entry' might be used uninitialized in this function
    ll_rw_blk.c:566: warning: `entry' might be used uninitialized in this function
    make[3]: *** [ll_rw_blk.o] Error 1
    make[3]: Leaving directory `/web/src/linux-2.3.46/drivers/block'
    make[2]: *** [first_rule] Error 2
    make[2]: Leaving directory `/web/src/linux-2.3.46/drivers/block'
    make[1]: *** [_subdir_block] Error 2
    make[1]: Leaving directory `/web/src/linux-2.3.46/drivers'
    make: *** [_dir_drivers] Error 2
    [root@juppiter linux]#

    I hope this is of help.
    Best regards,

    Mauro Mozzarelli
    mauro@btinternet.com

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Feb 19 2000 - 09:32:12 EST