Re: compile error for 2.4 test3

From: Alexander V. Nikolaev (avn@spylog.com)
Date: Fri Jul 14 2000 - 03:52:08 EDT

  • Next message: Barry K. Nathan: "Re: parport problem & 2.4.0-test4"

    On Thu, 13 Jul 2000, kmb wrote:

    > Pollywog wrote:
    >
    > > I tried to compile this kernel but I got this error:
    > >
    > > rame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
    > > -fno-strict-aliasing -c -o acct.o acct.c
    > > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    > > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
    > > -fno-strict-aliasing -c -o capability.o capability.c
    > > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    > > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
    > > -fno-strict-aliasing -c -o ptrace.o ptrace.c
    > > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    > > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
    > > -fno-strict-aliasing -c -o timer.o timer.c
    > > timer.c: In function `update_process_times':
    > > timer.c:580: structure has no member named `priority'
    > > timer.c:580: `DEF_PRIORITY' undeclared (first use in this function)
    > > timer.c:580: (Each undeclared identifier is reported only once
    > > timer.c:580: for each function it appears in.)
    > > make[3]: *** [timer.o] Error 1
    > > make[3]: Leaving directory `/usr/src/linux-2.4.0-test3/kernel'
    > > make[2]: *** [first_rule] Error 2
    > >
    > >
    > >
    >
    > Patch test4-pre4 fixes this and kills make xconfig, then because of SYBA
    > vendor id ,which someone just mentioned but didn't provide a fix for(I turned
    > pci vendor id off using make config to no avail),I get this:
    >
    > parport_pc.c:2482: `PCI_VENDOR_ID_SYBA' undeclared here (not in a function)
    > parport_pc.c:2482: initializer element is not constant
    > parport_pc.c:2482: (near initialization for `parport_pc_pci_tbl[49].vendor')
    > parport_pc.c:2482: `PCI_DEVICE_ID_SYBA_2P_EPP' undeclared here (not in a
    > function)
    > parport_pc.c:2482: initializer element is not constant
    > parport_pc.c:2482: (near initialization for `parport_pc_pci_tbl[49].device')
    > parport_pc.c:2484: `PCI_VENDOR_ID_SYBA' undeclared here (not in a function)
    > parport_pc.c:2484: initializer element is not constant
    > parport_pc.c:2484: (near initialization for `parport_pc_pci_tbl[50].vendor')
    > parport_pc.c:2484: `PCI_DEVICE_ID_SYBA_1P_ECP' undeclared here (not in a
    > function)
    > parport_pc.c:2484: initializer element is not constant
    > parport_pc.c:2484: (near initialization for `parport_pc_pci_tbl[50].device')
    > make[3]: *** [parport_pc.o] Error 1
    > make[3]: Leaving directory `/extra3/kernels/linux/drivers/parport'
    > make[2]: *** [first_rule] Error 2
    > make[2]: Leaving directory `/extra3/kernels/linux/drivers/parport'
    > make[1]: *** [_subdir_parport] Error 2
    > make[1]: Leaving directory `/extra3/kernels/linux/drivers'
    > make: *** [_dir_drivers] Error 2
    > [root@localhost linux]#
    I am also have some error messages about missing fileds.

    gcc -D__KERNEL__ -I/home/avn/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -pipe -march=i686 -fno-strict-aliasing
    -DEXPORT_SYMTAB -c md.cmd.c: In function `md_thread':
    md.c:2911: structure has no member named `priority'
    md.c: In function `md_do_sync':
    md.c:3339: structure has no member named `priority'
    md.c:3415: structure has no member named `priority'
    md.c:3425: structure has no member named `priority'
    make[3]: *** [md.o] Error 1
    make[3]: Leaving directory `/home/avn/linux/drivers/block'
    make[2]: *** [first_rule] Error 2
    make[2]: Leaving directory `/home/avn/linux/drivers/block'
    make[1]: *** [_subdir_block] Error 2
    make[1]: Leaving directory `/home/avn/linux/drivers'
    make: *** [_dir_drivers] Error 2
    [root@mars linux]#

    -- 
    With best regards 
                 Alexander V. Nikolaev
    	System administrator of spylog.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 : Fri Jul 14 2000 - 03:51:10 EDT