[suse-axp] ide.c causes compiler problems

From: Andreas Kaulfuß (andreas@kaulfuss.de)
Date: Sat Mar 04 2000 - 16:16:55 PST

  • Next message: Justin Wood: "ARC boot error"

    Message-ID: <001c01bf8638$2a357420$426b60c1@kaulfuss.de>
    From: Andreas Kaulfuß <andreas@kaulfuss.de>
    Date: Sun, 5 Mar 2000 01:16:55 +0100
    Subject: [suse-axp] ide.c causes compiler problems
    

    Hi,
    I have a AXPpci 33 board and I try to compile a new kernel. I updated my system from version 6.1 to 6.3. Although I repeated the installation of the Linux sources, I get the following messages:

    gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-f
    rame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev4 -DEXP
    ORT_SYMTAB -c ide.c
    ide.c: In function `ide_intr':
    ide.c:1554: parse error before `else'
    ide.c:1522: warning: unused variable `startstop'
    ide.c:1520: warning: unused variable `drive'
    ide.c: At top level:
    ide.c:1563: warning: type defaults to `int' in declaration of `drive'
    ide.c:1563: `hwgroup' undeclared here (not in a function)
    ide.c:1563: warning: data definition has no type or storage class
    ide.c:1564: parse error before `if'
    ide.c:1583: parse error before string constant
    ide.c:1583: warning: type defaults to `int' in declaration of `printk'
    ide.c:1583: warning: function declaration isn't a prototype
    ide.c:1583: warning: data definition has no type or storage class
    ide.c:1586: parse error before `&'
    ide.c:1586: warning: type defaults to `int' in declaration of `del_timer'
    ide.c:1586: warning: function declaration isn't a prototype
    ide.c:1586: warning: data definition has no type or storage class
    ide.c:1587: parse error before `void'
    ide.c:1590: warning: type defaults to `int' in declaration of `startstop'
    ide.c:1590: warning: implicit declaration of function `handler'
    ide.c:1590: initializer element is not constant
    ide.c:1590: warning: data definition has no type or storage class
    ide.c:1591: parse error before `void'
    ide.c:1599: parse error before `('
    ide.c:1604: warning: type defaults to `int' in declaration of `ide_do_request'
    ide.c:1604: warning: parameter names (without types) in function declaration
    ide.c:1604: conflicting types for `ide_do_request'
    ide.c:1247: previous declaration of `ide_do_request'
    ide.c:1604: warning: data definition has no type or storage class
    ide.c:1605: parse error before `}'
    ide.c:1609: parse error before `void'
    ide.c: In function `ide_setup':
    ide.c:2933: warning: `drive' might be used uninitialized in this function
    make[3]: *** [ide.o] Error 1
    make[3]: Leaving directory `/usr/src/linux-2.2.13.SuSE/drivers/block'
    make[2]: *** [first_rule] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.2.13.SuSE/drivers/block'
    make[1]: *** [_subdir_block] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.2.13.SuSE/drivers'
    make: *** [_dir_drivers] Error 2

    Any ideas?

    CU,

      Andreas



    This archive was generated by hypermail 2.1.0 : Mon Jun 04 2001 - 04:18:05 PDT