compiling error (cs:3.2.8 / linux:2.6.10-rc3)

Mr. Parity
2004-12-24
2013-04-08
  • Mr. Parity
    Mr. Parity
    2004-12-24

    hi ho :-),

    while compiling i got the following error messages. i don't know if it is a kernel problem or a pcmcia-cs error:

    error message:
    cc  -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I/usr/src/linux/include -I../include -I../modules   ide_info.c   -o ide_info
    In file included from /usr/src/linux/include/linux/hdreg.h:4,
                     from ide_info.c:45:
    /usr/src/linux/include/linux/ata.h:197: error: parse error before "u32"
    /usr/src/linux/include/linux/ata.h:197: warning: no semicolon at end of struct or union
    /usr/src/linux/include/linux/ata.h:198: warning: type defaults to `int' in declaration of `flags_len'
    /usr/src/linux/include/linux/ata.h:198: warning: data definition has no type or storage class
    /usr/src/linux/include/linux/ata.h:204: error: parse error before "u8"
    /usr/src/linux/include/linux/ata.h:204: warning: no semicolon at end of struct or union
    /usr/src/linux/include/linux/ata.h:206: warning: type defaults to `int' in declaration of `ctl'
    /usr/src/linux/include/linux/ata.h:206: warning: data definition has no type or storage class
    /usr/src/linux/include/linux/ata.h:208: error: parse error before "hob_feature"
    /usr/src/linux/include/linux/ata.h:208: warning: type defaults to `int' in declaration of `hob_feature'
    /usr/src/linux/include/linux/ata.h:208: warning: data definition has no type or storage class
    /usr/src/linux/include/linux/ata.h:209: error: parse error before "hob_nsect"
    /usr/src/linux/include/linux/ata.h:209: warning: type defaults to `int' in declaration of `hob_nsect'
    /usr/src/linux/include/linux/ata.h:209: warning: data definition has no type or storage class
    /usr/src/linux/include/linux/ata.h:210: error: parse error before "hob_lbal"
    /usr/src/linux/include/linux/ata.h:210: warning: type defaults to `int' in declaration of `hob_lbal'
    /usr/src/linux/include/linux/ata.h:210: warning: data definition has no type or storage class
    /usr/src/linux/include/linux/ata.h:211: error: parse error before "hob_lbam"
    [...]

    i use the following config:
    Kernel configuration options:
        Kernel-tree PCMCIA support is enabled.
        Symmetric multiprocessing support is disabled.
        Preemptive kernel support is disabled.
        Realtime Hardware Abstraction Layer is disabled.
        High memory support is disabled.
        PCI BIOS support is enabled.
        Power management (APM) support is enabled.
        SCSI support is disabled.
        IEEE 1394 (FireWire) support is disabled.
        Networking support is enabled.
         Radio network interface support is enabled.
         Token Ring device support is disabled.
         Fast switching is disabled.
         Frame Diverter is disabled.
        Module version checking is disabled.
        Kernel debugging support is disabled.
        /proc filesystem support is enabled.
        PAE support is disabled.

    any idea?
    thank you,
    patrick